Jump to content
Sign in to follow this  

displaying text

Recommended Posts


Im new here I just would like to know what is the easiest way GUI displaying text and update It according to the ini file.

Share this post

Link to post
Share on other sites

Hi, cowboy. It depends on how you want to view the text (editable by the end user or not?) I would suggest looking at GUICreate and GUICtrlCreateLabel in the helpfile. Something like this should get you started:

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Local $msg
GUICreate("Show my Text", 200, 200)
GUICtrlCreateLabel("This is the text I want to show.", 5, 5, 200, 100)
While 1
     $msg = GUIGetMsg()
     If $msg = $GUI_EVENT_CLOSE Then ExitLoop

You can then take a look at INIRead to see how to pull in information from an .ini file. Try your hand at creating something that looks good to you, and feel free to post your code if you run into any issues :)

Edited by JLogan3o13

"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!

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...