[Gambas-user] combobox scrolling

Fabien Bodard gambas.fr at gmail.com
Mon Oct 23 10:48:59 CEST 2023


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231023/78d4f4e7/attachment.htm>


More information about the User mailing list