From: Alex T. <al...@tw...> - 2005-07-26 16:38:39
|
kim...@ya... wrote: >Alex, > >No, choice is not the same as combo-box. Combo-box >pulls down when you click on the list. As far as I >can see, there is no "editabel" field for combo-box >that I can see - which is really odd. I am assuming >that the code acutally supports this option (somehow) >- may be it's just a resource editor issue. > > Sorry, John, but I'm not following you. A Choice component looks like a single-line text field with a small down-arrow on the right. When you click on the down-arrow, a drop-down list of all the possible choices appears, with the current one selected. When you select one (by clicking on it), that line is selected, the drop-down disappears, and the single-line text field now shows the just-selected item. Clicking within the field does the same as clicking on the arrow (i.e. the list drops down) All the above is also true for a ComboBox, except that clicking within the field doesn't make the list drop down, it selects within the editable text field, where you can edit the current entry and submit that as your choice. (It's then up to the handler to decide if it wishes to add that to the list of acceptable choices, etc.) So as far as I can see (looking at the widgets sample from the sample launcher) - a Choice is a non-editable Combobox - Combobox is editable by default Am I still missing something ? -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/07/2005 |