AramisResearch Posted August 8, 2006 Share Posted August 8, 2006 (edited) I am getting odd little rectangular widgets in place of my @LF's. Can anyone tell me how to make them become real @LF's? Here's the relevant parts of code: Global $Message1 = "Server status messages will appear here." & @LF $Status1 = GUICtrlCreateEdit($Message1, 500, 24, 400, 470, BitOR($ES_READONLY, $ES_AUTOVSCROLL, $ES_LEFT, $WS_VSCROLL, $ES_MULTILINE)) Later I have lines that look like this: $Message1 = $Message1 & "No servers selected. You must select one from the server list." & @LF GUICtrlSetData($Status1, $Message1) So the contents of that edit window get updated. What I get, rather than real linefeeds, is little rectangles. I would really like to have my linefeeds back. Ihave attached an RTF file with an image that shows what I am talking about. Thanks, -Chris Edited August 8, 2006 by AramisResearch Link to comment Share on other sites More sharing options...
GaryFrost Posted August 8, 2006 Share Posted August 8, 2006 I am getting odd little rectangular widgets in place of my @LF's. Can anyone tell me how to make them become real @LF's? Here's the relevant parts of code:Global $Message1 = "Server status messages will appear here." & @LF$Status1 = GUICtrlCreateEdit($Message1, 500, 24, 400, 470, BitOR($ES_READONLY, $ES_AUTOVSCROLL, $ES_LEFT, $WS_VSCROLL, $ES_MULTILINE))Later I have lines that look like this:$Message1 = $Message1 & "No servers selected. You must select one from the server list." & @LFGUICtrlSetData($Status1, $Message1)So the contents of that edit window get updated. What I get, rather than real linefeeds, is little rectangles.I would really like to have my linefeeds back. Ihave attached an RTF file with an image that shows what I am talking about.Thanks,-ChrisTry using @CRLF SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Confuzzled Posted August 8, 2006 Share Posted August 8, 2006 Have you tried a carriage return as well as a line feed? "@CRLF" Remember the typewriter - you push the lever to the right and the paper moves up one line, and then the carriage moves across to the beginning. Link to comment Share on other sites More sharing options...
AramisResearch Posted August 8, 2006 Author Share Posted August 8, 2006 Have you tried a carriage return as well as a line feed? "@CRLF"Remember the typewriter - you push the lever to the right and the paper moves up one line, and then the carriage moves across to the beginning.I'll be darned. The strangest thing about this is that I DID try that and I got two rectangles instead of one. I tried it again, just to make sure, and it works fine. Thanks. Someone should probably get the straightjacket ready. 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