|
|
 | | From: | Tony Martin | | Subject: | Combobox problem | | Date: | Tue, 18 Jan 2005 16:45:59 +1000 |
|
|
 | Hi,
I wonder if anyone can give me some pointers on a problem I'm having with DBase Plus comboboxes.
At times I need to let users delete non-mandatory entries from comboboxes.
If I try to delete text from a combobox, the component displays nothing, the onchange event fires but the original value is unchanged.
Is this a bug?
Thanks in advance,
Tony Martin
|
|
 | | From: | Ken Mayer [dBVIPS] | | Subject: | Re: Combobox problem | | Date: | Tue, 18 Jan 2005 05:28:14 -0800 |
|
|
 | Tony Martin wrote: > Hi, > > I wonder if anyone can give me some pointers on a problem I'm having with > DBase Plus comboboxes. > > At times I need to let users delete non-mandatory entries from comboboxes. > > If I try to delete text from a combobox, the component displays nothing, the > onchange event fires but the original value is unchanged. > > Is this a bug?
No. The value is still in the dataSource. You need to allow them to delete values in the actual dataSource, and then refresh that.
Where are the values coming from? If a table, then simply bring up a form (using a pushbutton) that allows them to add/edit/delete values in the dataSource (or only delete, whatever), and then when that form closes, refresh the dataSource for the combobox.
Ken
-- /(Opinions expressed are purely my own, not those of dataBased Intelligence, Inc.)/
*Ken Mayer* [dBVIPS] /Golden Stag Productions/ dBASE at goldenstag dot net http://www.goldenstag.net/GSP http://www.goldenstag.net/dbase
|
|
 | | From: | Todd Kreuter [dBVIPS] | | Subject: | Re: Combobox problem | | Date: | Tue, 18 Jan 2005 09:20:53 -0500 |
|
|
 | Tony Martin wrote: > > > At times I need to let users delete non-mandatory entries from comboboxes. > > If I try to delete text from a combobox, the component displays nothing, the > onchange event fires but the original value is unchanged. > > Is this a bug?
It was a bug that was fixed in the latest release. What release are you using?
-- Todd Kreuter [dBVIPS]
|
|
|