[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DataComboView: How to get record chosen from the drop-down


On 5/20/25 7:56 AM, Benoît Minisini wrote:
Le 19/05/2025 à 20:28, Lee a écrit :
I simply cannot figure out how to determine what record was chosen from the DataComboView drop-down list (the DataView).

DataComboView.Value doesn't change. The DataSource.Index doesn't change.

I find no DataComboView_Change or _Activate events, so I'm using _MouseDown (_MouseUp doesn't get raised).

Am I doing something wrong? (Project attached.)



No. Apparently the DataComboView was intended to be put inside a DataSource only, and not to be used alone.

This control needs some enhancements for that.


Thank you for the response, Benoît. But, I am confused because I did have the DataComboView inside a DataSource (as in the project I sent).


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----


Follow-Ups:
Re: DataComboView: How to get record chosen from the drop-downBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
References:
DataComboView: How to get record chosen from the drop-downLee <t.lee.davidson@xxxxxxxxx>
Re: DataComboView: How to get record chosen from the drop-downBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>