[Plib-devel] User-Specified Entries in puaComboBox
Brought to you by:
sjbaker
From: Fay J. F C. AAC/W. <joh...@eg...> - 2004-10-22 18:36:36
|
Gentlemen, In my continued exercising of the "puAux" library, I have found that there is no way for the widget to return to the application an entry that the user has typed in if the box is "editable". I would like to change that. I propose that the "getCurrentItem" function be modified so that if the user typed in an arbitrary string it will be added to the end of the list of items and its new place number returned to the application. This will involve some changes: - The calls to "getStringValue" will have to be changed to "input->getStringValue". I believe that the present arrangement is simply a bug. - The "list" will have to be copied from the input in "newList" rather than simply having the pointer copied. Does anybody object to these changes? Does anybody have a better idea? John F. Fay joh...@eg... 850-729-6330 |