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 <[email protected]> Sent: 26 February 2019 12:43 To: IUP discussion list. <[email protected]> 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, <[email protected] <mailto:[email protected]> > escreveu: A pity but thanks – I might have to rethink offering the option. From: Antonio Scuri <[email protected] <mailto:[email protected]> > Sent: 26 February 2019 11:41 To: IUP discussion list. <[email protected] <mailto:[email protected]> > 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, <[email protected] <mailto:[email protected]> > 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 [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/iup-users _______________________________________________ Iup-users mailing list [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/iup-users
_______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
