>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