Thread: [Tinywidgets-support]combobox
Status: Alpha
Brought to you by:
sunil_s
|
From: Leah B. <lbu...@ho...> - 2001-06-28 21:56:05
|
Oops, I sent it to wrong list... sorry... Hello, I've modified tnCreateWidget function to make textbox of combobox = not editable: tnSetEnabled(NewWidget,enabled); =20 if (type=3D=3DTN_COMBOBOX) (NewWidget->WSpec.combobox.text)->enabled = =3D GR_FALSE;//added AddToRegistry(NewWidget); Leah. |
|
From: Amit K. <am...@vs...> - 2001-06-29 03:40:11
|
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. |
|
From: Navin T. <na...@vs...> - 2001-06-29 06:30:52
|
i will have to check with my source but i think this line (NewWidget->WSpec.combobox.text)->enabled = GR_FALSE; is already there in the tnComboBox.c file in the CreateComboBox function. i will still check and confirm. the problem being faced was that the textbox's disabled functionality had not been implemented previously (idk why ??) but now its done and the current version in the cvs has that ... new release will be done by sunil as and when he deems fit. LOL navs -- **************************************** Happiness comes through doors you didn't know you left open **************************************** |