>In a previous life I wrote many functions and compiled them into a library that I could link into my exe. Now in VFP6, I created a form (timed messagebox) and have it in my custom library as a form. But I don't like the way I have to call the form with a Do Form msgbox with manyparameters.
>
>Is there a way to take a form and call it as a function?, or do I have to list out the form code in a function and put it in my program with a Set Procedure to...
>
>I want to just say
>
>If msgbox("Do you want to continue","user message","YesNo",5) = "Yes".....
>
>Any help would be appreciated.
You can take a look at file #
9445, or use it as it is. The syntax is slightly different:
if Alert("Do you want to continue","Yes;No")=1