Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving position of docked toolbar
Message
De
27/10/2003 23:20:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Moving position of docked toolbar
Divers
Thread ID:
00843368
Message ID:
00843368
Vues:
57
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
Fil
Voir

Click here to load this message in the networking platform