Help regarding GUI

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
HIAC
Posts: 111
Joined: 11 Oct 2017, 17:59
Location: Republic of Serbia

Help regarding GUI

26 Oct 2017, 06:10

Hello,
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?
A_AhkUser
Posts: 1147
Joined: 06 Mar 2017, 16:18
Location: France
Contact:

Re: Help regarding GUI

26 Oct 2017, 06:38

Hi HIAC,

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
return
my scripts

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 402 guests