>>>>I am allowing the users to modify a label format within my application. I put up a menu that has a Page Setup bar that calls sys(1037). It doesn't give them the ability to change the number of columns, etc. like page setup does when modifying the labels thru the VFP environment. Any ideas?
>>>
>>>Bar # _mfi_pgset
>>>will do this
>>
>>Not at runtime.
>>
>>Better solution (than SYS(1037)) might be the Common Dialogs ActiveX control's ShowPrinter method.
>
>When you are editing a report at runtime you can do this.
That, and editing a label file, are the only time the menu option will be enabled. Otherwise, it's always disabled. Having a menu option that is only enabled under circumstances that are not common isn't a terribly good idea. In this case, since it's the File menu, I place a call to the common dialogs control there.
George
Ubi caritas et amor, deus ibi est