James Posted January 14, 2007 Share Posted January 14, 2007 I'm using: #include <GUIConstants.au3> $GUI = GUICreate("", 600, 500) $RichText = ObjCreate("RICHTEXT.RichTextCtrl") GUICtrlCreateObj($RichText, 10, 10) GUICtrlSetPos(-1, 10, 10, 580, 480) With $RichText .Text = "Bold Text Underline Text" .SelStart = 0 .SelLength = 9 .SelBold = True .SelStart = 10 .SelLength = 14 .SelUnderline = True EndWith GUISetState() $RichText.SelLength = 0 While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd oÝ÷ Ø"G¦¶)àjw«®ÚºÚ"µÍ ÊHOIÝÈÛHØXÝ]HXXÈ[ÝÙY[[ ][ÝÕÚ] ][ÝÈÝ][Y[Ú] ÌÍÔXÚ^Ú]TÔ I haven't used rich text before, and also the with command is new to me. Secure Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
James Posted January 14, 2007 Author Share Posted January 14, 2007 Problem fixed, I didn't have RICHTX32.OCX Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ 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