-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Odd combobox behaviour.... #86
Labels
bug
Something isn't working
Comments
FYI, the popup control works perfectly, and in my case is also better, since I do not wish to be able to edit the values. However, I noticed that there is no way to access the text of the selected popup choice, only the index. Perhaps a
or
could be considered. |
Yes, I am using that to get the selected text. But what I am after is to
get the text of any item using its index.
Cheers,
Sam
---------------------------------
Sam
Den mån 15 jan. 2024 kl 06:19 skrev Francisco García Collado <
***@***.***>:
… Thanks for update. Therefore, I leave this issue open. Full review of
ComboBox is mandatory.
You can get the text of selected Item in OnSelect event as part of
EvButton event parameters. But also is a good idea to add const char_t
*popup_get_text(const PopUp *popup, const uint32_t index) to public
interface.
popup_text.png (view on web)
<https://github.com/frang75/nappgui_src/assets/42999199/7f75c8ed-f492-4f90-969c-4fa92bc5cdc3>
—
Reply to this email directly, view it on GitHub
<#86 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMAVI5VJXPANYU5HJJPOYSLYOSU3VAVCNFSM6AAAAABBXBANHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJRGI3TONRVGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Added |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I create a Combo like this:
That works perfectly, and shows:
But what I really want is this:
which does not show correctly, as some elements are discarded:
What could be wrong?
The text was updated successfully, but these errors were encountered: