[Gambas-user] tableview edit
Benoît Minisini
gambas at ...1...
Mon Sep 7 16:19:13 CEST 2009
> I have a problem in a tableview
>
> I try to edit a cell in a tableview as a comboview.
> I write:
>
> Public sub mitabla_change()
> DIM xArray AS NEW String[3]
As you assign xArray a new array, you don't have to initialize it with a void
one. Just do: DIM xArray AS String[]
> xArray = ["prueba1", "prueba2", "prueba3"]
> IF mitabla.Column = 0 THEN
> subventas.Edit(xArray, TRUE) ' here is the problem
> ENDIF
> END
> I get a error ("Null object"), but xArray is not null.
> Does anyone help me?, Where is the problem?
>
Can you give the full error message?
--
Benoît
More information about the User
mailing list