borup Posted March 7, 2008 Share Posted March 7, 2008 Is it posible to have Bold text also? #include <GUIConstants.au3> GUICreate ("My GUI") ; will create a dialog box that when displayed is centered $font="Comic Sans MS" GUICtrlCreateLabel ("underlined label",10,20) GUICtrlSetFont (-1,9, 400, 4, $font) ; will display underlined characters GUICtrlCreateLabel ("italic label", 10,40) GUICtrlSetFont (-1,9, 400, 2, $font) ; will display italic characters GUISetFont (9, 400, 8, $font) ; will display strike characters GUICtrlCreateLabel ("strike label",10,60) GUISetState () ; will display an empty dialog box ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend Link to comment Share on other sites More sharing options...
Richard Robertson Posted March 7, 2008 Share Posted March 7, 2008 I'm not sure exactly, but maybe changed the weight from 400 to something higher might work. Give it a try and see what that does. Link to comment Share on other sites More sharing options...
daslick Posted March 7, 2008 Share Posted March 7, 2008 Richard is RIGHT. You just increase the weight. Link to comment Share on other sites More sharing options...
borup Posted March 7, 2008 Author Share Posted March 7, 2008 Thx. perfect Link to comment Share on other sites More sharing options...
LIMITER Posted March 7, 2008 Share Posted March 7, 2008 You should increase it to 800 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