Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CBar suggestion
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
CBar suggestion
Divers
Thread ID:
00631132
Message ID:
00631132
Vues:
59
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

RCS Solutions, Inc.
Blog
Twitter
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform