Page 1 of 1

dcget COMBO compared to DCCOMBOBOX

Posted: Sun Mar 10, 2013 2:29 am
by Koverhage
Hello Roger,

i will use this
DCBROWSECOL FIELD ("ge")->selection PICTURE '!!!!!!!!' WIDTH 4 HEADER "Selection" ;
EDITOR 'BROWSEEDIT_SEL'


this work
@ nil,nil DCCOMBOBOX xNil LIST aSelection TYPE ;
XBPCOMBO_DROPDOWNLIST SIZE 16,10 ID 'BROWSEEDIT_SEL'


this doesn't work
@ nil,nil DCGET xNil pict '!!!!!!!!' GETID 'BROWSEEDIT_SEL' ;
COMBO HEIGHT 10 WIDTH 16 DATA aSelection ELEMENT 1

(i think the height and witdh does not work here)

I can't use the DCCOMBOBOX here, since the user should input any value.
Is there a quick fix for this ?

Re: dcget COMBO compared to DCCOMBOBOX

Posted: Tue Mar 12, 2013 7:15 am
by rdonnay
I don't understand what you mean when you say it isn't working.

DCGET COMBO works fine for me in cell editing.

Are you using pixel coordinates?

Re: dcget COMBO compared to DCCOMBOBOX

Posted: Wed Mar 13, 2013 12:19 am
by Koverhage
Roger,

i am use text-based coordinates.
Your question bring me to the right direction.
It does not work with text-based coordinates. If i use the PIXEL clause, it work.
Maybe you have solve this problem in a later build of Express++ (i use build 254).