Help regarding GUI

Get help with using AutoHotkey and its commands and hotkeys
Posts: 111
Joined: 11 Oct 2017, 17:59
Location: Republic of Serbia

Help regarding GUI

26 Oct 2017, 06:10

Is it possible to make GUI edit box don't let you enter number that is less than 5 and greater than 8?
I mean, without even submitting it, like auto correct?
Posts: 1147
Joined: 06 Mar 2017, 16:18
GitHub: AAhkUser
Location: France

Re: Help regarding GUI

26 Oct 2017, 06:38


The simplest way is to attach an UpDown GUI control to the Edit control:

Code: Select all

Gui, Add, Edit, +ReadOnly,
Gui, Add, UpDown, vMyUpDown Range5-8, 1
Gui, Show, AutoSize
my scripts

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], CarPiotr, chriskeith21, Chunjee, superpeter and 69 guests