Re: [Iup-users] Help the user (IupGetParam behavior)

2018-07-25 Thread Antonio Scuri
Actually no, because IupGetParam assume that there is a current value in "number" and uses it to initialize the field. But I think you can overwrite that behavior using the callback during the INIT status. You will be able to clear the values you want. Best, Scuri Em qua, 25 de jul de 2018

[Iup-users] Help the user (IupGetParam behavior)

2018-07-25 Thread Ranier VF
Hi Scuri, IupGetParam("Test", NULL, 0, "Number: %i\n", ); Always show the dialog with 0 filled, this disrupts usability. Aways user must be delete 0 to digit correct number. Is possible change behavior IupGetParam to start with empty value? Best regards, Ranier Vilela