Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CBar suggestion
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
CBar suggestion
Miscellaneous
Thread ID:
00631132
Message ID:
00631132
Views:
61
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
Next
Reply
Map
View

Click here to load this message in the networking platform