[Gambas-user] Weird but reproducable Signal 11 Gridview bug (2.99 1291 build)

richard terry rterry at ...1822...
Sat Apr 5 08:55:59 CEST 2008


I reckon someone should employ me as as a beta tester, cause I can kill just 
about anything with my stupidity.

This bug is really way out there and will only occur under a strange 
circumstance. (project included).

If you've a grid on the form,

 AND the number of items in the grid exceeds the viewable area 

 AND the scoll bar property is set to either Both or Vertical (its really only 
the vertical component that kills the grid)

AND   you are stupid enough (read me only ) to put any resizing code in the 
following event:

Public Sub GridView1_ColumnResize(Column As Integer)

  gridview1.columns.Width = gridview1.columns.Width + 10

End

Then gambas will reproducably die with signal 11.

You are probably wondering why I put it there in the firstplace, well, I'd 
meant to put it in a mouse event to see what would happen if I clicked on the 
grid because when I first started playing with it today I  wondered why you 
couldn't grab the column and re-size it (until I realised that you have to 
have the headers set - which I didn't want).

Anway,main point is it should be fixable.

Regards

Richard




More information about the User mailing list