according to the documentation, if you leave the second argument blank it should be data || id so in this case data10 which is what was confusing me.
Thanks, David Ruggles CCNA MCSE (NT) CNA A+ Network Engineer Safe Data, Inc. (910) 285-7200 [email protected] -----Original Message----- From: Sahananda (Jon) Wolfers [mailto:[email protected]] Sent: Monday, January 04, 2010 3:22 PM To: Open Object Rexx Developer Mailing List Subject: Re: [Oorexx-devel] Using the addcheckbox method Hi David, I would say that there are two ways you can go with this. If you leave auto detection on, then you an apply an attribute to the checkbox self~addcheckbox(10,'MyCheckBoxAttribute', x, y,,, 'Error Messages') in which case you can set it by self~MyCheckBoxAttribute = 1 in the init method, or at any other point before a self~setData The other simpler approach would be to use the setCheckBox method of the basedialog class. Mark may even think of other ways to go! hth Jon 2010/1/4 David Ruggles <[email protected]> I'm trying to add a checkbox using the addcheckbox method. I've based this on the gui_template.rex sample and I'm using ooRexx 3.2 In the definedialog method I've added this. self~addcheckbox(10,, x, y,,, 'Error Messages') Then I want to set it as checked so I've added this based on the documentation: self~data10 = 1 But I get an error that DATA10 doesn't exist. Can anyone tell me what I'm doing wrong? Thanks, David Ruggles CCNA MCSE (NT) CNA A+ Network Engineer Safe Data, Inc. (910) 285-7200 [email protected] ---------------------------------------------------------------------------- -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
