How to disable a control?

Hi @all,

is it possible to disable Controls?
I found the possibility to set a control wxTE_READONLY - problem is: the
control can get the focus and e.g. the wxTextControl as multiline shows
the cursor in the textbox.

Thanx and best regards
Marcus.

<control>.Enable(False)

Works with basically all controls.
<control> is the object reference of the control you want to diable.
BTW.: before you ask: If you want to hide it check out <control>.Show(False)

:-))

ยทยทยท

On Monday 23 June 2003 01:28 am, mkimpenhaus@plus.de wrote:

Hi @all,

is it possible to disable Controls?
I found the possibility to set a control wxTE_READONLY - problem is: the
control can get the focus and e.g. the wxTextControl as multiline shows
the cursor in the textbox.

Thanx and best regards
Marcus.

--
  UC

--
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417