Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New San Diego DevCon Session - Testing
Message
 
À
13/09/2001 01:05:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Conférences & événements
Divers
Thread ID:
00542809
Message ID:
00555834
Vues:
24
>hi, how can i create toolbars like, add, edit, delete, etc button?

Create a class based on Toolbar class. You can put controls like commandbutton there for your add, edit, delete, etc.

In command window: Create Class then press enter, then fill in the blanks when the New Class window appears.

If you are using the _screen object as your main window, just add the toolbar class you just created:

In your main program:
_Screen.Visible = .T.
oToolbar = CREATEOBJECT("YourClass.Toolbar")
oToolbar.Show()

If you want to use Top Level form, just drop the toolbar class in the form and that's it.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform