D DPaul Active Member Licensed User Longtime User Aug 26, 2016 #1 Hi, Still testing my trial version (hope that is not the cause of the phenomenon) See this simple yes/no code: Dim answ As Int answ = 0 answ = Msgbox2 ( "Start ?", "text", "Yes", "","No" , Null) Msgbox(answ, "text") I could not get the "dialogresponse.positive" response for "yes", hence i put the msgbox. yes gives -1 and no gives -2 ?? Is this supposed to be like that ? thx, Paul
Hi, Still testing my trial version (hope that is not the cause of the phenomenon) See this simple yes/no code: Dim answ As Int answ = 0 answ = Msgbox2 ( "Start ?", "text", "Yes", "","No" , Null) Msgbox(answ, "text") I could not get the "dialogresponse.positive" response for "yes", hence i put the msgbox. yes gives -1 and no gives -2 ?? Is this supposed to be like that ? thx, Paul
LucaMs Expert Licensed User Longtime User Aug 26, 2016 #2 DPaul said: Is this supposed to be like that Click to expand... Yes. You will manage the answer: if answ = DialogResponse.POSITIVE then '.... else... Upvote 0
DPaul said: Is this supposed to be like that Click to expand... Yes. You will manage the answer: if answ = DialogResponse.POSITIVE then '.... else...
D DPaul Active Member Licensed User Longtime User Aug 26, 2016 #3 Thanks, now I'm sure. (seemed a bit odd) (Cancel is zero probably.) Upvote 0