combobox
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: combobox
It's the default behavior of a dropdownlist-style combobox.
EMG
EMG
Re: combobox
Sorry, I am not a professional programmer. Wat is a dropdowlist style combobox. Can you give me an example from source code.
Many thanks and kind regards
jds
Many thanks and kind regards
jds
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: combobox
Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL cVar := ""
DEFINE DIALOG oDlg
@ 1, 1 COMBOBOX cVar;
ITEMS { "", "Pippo", "Pluto", "Paperino" }
@ 3, 1 BUTTON "Close";
ACTION oDlg:End()
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
Re: combobox
The problem is that by typing "pap" the combobox is showing only the first record that matches the "p" in that case "pippo"...??
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: combobox
This should be a working sample but it doesn't work and I don't know why, sorry:
EMG
Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL oCbx, cVar := ""
DEFINE DIALOG oDlg
@ 1, 1 COMBOBOX oCbx VAR cVar;
ITEMS { "", "Pippo", "Pluto", "Paperino" }
oCbx:lIncSearch = .T.
@ 3, 1 BUTTON "Close";
ACTION oDlg:End()
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
Re: combobox
Effectively, I tried already before the "LIncSearch=.T." function(?) but I did not work.
Is there somewhere a description of the LIncSearch function?
kind regards and I wish you a good WE
jds
Is there somewhere a description of the LIncSearch function?
kind regards and I wish you a good WE
jds
Re: combobox
Antonio,
Do you have any idea how to use lIncSearch:=.T.
kind regards
José (jds)
Do you have any idea how to use lIncSearch:=.T.
kind regards
José (jds)
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: combobox
The items in the list have to be in alpha order.
James
James
Re: combobox
of course but even that does not help to get an incremental search on a listbox (alfa handmade or by alfa array)
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: combobox
I confirm that the incremental search is broken in ver 10.2.
James
James
Re: combobox
Guys, Antonio,
What FWH version is supporting incremental searching in a listbox??
Kind regards and a good WE
José
What FWH version is supporting incremental searching in a listbox??
Kind regards and a good WE
José
Re: combobox
Can I repeat my question : how to get an incremental search in a listbox/combobox ?
Best regards
José
Best regards
José
Re: combobox
Hello
Otto was saying somewhere in may 2010 that incremental search was working in combobox
Please can anyone tell me what is the function to do work it ?
Kind regards
José
Otto was saying somewhere in may 2010 that incremental search was working in combobox
Please can anyone tell me what is the function to do work it ?
Kind regards
José
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: combobox
Jose,
It is working, BUT, it is case sensitive (and it should not be).
I will see if I can fix it.
Regards,
James
It is working, BUT, it is case sensitive (and it should not be).
I will see if I can fix it.
Regards,
James