Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6SP5 Desktop to work like a giant toolbar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00754337
Message ID:
00754804
Vues:
24
Thanks Garrett for your suggestion. Can I use Visual Command Buttons stored in vcx using createobject() in the same way?

>>I have a requirement by a user who want push buttons on the Desktop area of the VFP to
>>start forms. In short use the VFP Desktop as a toolbar.
>
>Personally, I would use a Top-Level form (Form.ShowWindow = 2) for this, and then set all the other forms to run In Top-Level Form (Form.ShowWindow = 1).
>
>However, there's nothing stopping you from doing something like the following.
>
_SCREEN.AddObject("cmdQuit", "quitButton")
>_SCREEN.cmdQuit.Visible = .T.
>
>DEFINE CLASS quitButton as Cmmandbutton
>   PROCEDURE click
>      MESSAGEBOX("Quitting")
>      *!* QUIT
>   ENDPROC
>ENDDEFINE
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform