[Gambas-user] combobox scrolling
Fabien Bodard
gambas.fr at gmail.com
Fri Oct 27 15:32:35 CEST 2023
Le ven. 27 oct. 2023 à 13:55, Bruce Steers <bsteers4 at gmail.com> a écrit :
>
>
> On Thu, 26 Oct 2023 at 11:27, Fabien Bodard <gambas.fr at gmail.com> wrote:
>
>> Yes
>>
>> Le jeu. 26 oct. 2023 à 11:43, BB <adamnt42 at gmail.com> a écrit :
>>
>>>
>>> Aha! It was that evil Frenchman about a week ago.
>>> ListBox: Add Highlight property to highlight the listbox entry under the
>>> mouse cursor.
>>>
>>> [GB.GUI.BASE]
>>> * NEW: ListBox: Add Highlight property to highlight the listbox entry under the mouse cursor.
>>> * NEW: Helper function for the future 'Window.ShowPopupAt()' method.* NEW: ScrollArea: The mouse wheel now scroll a number of pixels proportional to 'Desktop.Scale'.
>>>
>>>
> I'm trying this code in the ScrollArea.class DrawingArea_MouseWheel()
> event...
>
> D = Max(Me.Font.Size, $hDrawingArea.ClientH - (Me.Font.Size * 4))
>
> It's working a treat :)
> I subtracted "- (Me.Font.Size * 4)" from ClientH so it scrolls a little
> less than a full page.
>
> Respects
> BruceS
>
depend of your page :-) ... and of the desktop resolution
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
--
Fabien Bodard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231027/f4fa08ad/attachment.htm>
More information about the User
mailing list