you can use 
http://webserver2.tecgraf.puc-rio.br/iup/en/func/iupgetnextchild.html
and IupGetChildCount to loop over childrens, you'd need to used them
in a recursive wayif you need to go deeper than the first level.

2019-02-26 10:25 GMT-03:00, helen.wri...@atiras.com <helen.wri...@atiras.com>:
> How would I loop over them? That’s what I was hoping was possible without
> maintaining a list of the controls, as they’re declared within library
> functions (in lua) and not exposed as globals…  I looked at the
> documentation and couldn’t see how to loop through them.
>
>
>
> From: Antonio Scuri <antonio.sc...@gmail.com>
> Sent: 26 February 2019 12:43
> To: IUP discussion list. <iup-users@lists.sourceforge.net>
> Subject: Re: [Iup-users] Clearing the values of all controls within a
> dialog
>
>
>
>   That's not complicated to implement. You just have to loop over the
> controls of the dialog. Or I misunderstood what you want.
>
>
>
> Best,
>
> Scuri
>
>
>
>
>
> Em ter, 26 de fev de 2019 09:04, <helen.wri...@atiras.com
> <mailto:helen.wri...@atiras.com> > escreveu:
>
> A pity but thanks – I might have to rethink offering the option.
>
>
>
> From: Antonio Scuri <antonio.sc...@gmail.com
> <mailto:antonio.sc...@gmail.com> >
> Sent: 26 February 2019 11:41
> To: IUP discussion list. <iup-users@lists.sourceforge.net
> <mailto:iup-users@lists.sourceforge.net> >
> Subject: Re: [Iup-users] Clearing the values of all controls within a
> dialog
>
>
>
>  Hi,
>
>
>
>  No, you have to clear each one.
>
>
>
> Best,
>
> Scuri
>
>
>
>
>
> Em ter, 26 de fev de 2019 08:37, <helen.wri...@atiras.com
> <mailto:helen.wri...@atiras.com> > escreveu:
>
> Is there a simple technique to clear the values of all the text fields and
> lists within a dialog, or do they each have to be done one at a time? I want
> to give my users the option to clear all their input at once.
>
>
>
> Thanks
>
>
>
> Helen
>
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net <mailto:Iup-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net <mailto:Iup-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>


_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to