PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Roger Garstang on July 29, 2004, 04:21:05 AM

Title: OptionButton Group Tab Order
Post by: Roger Garstang on July 29, 2004, 04:21:05 AM
I can't seem to get my Tab Order to stick for my Option Button Groups.  I set them and when I Save or Compile then reopen the Tab Order it has been moved and in the Compiled Application Tab never gets to the Option Buttons???
Title: OptionButton Group Tab Order
Post by: Roger Garstang on July 29, 2004, 04:33:03 AM
Update:

Still can't get it to save the Tab Order...it seems to move it to a certain spot in the list, but in the generated code it always puts them at the end.  I managed to get it to tab to them (In the wrong order) by setting one of them to Checked...it appears they don't exist to windows until one of them is checked, but I can't get it to save the order???  Also when this is fixed you'll have to remember to set the WS_GROUP style for the control following the group in the tab order which could make a mess if the next control is an option button...

I noticed your IF THEN ELSE for handling Up and Down keys is more complex than it needs to be too.  You check for if the control is an option button, then if it is not, then ELSE...both else and is not do the same thing and could be combined into just ELSE.
Title: OptionButton Group Tab Order
Post by: TechSupport on July 30, 2004, 12:50:44 PM
Thanks Roger. I have made a note of your observation and I will look into it.

:thumbsup: