[Gambas-user] Re; Grid / Double Click

ron ronstk at ...239...
Fri May 4 11:44:54 CEST 2007


On Friday 04 May 2007 11:25, Gareth Bult wrote:
> Hi,
> 
> Thanks for that .. one problem I have however .. when you click (or
> double click) on a header , it doesn't generate an Mouse event.
> ... it only generates an event if you're over the grid ...
> 
> However, playing with mouse clicks has I think led to a solution.
> 
> A double click on a header generates a DblClick.
> A double click on a cell generates both DblClick and MOUSE events (!)
> 
> A single click on a cell generates a Mouse Down + Mouse UP.
> A double click generates a Mouse Down and 2 x Mouse UP. (I'm guessing
> the second "DOWN" becomes the DblClick)
> 
> So, if I don't get associated mouse commands, it must be a double click
> on a header ... :-)
> 
> Now to code it ... :)
> 
> Gareth.
> 

It is long ago but the click on the header sets the column property as far I know.
You see it visual the text is bold for the column.
For the normal click you can see also the row in bold.
This was the case with TableView. 
How after the changes to the new XxxxView every thing is working is unknow. :(

Can't test it. After the change from SuSE to Kubuntu I'm not able to install
gambas anymore. I was so tiered of the many times I did try so I give up.
Still i'm interested in/about gambas and follow the maillist.
Found in the last half year many of the problems I had with gambas occurred 
also at other users so I was not crazy after all.

Ron





More information about the User mailing list