[Gambas-user] combobox scrolling
BB
adamnt42 at gmail.com
Thu Oct 26 08:00:09 CEST 2023
On 23/10/23 7:18 pm, Fabien Bodard wrote:
> I think the problem come from ScrollArea
>
> D = Desktop.Scale * 60
> If Mouse.Orientation = Mouse.Horizontal Or If $H <= $hDrawingArea.H Then
> Scroll($iScrollX - Mouse.Delta * D, $iScrollY)
> Else
> Scroll($iScrollX, $iScrollY - Mouse.Delta * D)
> Endif
>
>
>
> and for me
> Print Desktop.Scale * 60 give 420 because Scale return 7
>
> Benoit ? :-)
>
>
>
> --
> Fabien Bodard
>
@Fabien
Where is that code, I can't find it (and I agree D is too big for
vertical scrolling)
b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231026/4f45ef74/attachment-0001.htm>
More information about the User
mailing list