Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to programmatically select a docked tab
Message
From
31/12/2007 06:08:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
How to programmatically select a docked tab
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01278587
Message ID:
01278587
Views:
62
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
Map
View

Click here to load this message in the networking platform