Thank you for the suggestion, but this modification does not preserve the
structure.
The modification should be done in tnComboBox.c file.
This change was on the cards since long, thank you for bringing this up.
Navin, please add this line, test it a little and check it into the CVS.
--
Sincerely,
Amit Kulkarni
http://amitkulkarni.cjb.net
-----Original Message-----
From: tin...@li...
[mailto:tin...@li...]On Behalf Of Leah
Burstein
Sent: Friday, June 29, 2001 3:31 AM
To: TinyWidgets
Subject: [Tinywidgets-support]combobox
Oops, I sent it to wrong list... sorry...
Hello, I've modified tnCreateWidget function to make textbox of combobox
not editable:
tnSetEnabled(NewWidget,enabled);
if (type==TN_COMBOBOX) (NewWidget->WSpec.combobox.text)->enabled =
GR_FALSE;//added
AddToRegistry(NewWidget);
Leah.
|