General information
Title:
Moving position of docked toolbar
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
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