Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Errors on adding some component to library
Thu, Mar 26 2020 8:25 PMPermanent Link

StewCam

I tried to add various components from these forums to the client library in EWB3. These are the same components that I currently use in EWB2. In EWB3 I had no problem adding the following components:

* ScrollPanelMobile
* Slider
* Switch

However, I was unable to add several others. I have updated the search paths and used the same parameters to add components that work with EWB2. The following components do not work in EWB3 due to the errors listed:

* CaptionPanel.wbs - Duplicate declarations Background, Border, Corners, InsetShadow, OutsetShadow, Padding
* PanelEx.wbs - Duplicate declarations Background, Border, Corners, InsetShadow, OutsetShadow, Padding
* RadioGroup.wbs - Duplicate declaration OutsetShadow
* Shapes.wbs - The k declaration was not referenced
Thu, Mar 26 2020 9:28 PMPermanent Link

StewCam

Addit - I am running EWB3 build 7
Fri, Mar 27 2020 2:16 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< I tried to add various components from these forums to the client library in EWB3. These are the same components that I currently use in EWB2. In EWB3 I had no problem adding the following components: >>

There's no guarantee that any prior EWB 2 components/controls will work un-modified with EWB 3, primarily due to the way that the class scope handling has been changed.

However, as a test I just installed the TCaptionPanel control that I have locally, and it worked fine.  I've attached it, so please give it a try and see what you get.  If you still get an error, then most likely this is due to a compiler issue that is already fixed for build 8.

Tim Young
Elevate Software
www.elevatesoft.com



Attachments: CaptionPanel.wbs
Sun, Apr 12 2020 7:35 AMPermanent Link

StewCam

Tim Young [Elevate Software] wrote:

<< However, as a test I just installed the TCaptionPanel control that I have locally, and it worked fine.  I've attached it, so please give it a try and see what you get.  If you still get an error, then most likely this is due to a compiler issue that is already fixed for build 8. >>

Thanks. The version of TCaptionPanel that you sent was slightly different from the one I had. By comparison, I realised that I had duplicate declarations in the protected section of the unit. This also applied to the TPanelEx component. TRadioGroup had a duplicate declaration in the published section. These duplicates pass without error in EWB2.

All components working now in EWB3 build 8.
Mon, Apr 13 2020 2:30 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< Thanks. The version of TCaptionPanel that you sent was slightly different from the one I had. By comparison, I realised that I had duplicate declarations in the protected section of the unit. This also applied to the TPanelEx component. TRadioGroup had a duplicate declaration in the published section. These duplicates pass without error in EWB2. >>

Yep, the compiler in EWB 2 was a little less robust, and had some weird edge cases like this.  This is one of several reasons why it needed an overhaul.

<< All components working now in EWB3 build 8. >>

Beautiful, thanks !

Tim Young
Elevate Software
www.elevatesoft.com
Image