Re: [Gambas-user] DataCombo, key_press

2009-11-20 Thread Tomas Costa rivas
I have a list of items( over 8000) . Each item starts by a numeric part(two digits) that are used to classify the item, and according to this digits certain textbox are visible and certain other not. I want a event when I write the second digit. I write in a datacombo instead of "expand(popup) and

[Gambas-user] DataCombo, key_press

2009-11-18 Thread Tomas Costa rivas
Hello: Does'nt work a datacombo with key events? How can I solve this problem? Regards -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and d

[Gambas-user] DataCombo

2009-10-09 Thread Tomas Costa rivas
Hello If a datacombo don't run with the event key_press or key_release, how can I launch a event while I write in this control? Another question: Can I display in a datacombo two fields? e.g: datacombo1.display="name"; "surname" There's a few information abouth gb.db.form Thanks Tomás --

Re: [Gambas-user] tableview edit

2009-09-07 Thread Tomas Costa rivas
The project is incomplete. It's a shop management project built in Microsoft Office (Windows) and we're trying to make it in Linux(gambas) and Postgresql. We don't know much about gambas. It's a form called 'pendentes' whith a tableview called 'subventas' apart more controls (textbox, buttons, ...)

Re: [Gambas-user] tableview edit

2009-09-07 Thread Tomas Costa rivas
No. Error.code=13 Error.text="Null object" 2009/9/7 Benoît Minisini > > Ok I change the sentence, like this: > > > > PUBLIC SUB mitabla_Change() > > DIM xArray AS String[] > > xArray = ["Proba1", "proba2", "proba3"] > > IF mitabla.Column = 0 THEN > > mitabla.Edit(xArray, TRUE) > > ENDIF > > END

Re: [Gambas-user] tableview edit

2009-09-07 Thread Tomas Costa rivas
Ok I change the sentence, like this: PUBLIC SUB mitabla_Change() DIM xArray AS String[] xArray = ["Proba1", "proba2", "proba3"] IF mitabla.Column = 0 THEN mitabla.Edit(xArray, TRUE) ENDIF END And the error is the same: "Null object". (It's the full error message) Thanks for your help Tomas 2009/

[Gambas-user] tableview edit

2009-09-07 Thread Tomas Costa rivas
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] xArray = ["prueba1", "prueba2", "prueba3"] IF mitabla.Column = 0 THEN subventas.Edit(xArray, TRUE) ' here is the problem ENDIF END I get a error ("