Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving position of docked toolbar
Message
From
27/10/2003 23:20:50
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Moving position of docked toolbar
Miscellaneous
Thread ID:
00843368
Message ID:
00843368
Views:
55
Is there a command which will move a docked toolbar to the left most available position.

I have a situation where I create a new toolbar, and then make the existing one not visible. When I release the new toolbar and make the old one visible it has moved to the right as if the released toolbar was still there.

eg
otbnew= createobject('tbnew')
otbnew.dock(0)
otbnew.visible = .T.
tbold.visible = .F.
* this leaves the new toolbar to the left
*
* do stuff here
*
tbold.visible = .T.
otbnew.release()
* this leaves a gap - but I wan't the old toolbar back where it was.

I also need to do this in a way that doesn't cause forms to jump all over the place, ie there must always be at least one toolbar present.
Next
Reply
Map
View

Click here to load this message in the networking platform