Page 1 of 1

Combobox problem

Posted: Mon Apr 10, 2006 9:41 pm
by Jules de Pierre
I have a combobox working OK

The next one in a different Dialog will not show its Array after clicking on it.

First example:
Function Minpunten(cAlias, oDlwBew )
Local oDlp, oRadmenu, oCbx
Local MyArrMinJn := {"J","N"}
Local oMyComb

DEFINE DIALOG oDlp RESOURCE "Minpunten"

REDEFINE COMBOBOX oMyComb VAR cMinjn Items MyArrMinJn ID 101 OF oDlp

ACTIVATE DIALOG oDlp


Second example:
Function AnderDomein( cDomein )
Local oDlg, oRadmenu, oCbx
Local MyArrDom := {"A","C"}
Local oMyComb
DEFINE DIALOG oDlg RESOURCE "Domeinen"

REDEFINE COMBOBOX oMyComb VAR cDomeinX Items MyArrDom ID 104 OF oDlg

ACTIVATE DIALOG oDlg

I don't see the difference, but the second one will not show its Array and consequently I cannot select an Item.

Any suggestion?

Thanks,

Jules de Pierre

Re: Combobox problem

Posted: Tue Apr 11, 2006 7:08 am
by Enrico Maria Giordano
Is the combo tall enough? Check also what really is in the array.

EMG

Posted: Tue Apr 11, 2006 10:33 am
by Jules de Pierre
Dear Enrico,

That's it.

I did not paint the Combobox tall enough in the Workshop.

Thank you.

Jules