FYI - Option Buttons and TabStops

Started by Mark Strickland, January 16, 2006, 03:07:30 PM

Previous topic - Next topic

Mark Strickland

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.

Roger Garstang

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.

Mark Strickland

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?

Roger Garstang

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.

TechSupport

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!