Upcoming Games

(UTC times)


Full list
Add a game

Upcoming Events

No events to display

Options Tab Dialog Issue

You are here: Home > Forum > General > General questions, comments, and issues > Options Tab Dialog Issue

Page 1 of 1

Options Tab Dialog Issue 04/04/2011 at 12:33 #2762
taffy
Avatar
28 posts
Geoff

Not sure if this has been reported, however I noticed that in the two newly released Sim, there appears to be a problem with the TabControl and its TabIndex.

When first opening the Option dialog, whilst TabIndex 0 appears to have focus, its the contents of TabIndex 4 (Failure) that is shown. Clicking on the General tab will then display its contents. After this then the last tab selected will display the next time the dialog is opened, albeit with the focus still set to General (TabIndex 0).

I presume this is possibly something associated with the latest core code inprovements.

Hope this help

Martin

Log in to reply
Options Tab Dialog Issue 04/04/2011 at 12:33 #14764
taffy
Avatar
28 posts
Geoff

Not sure if this has been reported, however I noticed that in the two newly released Sim, there appears to be a problem with the TabControl and its TabIndex.

When first opening the Option dialog, whilst TabIndex 0 appears to have focus, its the contents of TabIndex 4 (Failure) that is shown. Clicking on the General tab will then display its contents. After this then the last tab selected will display the next time the dialog is opened, albeit with the focus still set to General (TabIndex 0).

I presume this is possibly something associated with the latest core code inprovements.

Hope this help

Martin

Log in to reply
Options Tab Dialog Issue 04/04/2011 at 13:06 #14766
Albert
Avatar
1315 posts
TabIndex is the order that buttons are 'highlighted' when pressing the Tab key, it has nothing to do with the tabs like those in the F3 window (at least in .NET, I don't know about Delphi as I've never used that language).
AJP in games
Log in to reply
Options Tab Dialog Issue 04/04/2011 at 13:19 #14767
taffy
Avatar
28 posts
In Delphi TabIndex is used to associate the individual tabs in the TabControl component, during design time a programmer can set the TabIndex that will appear by default when the TabControl is invoked, which in this case is TabIndex 4.

Never used .NET, so I am unable to comment on how it reference tabs, although is sounds similar to Tab Index in Access and Visual Basic which as you say set the order of focus each time the tab key on the keyboard is pressed. It should be noted that this item is actually two words as opposed to the Delphi single word TabIndex, which basically provided a Integer Index for the Tabs in the Tabbed dialog.
Martin

Log in to reply
Options Tab Dialog Issue 04/04/2011 at 13:43 #14769
Peter Bennet
Avatar
5402 posts
Has since been fixed thanks.

Peter

I identify as half man half biscuit - crumbs!
Log in to reply
Options Tab Dialog Issue 05/04/2011 at 10:06 #14808
Albert
Avatar
1315 posts
taffy said:
It should be noted that this item is actually two words as opposed to the Delphi single word TabIndex,

It's also a single word in Visual Studio .NET 2005: http://msdn.microsoft.com/en-us/library/system.windows.forms.control.tabindex(v=VS.80).aspx. The 'Properties' box of the designer uses also the name TabIndex.

AJP in games
Log in to reply
Options Tab Dialog Issue 05/04/2011 at 11:44 #14812
taffy
Avatar
28 posts
Thanks for that Albert

Martin

Log in to reply