> 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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to