8000 GitHub - maestrith/GUIClass
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

maestrith/GUIClass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

GUIClass

Basic Usage: Download the Zip file from Github.

#Include Includes\GUIClass.ahk
MainWin:=New GUIClass(1,{MarginX:2,MarginY:2,Background:0,Color:"0xAAAAAA"}) ;Instantiate the class
MainWin.Add("Edit,vMyEdit gMyEdit w500 h500,Default Text,wh") ;Add a Control to the GUI with the Name of MyEdit
MainWin.Show("My Window Name") ;Show the Window with the name of "My Window Name"
return
MyEdit(){
  global MainWin
  All:=MainWin[] ;Get all of the values from the Controls
  ToolTip,% All.MyEdit ;Display the value for MyEdit
}
1Escape(){
  ExitApp ;This Function will be called when the user press Escape with the Window Focused
}
1Close(){
  ExitApp ;This Function will be called when the user presses the X to close the Window
}

The file GUIClass.ahk has a more in depth example.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published
0