>>*** start.prg
>>oApp=createobject('app')
>>
>>Define class app as custom
>> .msgtitle="System Error"
>>enddefine
>>
>>*** some snippet
>>=messagebox("Cannot Proceed",1+16,oApp.msgtitle)
>Thanks Ed..
>
>OK - Does that mean I define a class as "application class"? and
>in that class, have a property called "msgtitle"?
>
>rob
You define a class as Custom (app is just an appropriate title), and this class may have msgtitle property and any other else you may define, e.g. path to data folder.
Edward Pikman
Independent Consultant