hi everybody
i want to leave a DCBROwSE object. If I use the ENTER-key it works but not with a mouse double click.
@ 3,2 DCBROWSE oVBrowse;
DATA cAlias SIZE wcol,wrow FONT feldfont DATALINK {||oVbrowse:doppelklick()}
Unfortunely I only found the following hint:
DATALINK <bDataLink> is an optional code block to evaluate whenever the user double-clicks the mouse
or presses the ENTER key within the browse area. The browse object is passed as a parameter to the code block.
but I don't know how to use ist.
exit form dcbrows-object with double click
- obelix
- Posts: 48
- Joined: Tue Dec 03, 2013 7:44 am
- Location: Villingen-Schwenningen, Black Forest, Germany
exit form dcbrows-object with double click
quiet old but still young and unskilled in express++
Re: exit form dcbrows-object with double click
Hi, Obelix.
DCBROWSE ... DATALINK should not be used. Use ITEMSELECTED instead. It should work like you want if you do this:
This should exit your browse if either ENTER is pressed or a doubleclick (left mouse key) occurs.
DCBROWSE ... DATALINK should not be used. Use ITEMSELECTED instead. It should work like you want if you do this:
Code: Select all
@ ... DCBBROWSE ... ITEMSELECTED {||DC_ReadGuiEvent(DCGUI_EXIT_OK,GetList)}
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
- obelix
- Posts: 48
- Joined: Tue Dec 03, 2013 7:44 am
- Location: Villingen-Schwenningen, Black Forest, Germany
Re: exit form dcbrows-object with double click
Danke Tom
Precisely that what I needed, and not the first time.
Are there questions you can't bring to a successfil end ? I think, the next weeks I will try to bring you in troubles with my foolish problems.
Thanks for your help.
Precisely that what I needed, and not the first time.
Are there questions you can't bring to a successfil end ? I think, the next weeks I will try to bring you in troubles with my foolish problems.
Thanks for your help.
quiet old but still young and unskilled in express++