On Jun 30, 2006, at 4:00 PM, Norman Palardy wrote:
The long answer is don't do it this way at all.
Create your own set of control subclasses that you use and that you
have a nice well defined interface to get/set values from a class.
Interesting idea. However, I'm not familiar enough with doing it.
What I HAVE done is this....
[1] Created an array of controls as a property in the window with all
the RadioButtons in the GroupBox.
[2] Redim'd and populated that array with the number of RadioButtons
in the GroupBox.
[3] Made a method in the window that follows the same sort of
procedure are the regular CheckUpdateData method; which handles all
the other controls in the window when they LoseFocus after a change
has been made. Setting the new special method up to process each
RadioButton control in the GroupBox, via the array.
[4] If one of the RadioButtons in the GroupBox is called by Action,
it goes to the new method in the window that passes each of the
affected RadioButtons to the Module's UpdateDataInDB method.
This works....
Thank you, all, for helping me wade through this activity. Special
thanks to Fargo, who, in my response, inspired me to this successful
course of action.
Regards,
Chuck
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>