Page 1 of 1

:?: ComboBox

Posted: Sat Jun 07, 2003 4:40 pm
by brossden
The Command : AddGadgetItem(#Gadget_X,-1, "XXXXXXX") is not Ok
Wht is the god command please.

Sorry for my english, i am french !!!!


A+

Denis :?:

Re: :?: ComboBox

Posted: Sun Jun 08, 2003 1:57 pm
by Num3
brossden wrote:The Command : AddGadgetItem(#Gadget_X,-1, "XXXXXXX") is not Ok
Wht is the god command please.

Sorry for my english, i am french !!!!


A+

Denis :?:
Try:

Code: Select all


Dim meses.s(13)

meses(0)="Janeiro"
meses(1)="Fevereiro"
meses(2)= "Março"
meses(3)= "Abril"
meses(4)= "Maio"
meses(5)= "Junho"
meses(6)= "Julho"
meses(7)= "Agosto"
meses(8)= "Setembro"
meses(9)= "Outubro"
meses(10)= "Novembro"
meses(11)= "Dezembro"
meses(12)= "Todos"

;window open code here

      ComboBoxGadget(1,  110, 70, 185, 120) ;<-Don't forget to add 120 pixels or the combo won't show the lines 
      For a  = 0 To 12
        AddGadgetItem(1,   - 1, meses(a))
      Next
Works fine here with 3.70

Posted: Sun Jun 08, 2003 3:00 pm
by brossden
:oops:

Thank you very much !

Posted: Wed Jun 11, 2003 6:11 am
by Denis
Salut brossden,

see you on the french forum ?



A+

Denis