Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 4 Jahren, 10 Monaten
Letzter Beitrag:
vor 4 Jahren, 10 Monaten
Beteiligte Autoren:
Yogi Yang, Al, Allard, Scott Daughtry

Autocomplete Edit from DB

Startbeitrag von Yogi Yang am 24.05.2013 04:40

I need to allow a user to either drop down a combo to select an Item or if the user types item name/code in Edit control the edit control should list all possible matches in a dropdown list like in this sample image below:
[attachment 370 2013-05-24_100731.jpg]
I searched WD docs but could not find info on any control with such features so I would like to know if it is possible to achieve something like this using standard WD controls.


Yogi Yang



It's a bit of a guess but I think this is a wd18 feature. So maybe upgrade and save yoursef some time


von Allard - am 26.05.2013 15:04
Yogi - a combo box control will let you link to a lookup table on a Form procedure... it will perform the "auto fill" for you also... what it won't give you is an easy means of adding a new lookup table entry / editing an existing lookup table entry (ala your last two entries of your mockup screen "create hdd"). I just bought WD18 (I use WD17 for now); I don't think the combo box had added functionality for WD18 (e.g. "on the fly" data entry)...

von Scott Daughtry - am 26.05.2013 23:00
Hello Yogi

You could have a look at a popup window as it can lock itself to an xy position based on the calling control. If you need to use the popup window a few times for multiple controls then I imagine you could make it multi purpose by using planes. Because its a window you have lots more options than a single control, so you could show the list of items with a separate edit control to accept new entries.


von Al - am 27.05.2013 04:04
Thanks everyone for suggestion.


Yogi Yang

von Yogi Yang - am 27.05.2013 08:26
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.