Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's the point?
Message
From
30/05/2003 13:24:09
 
 
To
30/05/2003 13:03:13
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00794178
Message ID:
00794622
Views:
16
>but you see i only call the messagebox() up only 1 time in my whole app (130000 lines). what i do i have a message class which i call up, which decides in return what to do. so i don't need to remember all those different arguments.
>

Hi Gunnar,
I'm curious. I also only call messagebox() once in my app. I have a prg file (mb.prg), but I still have to call it with parameters.
Example:
.h file
#DEFINE mb_Ques 32
#DEFINE mb_YN    4
#DEFINE Ans_Y    6
endfile

if Ans_Y = mb( 'Do You Really Want to Quit ?', mb_Ques + mb_YN, 'Quitting' )
    quit
else
    return
endif
Don't you have to do something similar and have to remember arguments?
Bill Morris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform