Hello
I have a COMBOBOX ( in a RC file with Sort = Yes )
aTipi := {'Paolo', 'Gianni','Andrea' 'Cesare' }
I set cTipo_Cli = 'Gianni'
REDEFINE COMBOBOX oCom Var cTipo_Cli ITEMS aTipi ID 4009 OF oDlg
but when I open the dialog on the combobox I have 'Cesare' and not 'Gianni'
Thanks
COMBOBOX WITH Sort
Re: COMBOBOX WITH Sort
Hi ,
I had the same problem and solved it by adding blank after items in the array .
I found that all items of the array should have the same lenght .
Strange !!
Philippe
I had the same problem and solved it by adding blank after items in the array .
I found that all items of the array should have the same lenght .
Strange !!
Philippe
- karinha
- Posts: 7935
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
Re: COMBOBOX WITH Sort
Perhaps, if you are using pellesC, you need to "remove" the SORT variable in the combobox as NO.
Maybe:
ON Change := cTipo_Cli[ oCbx:nAt ]
Regards, saludos.
Maybe:
ON Change := cTipo_Cli[ oCbx:nAt ]
Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341