How to get VSCROLL GUI Style to Scroll?

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
sashaatx
Posts: 342
Joined: 27 May 2021, 08:27
Contact:

How to get VSCROLL GUI Style to Scroll?

Post by sashaatx » 10 May 2024, 14:11

Image

Code: Select all

#Requires Autohotkey v2
;AutoGUI creator: Alguimist autohotkey.com/boards/viewtopic.php?f=64&t=89901
;AHKv2converter creator: github.com/mmikeww/AHK-v2-script-converter
;EasyAutoGUI-AHKv2 github.com/samfisherirl/Easy-Auto-GUI-for-AHK-v2

if A_LineFile = A_ScriptFullPath && !A_IsCompiled
{
	myGui := Constructor()
	myGui.Show("w620 h672")
}

Constructor()
{	
	myGui := Gui()
	myGui.Opt("+0x200000") ; <===== here 
	myGui.SetFont("s20", "Arial")
	myGui.OnEvent('Close', (*) => ExitApp())
	myGui.Title := "Window"
	
	return myGui
}
https://github.com/samfisherirl
? /Easy-Auto-GUI-for-AHK-v2 ? /Useful-AHK-v2-Libraries-and-Classes : /Pulovers-Macro-Creator-for-AHKv2 :

User avatar
Smile_
Posts: 859
Joined: 03 May 2020, 00:51

Re: How to get VSCROLL GUI Style to Scroll?

Post by Smile_ » 12 May 2024, 03:43

Pratical for a one window :arrow: scroll-bar

Post Reply

Return to “Ask for Help (v2)”