Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 13 of 13 total
Thread EWB 2.01 First Observations / Funnies
Thu, Aug 27 2015 11:10 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mark,

The Layout.Overflow issue is now fixed for 2.01 B2 (caught it just in time).

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Aug 27 2015 11:17 AMPermanent Link

Mark Brooks

Slikware

Avatar

Tim


<< TDateEditComboBox - does not appear to support UK date format >>
>>The control uses the standard DateToStr/StrToDate functionality, so it should work as expected.


I needed to set FormatSettings.ShortDateFormat = 'dd/MM/yyyy' to get this working. Fine now.


<< TButton - the new Icon property does not display the icon even though the button seems to resize to cater for it >>
>>Are you sure that the icon is set properly (and is white or some other color that can be seen) ?


I think this is because my previous "tweaked" version of the TButton interface doesn't have the new icon element in it? Since I'm using this in preference to the new one (via the compiler path) I guess it causes an issue?


<< TMenu - the Autosize property for a menu item does not take into account an icon set for the menu item >>
>>That's as-designed - it uses the caption for auto-setting the height, not the icon.


I wonder if this might be a little restrictive by limiting the icon sizes that can be used?


<< Interfaces - I have an EWB 2.00 project that had some customised interfaces. I placed these in a separate folder and added its path to the Environment Options, ahead of the standard interfaces path. EWB 2.01 is not picking them up. >>
>> I just tested this and it seems to work fine here, so I've got to do another "are you sure ?". Smile


See response above re: interfaces. I guess my changes are not compatible with some of the new stuff?


<< Overflow - Try as I might, with the simplest of projects, I cannot get this to work e.g. drop basic panel 1 and set to lpTopLeft and lcRight, then drop basic panel 2 and set to lpTopLeft and lcRight, then set basis panel 2 loBottom and it overflows immediately, even though there is room for it to the right of basic panel 1? >>
>> I just tried this, and yes, I'm seeing this also.  Give me a few minutes to figure out what's going on...


No worries


Mark
Thu, Aug 27 2015 11:30 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mark,

<< I needed to set FormatSettings.ShortDateFormat = 'dd/MM/yyyy' to get this working. Fine now. >>

Cool, I'm glad it's working okay.

<< I think this is because my previous "tweaked" version of the TButton interface doesn't have the new icon element in it? >>

Ahh, yes, that would be the reason.  Just be sure to add an Icon element in the same manner as the new TButton control interface, and you should be all set.

I'm going to need to come up with a better way of integrating such changes into existing interfaces....

<< I wonder if this might be a little restrictive by limiting the icon sizes that can be used? >>

The issue is how to "measure" an icon efficiently.  The only way to do so currently is to do a background load on the icon image into an image element and then grab its width, height.  So, for now, I just use the Caption.

Just to note: you can still change the height for each item manually by turning off the AutoHeight property.  

<< See response above re: interfaces. I guess my changes are not compatible with some of the new stuff? >>

For the TButton, yes, but that will just mean that the icon doesn't show.  For anything else, I'd have to know which control you're referring to before I could comment further.

Tim Young
Elevate Software
www.elevatesoft.com
Previous PagePage 2 of 2
Jump to Page:  1 2
Image