Dialog update realtime
On 16/08/2017 at 23:26, xxxxxxxx wrote:
I would like to develop a dialog windows with some EditText precompilated automatically when other EditText is compilated.
Dialog windows with 2 EditText:
- Input Rise Height
- Input Thread depht
When user insert a Rise Height value, automatically in Thread field appear a value (that user can modify).
On 16/08/2017 at 23:48, xxxxxxxx wrote:
You may want to use the Command() function of class GeDialog.
On 17/08/2017 at 02:28, xxxxxxxx wrote:
mp5gosu already provided a good hint, in Command() you are free to set dependencies between different data or widgets, i.E. changing b as well, when user interacted with a.
Maybe you also want to take a look at the GeDialog manual in our C++ documentation.
But the more important question for me is, it seems as if you are using a string input (EditText) in order to get numerical values? Is there a specific reason (please forgive, I didn't take a look at the plugin, yet) to do so? Wouldn't a numerical input (AddEditNumber(), AddEditNumberArrows()) or slider (AddSlider(), AddEditSlider()) be the more logical choice?
On 17/08/2017 at 07:09, xxxxxxxx wrote:
...and yes, Andreas..you are right! I have used string input by mistake (with 4 useless lines of code for manage input format ...I need vacation!)
This is the new version (Beta 0.85) of SCALAX plugin with your tips.