OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: hmspe on June 26, 2010, 04:36:48 PM

Title: Problems reading textbox and radio buttons
Post by: hmspe on June 26, 2010, 04:36:48 PM
I'm probably missing something really simple here.  On the attached form there are four textboxes followed by several sets of radio buttons.  For the first textbox (labeled 'Current') OnEditChanged is not firing the function to store the value.  Identical code works for the other textboxes.  On the radio buttons the first button of the first set (labeled "Copper') does not fire the function to store the value.  All the other buttons work properly in their group.

Any pointers on why this isn't working would be appreciated. 

Martin
Title: Re: Problems reading textbox and radio buttons
Post by: owenwengerd on June 26, 2010, 05:43:07 PM
The 'Current' textbox seems to be working fine, but look closely at the Clicked event handler function names for the following controls:
vdrop_Drop_obCopper
vdrop_Drop_obDC
vdrop_Drop_btnCancel
vdrop_Drop_btnOK

and the Initialize event for:
vdrop_Drop

Those function names don't match the function names in your code, so they are not executing. I suspect that resetting the event handler names in Studio (Tools -> Reset event names) will fix everything up for you.
Title: Re: Problems reading textbox and radio buttons
Post by: hmspe on June 26, 2010, 09:26:05 PM
Thanks, Owen.  All sorted out now.