PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Mark Strickland on January 16, 2006, 03:07:30 PM

Title: FYI - Option Buttons and TabStops
Post by: Mark Strickland on January 16, 2006, 03:07:30 PM
It appears to me that the WS_TABSTOP property at DESIGN TIME on OPTION BUTTONS is ignored.

I worked around the problem by setting it myself like:


   SETWINDOWLONG HWND_FormDDinfoEdit_OPTION1, %GWL_STYLE, _
               GETWINDOWLONG(HWND_FormDDinfoEdit_OPTION1, %GWL_STYLE) AND (NOT %ws_tabstop)



You might want to make sure the same thing does not find it's way into V3.

Thanks.
Title: FYI - Option Buttons and TabStops
Post by: Roger Garstang on January 16, 2006, 03:16:29 PM
Tabbing only goes to the option group, not each option...for that you need arrow keys, etc.  Tabbing to each option is a Checkbox.  Radio Buttons are treated as a group and exclusive of each other.
Title: Radio Button TabStops
Post by: Mark Strickland on January 16, 2006, 04:03:31 PM
I wanted to turn off TabStops completely for this group of buttons and I could not do it at design time on either the buttons or the frame around the buttons.  Even if TabStops is NOT checked in the control properties the group is a TabStop.

Am I missing something?
Title: FYI - Option Buttons and TabStops
Post by: Roger Garstang on January 16, 2006, 04:09:51 PM
Oh, ok...I was thinking you meant the other way around.  I see what you mean now.  Could be a glitch in the code assigning the option groups.  Not sure what he checks there, but there may need to be a window to select if the group itself has tabstop since if one option button has it and another doesn't then it would create problems.
Title: FYI - Option Buttons and TabStops
Post by: TechSupport on January 16, 2006, 04:43:50 PM
Thanks Mark, I have noted your findings in the bug tracker and I will build any necessary fixes into the version 3 code generator.

Thanks!