Zepx Posted December 5, 2007 Posted December 5, 2007 Hi,I just want to ask 2 questions.1. If I were to create GUI, what would be the best function to create Words, probably a paragraph. I've used GUICtrlCreateLabel. Is it correct?2. If I want to align my label texts in to a paragraph font, Like this:ask djsalkdjsakldjklsajdlksajdklsajdkljsakldjalskjdklsajdklsajdlksajdlkasjldkjsalkdjsakldjklasjdklasjkldjsalkdjlaksjdHow can I do it?Thanks in advanced.
smashly Posted December 5, 2007 Posted December 5, 2007 (edited) Hi, Yep it's very possible#include <GUIConstants.au3> $Gui = GUICreate("Label Paragraph Centered", 500, 80) $Label = GUICtrlCreateLabel("This is a small Paragrah of text written on a Label." & @LF & _ "Hopefully this is waht your after.", 10, 10, 480, 60, $SS_CENTER) GUICtrlSetFont(-1, 14, 700, Default, "Comic Sans MS") GUICtrlSetColor(-1, 0x0000ff) GUISetState() While 1 If GUIGetMsg() = -3 Then Exit WEnd Cheers Edited December 5, 2007 by smashly
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