3171
Mach4 General Discussion / Re: Un-Supported wxNumberEntryDialog
« on: January 26, 2019, 06:20:31 PM »
Hi Steve,
after my post I tried a Dialog and used ShowModal() and it worked. I am a little familiar with ShowModal() syntax as
I have seen it used and I have copied/pasted and edited to use it myself.
I have used a statments like:
if (UI.<dialogName>:ShowModal()==wx.wxID_OK) then.....
which achieves the same result as:
rc=UI.<dialogName>:ShowModal()
and then testing rc.
Either way I have some more stuff to experiment with. Thanks again.
You are correct.....letting wxFB generate the Lua code and then looking closely at the code is very illuminating.
Does your missus get sick of you being right all the time.... ....or does she even think that?
Craig
after my post I tried a Dialog and used ShowModal() and it worked. I am a little familiar with ShowModal() syntax as
I have seen it used and I have copied/pasted and edited to use it myself.
I have used a statments like:
if (UI.<dialogName>:ShowModal()==wx.wxID_OK) then.....
which achieves the same result as:
rc=UI.<dialogName>:ShowModal()
and then testing rc.
Either way I have some more stuff to experiment with. Thanks again.
You are correct.....letting wxFB generate the Lua code and then looking closely at the code is very illuminating.
Does your missus get sick of you being right all the time.... ....or does she even think that?
Craig