Phaser Posted December 1, 2012 Share Posted December 1, 2012 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 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 1, 2012 Moderators Share Posted December 1, 2012 Have you looked at an InputBox? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Phaser Posted December 1, 2012 Author Share Posted December 1, 2012 Have you looked at an InputBox?No I hadn't but thanks for the pointer, looks promising Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now