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 às 13:03, Ranier VF <ranier_...@hotmail.com>
escreveu:

> Hi Scuri,
>
> IupGetParam("Test", NULL, 0, "Number: %i\n", &number);
>
> 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
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to