Sign in to follow this  
Followers 0
Tiger

max. 80 signs per line

3 posts in this topic

#1 ·  Posted (edited)

How can i set the limit 80 signs per line in a Edit-Control

Edit: After the 80 signs then set the rest in a new line

Edited by Tiger

My UDFs:- _RegEnumKey

Share this post


Link to post
Share on other sites



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)

Share this post


Link to post
Share on other sites

OK, thanks. i test it in the evening.


My UDFs:- _RegEnumKey

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0