Re: [Oorexx-devel] Using the addcheckbox method

2010-01-04 Thread David Ruggles
Developer Mailing List Subject: Re: [Oorexx-devel] Using the addcheckbox method On Mon, Jan 4, 2010 at 1:05 PM, Mark Miesfeld wrote: > On Mon, Jan 4, 2010 at 12:51 PM, David Ruggles wrote: > >> Ok, thank you. That is what I did and it works. However, the next question I >> have i

Re: [Oorexx-devel] Using the addcheckbox method

2010-01-04 Thread Mark Miesfeld
On Mon, Jan 4, 2010 at 1:05 PM, Mark Miesfeld wrote: > On Mon, Jan 4, 2010 at 12:51 PM, David Ruggles wrote: > >> Ok, thank you. That is what I did and it works. However, the next question I >> have is can I have it do something when the check box is changed without >> having to click a button?

Re: [Oorexx-devel] Using the addcheckbox method

2010-01-04 Thread Mark Miesfeld
On Mon, Jan 4, 2010 at 12:51 PM, David Ruggles wrote: > Ok, thank you. That is what I did and it works. However, the next question I > have is can I have it do something when the check box is changed without > having to click a button? Sure, connect the check box event to a method in your dialog

Re: [Oorexx-devel] Using the addcheckbox method

2010-01-04 Thread David Ruggles
...@safedatausa.com -Original Message- From: Mark Miesfeld [mailto:miesf...@gmail.com] Sent: Monday, January 04, 2010 3:41 PM To: Open Object Rexx Developer Mailing List Subject: Re: [Oorexx-devel] Using the addcheckbox method On Mon, Jan 4, 2010 at 12:29 PM, David Ruggles wrote: > according to

Re: [Oorexx-devel] Using the addcheckbox method

2010-01-04 Thread Mark Miesfeld
On Mon, Jan 4, 2010 at 12:29 PM, David Ruggles wrote: > 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. Unfortunately, there are many spots in the ooDialog that are either incomplete, misleadi

Re: [Oorexx-devel] Using the addcheckbox method

2010-01-04 Thread David Ruggles
Message- From: Sahananda (Jon) Wolfers [mailto:sahana...@googlemail.com] 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

Re: [Oorexx-devel] Using the addcheckbox method

2010-01-04 Thread Sahananda (Jon) Wolfers
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 meth

[Oorexx-devel] Using the addcheckbox method

2010-01-04 Thread David Ruggles
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 docu