[Gambas-user] Little bug in IconView, and a question.
Federico Leite
frederic.176 at ...626...
Sun May 1 05:29:38 CEST 2011
Hi all, IconView has a bug. This is an oversight, and verify which mouse
button has been pressed to initiate a selection. Code in the line 815:
If $iMode = Select.Multiple And Mouse.Left Then
Well, now the question. Why are we using control Separator, instead of using
a class that use Draw.Style.Separator? I improvised a little class called
"RealSeparator". Perhaps you could replace the old.
Inherits UserControl
Export
Private dwgSep As DrawingArea
Public Const _Similar As String = "Separator"
Public Sub _new()
dwgSep = New DrawingArea(Me) As "dwgSep"
End
Public Sub dwgSep_Draw()
Draw.Begin(dwgSep)
Draw.Style.Separator(0, 0, dwgSep.ClientW, dwgSep.ClientH, (dwgSep.ClientH
> dwgSep.ClientW))
Draw.End()
End
Regards,
--
Federico Leite
##############################################
Areida Developer
More information about the User
mailing list