IonicWind Software

IWBasic => IWB 2.5 Beta => The BoneYard => IWB 2.5 beta Development => Topic started by: LarryMc on May 16, 2013, 04:19:24 PM

Title: Info Only Update 05-16-2013
Post by: LarryMc on May 16, 2013, 04:19:24 PM
While working on the button portion of the help file I rediscovered an inconsistency between the names given to controls and the constants identifying them.  I say rediscovered because Bruce or someone elese had questioned me about it previously.

There are 3 types of buttons: @SYSBUTTON, @BUTTON, and @RGNBUTTON

If you go to the Form Editor and mouse your mouse over the 3 buttons in the control pallet you will see:
Button, Color Button, and Rgn Button tooltips.

If you create each control and then generate the source code you will find that the naming pattern of ID constants and captions is consistent with the tooltip names.

The problem is that there is no Color Button; it is really the @BUTTON and the tooltip that says Button is really identifying the @SYSBUTTON.

I have revised the tooltips to correctly identify the 3 buttons and changed the code generation code to create text and constants that accurately identify the button types.

The changes will be in the next beta release.
Title: Re: Info Only Update 05-16-2013
Post by: LarryMc on May 16, 2013, 05:56:48 PM
Before: Select Button and you get SysButton
           Select ClrButton and you get Button
           Select RgnButton and you get RgnButton

Revised: Select SysButton and you get SysButton
             Select Button and you get Button
             Select RgnButton and you get RgnButton

SysButton allows XP themes
Button allows colors
RgnButton allows user defined shapes with colors.
Title: Re: Info Only Update 05-16-2013
Post by: GWS on May 17, 2013, 12:24:01 AM
 ;D  Sounds like a good plan .. ;D

Graham