Sign in to follow this  
Followers 0
Phaser

Is it possible to have an alert while building the GUI

3 posts in this topic

Hi Guys

Currently I have hardcoded an element

GUICtrlCreateLabel("String", 10, 112)
$boxd = GUICtrlCreateInput("1,2,3,4", 145, 109, 80, 16)
GUISetState()
 
Global $stringarray = StringSplit(GUICtrlRead($boxd),",",2)
Global $arraysize = UBound($stringarray)

However, once the GUI is loaded I cannot change those elements, well I can but it doesn't change the array I built.

Is there a way to aks a question so I can enter the string BEFORE it gets built?

HERE FOR EXAMPLE
 
GUICtrlCreateLabel("String", 10, 112)
$boxd = GUICtrlCreateInput("1,2,3,4", 145, 109, 80, 16)
GUISetState()

Global $stringarray = StringSplit(GUICtrlRead($boxd),",",2)
Global $arraysize = UBound($stringarray)

MsgBox doesn't have anyway of entering text, is there anyway around this.

Thanks as always guys

Share this post


Link to post
Share on other sites



Have you looked at an InputBox?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Have you looked at an InputBox?

No I hadn't but thanks for the pointer, looks promising

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0