Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to persist a toolbar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00715677
Message ID:
00715800
Vues:
21
>>Hi Dragan,
>>
>>Try this
* Function RestoreToolbar()
>>_screen.AddProperty("oTb", Newobject("mytoolbar", "test"))
>>_screen.oTb.Show()
>>RETURN
>>
>>* Toolbar Destroy()
>>KEYBOARD "RestoreToolbar(){ENTER}" PLAIN CLEAR
>>
>
>Take aslo look at Developer-defined Btn(s) on Standard VFP toolbar Thread #611029.

Ah yes, I didn't think of KEYBOARD, "the kludge of last resort". I suppose one would also want to add a way to deliberately close this toolbar now, e.g. with a custom property and an extra Close button. Otherwise, this toolbar might be too persistent!
Montage

"Free at last..."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform