Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CBar suggestion
Message
De
11/03/2002 17:10:58
Gil Munk
The Scarborough Group, Inc.
Baltimore, Maryland, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00631132
Message ID:
00631232
Vues:
21
>How about adding a cPicture property to the cBar class. Then modify the Define() method to use this property:
>
>
>*--------------------------------------------------
>*-- Construct the DEFINE BAR command based upon
>*-- the properties of this class definition.
>*--------------------------------------------------
>lcDefineBar = "DEFINE BAR " + ALLT(STR(lnBarNumber)) + ;
>              "  OF " + this.cPopupName + ;
>              "  PROMPT [" + this.cCaption + "]" + ;
>              "  MESSAGE [" + this.cMessage + "]" + ;
>              "  PICTURE [" + This.cPicture + "]"
>
>
>This will let us attach icons to our menu items. It would also be nice if the builder was modified to allow you to set this property.
>
>Actually, you probably would want to add some #IF around this for compiling in VFP 6.

Paul,
This is a great idea. The picture clause could be defaulted to a default picture should the user choose not to use it.
Gil Munk


"If a nation expects to be ignorant and free, it expects what never was and never will be." - Thomas Jefferson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform