[comp.sys.mac] EditText Item help

dalea@fai.UUCP (Dale M. Arends) (06/26/87)

I'm looking for some help with editText items in a dialog I'm creating.
The dialog has two radioButton items, one staticText item, and four
editText items (in addition to the OK and Cancel buttons).

My problem is: how do I go about enabling and disabling two of the editText 
items when one or the other radioButton is chosen by the user?  It is simple 
enough to erase them from the screen when not needed but I have to be able to 
redraw and re-enable them when they are needed.  To make the problem more 
difficult, they have to be removed and re-added to the editText item list so 
that TAB advances through the editText items properly.  The first two editText
items will remain active all the time and must behave properly.

If possible, I would like to avoid any machine-dependancies so my program 
can run on all flavors of the Macintosh.

Any help in the nature of suggestions or C source code fragments would be
appreciated.


-- 
--
		Dale M. Arends  (Fujitsu America Inc., San Jose, Calif.)
		seismo!amdahl!fai!dalea

The opinions expressed herein do not necessarily reflect those of my employer.
They are entirely my own if they make sense and I disavow them if they don't.