I've been searching in the docs, via google and on this forum, but strangely enough I don't find the answer.
So, is it possible to make a GUI Control -edit in my case- to automatically hide and show the (vertical) scroll bar when there is less, respectively more text than can be shown into the box? By style or possibly with a listener?
Thanks.
Autmatically show or hide scroll bars
Re: Autmatically show or hide scroll bars
https://github.com/samfisherirl/Easy-Auto-GUI-for-AHK-v2RUBn wrote: ↑08 Nov 2023, 04:37I've been searching in the docs, via google and on this forum, but strangely enough I don't find the answer.
So, is it possible to make a GUI Control -edit in my case- to automatically hide and show the (vertical) scroll bar when there is less, respectively more text than can be shown into the box? By style or possibly with a listener?
Thanks.
right click options, events and window. search scroll bar
https://github.com/samfisherirl
? /Easy-Auto-GUI-for-AHK-v2 ? /Useful-AHK-v2-Libraries-and-Classes : /Pulovers-Macro-Creator-for-AHKv2 :
? /Easy-Auto-GUI-for-AHK-v2 ? /Useful-AHK-v2-Libraries-and-Classes : /Pulovers-Macro-Creator-for-AHKv2 :
- Noitalommi_2
- Posts: 331
- Joined: 16 Aug 2023, 10:58
Re: Autmatically show or hide scroll bars
@RUBn
Hi,
I don't know if this could be an alternative for you but you could create a pseudo edit scrollbar out of up/down buttons or maybe pictures, which could then be automatically hidden or shown depending on the number of rows.
Hi,
I don't know if this could be an alternative for you but you could create a pseudo edit scrollbar out of up/down buttons or maybe pictures, which could then be automatically hidden or shown depending on the number of rows.
Re: Autmatically show or hide scroll bars
Could you be a bit more specific? I searched for scroll bar and gives me too many results which would make me reverse engineer the code. Does this github code include a self made a custom scrollbar or a listener that shows/hides the basic scrollbar?
Thanks
Sure, but I can do that with the existing ahk scroll bar too. It is hidable.Noitalommi_2 wrote: ↑08 Nov 2023, 10:37... which could then be automatically hidden or shown depending on the number of rows.
I am also:
-motiv for professional, volunteer & open source (web) development
![Image](https://www.e-motiv.net/images/e-motiv%20logo16x16.png)
Who is online
Users browsing this forum: Xeilous and 64 guests