Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
1
Erster Beitrag:
vor 6 Jahren, 11 Monaten
Beteiligte Autoren:
Piet van Zanten

WD: Combobox with popup window

Startbeitrag von Piet van Zanten am 23.05.2011 15:31

Hi,

I've been struggling with a popup window combobox.
How can the window transfer it's result to the combo?
Main problem is that the row selection code of the combo is not activated after the popup window closes.
How can I detect if the popup is closed?
I used an array of structures as source for both combo and the table in the popup window and followed the instruction in the Help file:
Quote
Help info:
Value returned by the popup window

In most cases, the value returned by the popup window corresponds to the value displayed in the combo box.

When closing the popup window, several cases can occur according to the type of the combo box:
non-editable memory combo box:
The returned value is sought in the combo box.
If the value is found, this value is selected in the combo box.
If the value is not found, this value is added and selected in the combo box.
editable memory combo box:
The returned value is directly entered in the combo box.
non-editable browsing combo box:
The returned value must correspond to the value displayed in the combo box.
The returned value is sought in the combo box.
If the value is found, this value is selected in the combo box.
If the value is not found, no value is displayed in the combo box.
editable browsing combo box:
The returned value is directly entered in the combo box.
The value must be returned in the format used by ListAdd. You have the ability to use the following format:


RESULT gLink(StoredValue)+DisplayedValue
For now I have just used a combo with table instead of the popup. However, it puzzles me that this does not work, especially that the row selection code is never executed and there seems to be no way to trigger an action after the selection has been made.

Regards,
Piet

Antworten:

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.