Tiger Posted August 20, 2007 Share Posted August 20, 2007 (edited) How can i set the limit 80 signs per line in a Edit-ControlEdit: After the 80 signs then set the rest in a new line Edited August 20, 2007 by Tiger My UDFs:- _RegEnumKey Link to comment Share on other sites More sharing options...
lordofthestrings Posted August 20, 2007 Share Posted August 20, 2007 trying to automate the writing of Guitar tablatures? $test = "-----------------------------------------------------" $length = StringLen($test) if $length=80 Then msgbox(0, "", $length) Else $delta = 80 - $length EndIf If $delta <> 0 Then For $i = 1 To $delta $test = $test & "-" Next EndIf msgbox(0, "", $test) $length = StringLen($test) msgbox(0, "", $length) Link to comment Share on other sites More sharing options...
Tiger Posted August 20, 2007 Author Share Posted August 20, 2007 OK, thanks. i test it in the evening. My UDFs:- _RegEnumKey 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