Jump to content
Sign in to follow this  
TokeySmurf

Instead of a msgbox - help

Recommended Posts

TokeySmurf

Rather than using msgbox.. example

Else
        MsgBox(0, "ERROR", "Program Not Running", 3)
        $Show = 0

How would I get it to display text within the actual GUI rather than making a new box?

Share this post


Link to post
Share on other sites
Jos

Rather than using msgbox.. example

Else
        MsgBox(0, "ERROR", "Program Not Running", 3)
        $Show = 0

How would I get it to display text within the actual GUI rather than making a new box?

Just put a Label Control in your GUI and update it with GUISetData() ...

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
TokeySmurf

Just put a Label Control in your GUI and update it with GUISetData() ...

Thanks, I'll read through the help file and try to figure it out :)

Share this post


Link to post
Share on other sites
TokeySmurf

Thanks, I'll read through the help file and try to figure it out :)

I couldn't find a "Label Control" or the Command Guisetdata

Share this post


Link to post
Share on other sites
Jos

I couldn't find a "Label Control" or the Command Guisetdata

You said you created you own GUI in AutoIt3 ...right ?

$hStatus = GUICtrlCreateLabel("",1,1)
;
;
GUICtrlSetData($hStatus," new status")

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
TokeySmurf

You said you created you own GUI in AutoIt3 ...right ?

$hStatus = GUICtrlCreateLabel("",1,1)
;
;
GUICtrlSetData($hStatus," new status")

Thanks once again :) .. and Aye.. Lots of reading of the help file. Its a big learning thing for me I basically created it all through the help file etc.. Tried things to see if it worked and didn't heh. This is my first GUI I'm working on

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  

×