Page 1 of 1

How can I default first element in DCBROWSE with editor

Posted: Mon Aug 08, 2022 12:46 pm
by unixkd
Hi All,
I have

@ ... DCBROWSE oBrowse .... EDIT...

@ nil,nil DCCOMBOBOX xNIL LIST aProduct SIZE 50,15 TYPE XBPCOMBO_DROPDOWNLIST IMMEDIATE ID "PRODUCT_TYPE"

I want the first element of aProduct i.e. aProduct[1] to be in xNIL when it get focus

Thanks

Joe

Re: How can I default first element in DCBROWSE with editor

Posted: Mon Aug 08, 2022 1:28 pm
by rdonnay
DCREAD GUI .. EVAL {||PostAppEvent(xbeBRW_ItemSelected,,,oBrowse)}