Page 1 of 1

exit from a dcbrowe window

Posted: Mon Dec 16, 2013 8:08 am
by obelix
I ask you for help in two different situations:
1. I want to close a dcbrowse-window called by another procedure by using the action parameter in a dcpushbutton, a dchotkey or by
using the HANDLER parameter in READ GUI.
2. When I open a dcbrowse-window I have to click into the browsed area before navigating in the browsing area. Is it possible to
evade this mouseclick by an eval statement or something else ?

Re: exit from a dcbrowe window

Posted: Fri Dec 27, 2013 8:33 am
by rdonnay
Try this:

DCREAD GUI .. EVAL {||SetAppFocus(oBrowse)}

If that doesn't work try this:

DCREAD GUI .. EVAL {||SetAppFocus(oBrowse:getColumn(1))}