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.
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.
;D Sounds like a good plan .. ;D
Graham