Re: [Gambas-user] Upper left cell in a TableView

2016-08-09 Thread Gianluigi
Hello Fabien, very nice, I like, though it not automatically adapts to the written. 👍 Regards Gianluigi 2016-08-09 22:22 GMT+02:00 Fabien Bodard : > Really more shorter and more sure. > > > > ' Gambas class file > > Private OBS As Observer > > > Public Sub Form_Open() > > 'need an observer to

Re: [Gambas-user] Upper left cell in a TableView

2016-08-09 Thread Fabien Bodard
Really more shorter and more sure. ' Gambas class file Private OBS As Observer Public Sub Form_Open() 'need an observer to get the draw event after the array drawing OBS = New Observer(TableView1.Children[0], True) As "OBS" TableView1.Rows.Count = 1 TableView1.Columns.Count = 6

Re: [Gambas-user] Upper left cell in a TableView

2016-08-08 Thread Fabien Bodard
This is how to do :-) ' Gambas class file Public Sub Form_Open() TableView1.Rows.Count = 10 TableView1.Columns.Count = 6 End Public Sub TableView1_Draw(X As Integer, Y As Integer, Width As Integer, Height As Integer, Row As Integer, Column As Integer) If Row = 0 And If Column = 0 Then

Re: [Gambas-user] Upper left cell in a TableView

2016-08-07 Thread Gianluigi
, 0].Text = "FOO" > that gives error > > > > From: Fabien Bodard > > Subject: Re: [Gambas-user] Upper left cell in a TableView > > To: mailing list for gambas users > > > > > > Yes but you need to use the drawing event and drawing it by hand. It&#x

Re: [Gambas-user] Upper left cell in a TableView

2016-08-07 Thread martin p cristia
>TableView1[0, 0].Text = "FOO" that gives error > > From: Fabien Bodard > Subject: Re: [Gambas-user] Upper left cell in a TableView > To: mailing list for gambas users > > > Yes but you need to use the drawing event and drawing it by hand. It's

Re: [Gambas-user] Upper left cell in a TableView

2016-08-07 Thread Gianluigi
I removed a few mistakes, sorry ;-D 2016-08-07 15:08 GMT+02:00 Gianluigi : > Maybe I understood > A thing like that? > > Regards > Gianluigi > > 2016-08-06 15:54 GMT+02:00 martin p cristia : > >> It is possible to put some text in a tableview's upper left cell when >> both headers are set? >> >>

Re: [Gambas-user] Upper left cell in a TableView

2016-08-07 Thread Gianluigi
Maybe I understood A thing like that? Regards Gianluigi 2016-08-06 15:54 GMT+02:00 martin p cristia : > It is possible to put some text in a tableview's upper left cell when > both headers are set? > > -- > Saludos > > Ing. Martin P Cristia > > > -

Re: [Gambas-user] Upper left cell in a TableView

2016-08-07 Thread Fabien Bodard
Yes but you need to use the drawing event and drawing it by hand. It's not a true cell but all .can be done Imagine that the treeview is based on the gridview too. 😊😄 Le 6 août 2016 15:56, "martin p cristia" a écrit : > It is possible to put some text in a tableview's upper left cell when >

Re: [Gambas-user] Upper left cell in a TableView

2016-08-06 Thread Gianluigi
I am not sure I understand : Public Sub Form_Open() TableView1.Columns.Count = 3 TableView1.Rows.Count = 3 TableView1.Header = 3 TableView1.Columns[0].Title = "TITLE COLUMN" TableView1.Rows[0].Title = "TITLE ROW" TableView1[0, 0].Text = "FOO" End Regards Gianluigi 2016-08-06 15:54

[Gambas-user] Upper left cell in a TableView

2016-08-06 Thread martin p cristia
It is possible to put some text in a tableview's upper left cell when both headers are set? -- Saludos Ing. Martin P Cristia -- ___ Gambas-user mailing list Gambas-user@list