Information générale
Titre:
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement