TC Interface Design Method
First: Determine the size of your final interface.
Second: According to the function needs, select the corresponding control price.
Third: Beautify the interface, adjust the layout position of the control of the interface, set the font color settings background picture and so on
Script code:
Function button 1_ Click () //Here Add the code you want to execute exit () Endfunction Mouse Connector _ Initialize () //Add here the code you want to execute controldomodal ("login") End
Multi-Interface Programming basics
How to create a sub-interface
Code authoring methods for sub-interfaces
Script code:
Start button _ Click Operation var account var password function Login _ start _ Click () account = Editgettext ("edit box 4", "Login") password = editgettext ("edit box 5", "login") if (Account = = "Chen One" && password = = "ASDASD") Controlclosewindow ("Login", 1) Else MessageBox ("Incorrect account or password!") end Return trueend//Exit button _ Click Operation Function Login _ exit _ Click () return TrueEnd
TC Interface Design