Combobox problem

Combobox problem

Postby Jules de Pierre » Mon Apr 10, 2006 9: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
Jules de Pierre
 
Posts: 21
Joined: Mon Mar 20, 2006 12:48 pm
Location: Netherlands

Re: Combobox problem

Postby Enrico Maria Giordano » Tue Apr 11, 2006 7:08 am

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Jules de Pierre » 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
Jules de Pierre
 
Posts: 21
Joined: Mon Mar 20, 2006 12:48 pm
Location: Netherlands


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], MaxP and 43 guests