[Gambas-user] Select a Tabelview entry?

Rolf-Werner Eilert eilert-sprachen at ...221...
Mon Jun 23 12:15:03 CEST 2008


Stefan Miefert schrieb:
>> I wouldn't do it in the _data event but somewhere else. Then try
>>
>> Tableview.MoveTo(Row, Column)
>> Tableview.Current.Selected = True
> 
> 
> Hello,
> 
> hm, this dosent work. Their is no select/selected after the "TBLview.xxxx"
> 


Oops - sorry, I didn't look this up before I answered...

You're right, it's Tableview.Rows[something].Selected

Maybe there are 2 things: not to write it in the _data event AND look 
which mode the control has for selecting Rows and Columns. I always use 
Line mode, never Both.

Rolf




More information about the User mailing list