FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Combobox problem
Posts: 21
Joined: Mon Mar 20, 2006 12:48 PM
Combobox problem
Posted: Mon Apr 10, 2006 09:41 PM

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

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Combobox problem
Posted: Tue Apr 11, 2006 07:08 AM

Is the combo tall enough? Check also what really is in the array.

EMG

Posts: 21
Joined: Mon Mar 20, 2006 12:48 PM
Combobox problem
Posted: Tue Apr 11, 2006 10:33 AM

Dear Enrico,

That's it.

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

Thank you.

Jules

Continue the discussion