bug in messagedlg function ???
Posted: Tue Jul 31, 2007 8:28 am
Hi, I have an problem with MESSAGEDLG function.
The fnxcompiler does know the parameters "buttons" and "type"...?
The code (from the fnxbasic helpfile):
[code]
`messagedlg_test by PaPi
` (from fnxbasic helpfile)
dim answer as integer, i as integer
answer=messagedlg("Now stop?","Stop?", mbYesNo + mbiconquestion)
if answer=idyes then
showmessage "it has been clicked on the YES button"
else
showmessage "it has been clicked on the NO button"
end if
[/code]
thanks, PaPi
The fnxcompiler does know the parameters "buttons" and "type"...?
The code (from the fnxbasic helpfile):
[code]
`messagedlg_test by PaPi
` (from fnxbasic helpfile)
dim answer as integer, i as integer
answer=messagedlg("Now stop?","Stop?", mbYesNo + mbiconquestion)
if answer=idyes then
showmessage "it has been clicked on the YES button"
else
showmessage "it has been clicked on the NO button"
end if
[/code]
thanks, PaPi