General information
Category:
Forms & Form designer
Title:
How to programmatically select a docked tab
Please ignore this post, I have the problem resolved!
Hi,
I have these 2 lines in my startup routine of VFP9
uIDEWinUP()
_oToolBox.Show()
The former brings up "Properties window", "ToolBox" and "Code reference" then tab-dock them to the left edge of the screen.
I then intend to use _oToolBox.Show() such that after all the 3 are docked (as a group), the middle tab, that is the toolbox will be brought to the front.
_oToolBox.Show() works if I type it in the command window, it is like I click the Toolbox tab to activate it.
But in the startup routine, I always have properties window in front even though I have added the line _oToolBox.Show(), it seems that it does nothing!
What I am missing, why it works in command window but not in the procedure code?
Any clue?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only