How can I default first element in DCBROWSE with editor

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
unixkd
Posts: 565
Joined: Thu Feb 11, 2010 1:39 pm

How can I default first element in DCBROWSE with editor

#1 Post 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

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

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

#2 Post by rdonnay »

DCREAD GUI .. EVAL {||PostAppEvent(xbeBRW_ItemSelected,,,oBrowse)}
The eXpress train is coming - and it has more cars.

Post Reply