hello..
I just wonder how to Align Text to left direction ...
example :
Name : XXXX XXXX
Age : 23
Skills : XXXX, XXXX , XXXX
Address : XXXXX XXXX ( XXXX )
I want to align it to be like this :
Name : XXXX XXXX
Age : 23
Skills : XXXX, XXXX , XXXX
Address : XXXXX XXXX ( XXXX )
with no space before words or with specific number of spaces ..
any idea .. ??!!?!
Well... you don't show your code or your enviroment, I cant figure out how you get the text, or how do you print it
raul338 what code ??
my homework is to code simple text editor with VB6 ..
!!
HOLA!!!
Cita de: msdl en 21 Marzo 2011, 12:30 PM
raul338 what code ??
my homework is to code simple text editor with VB6 ..
!!
Homework? You re not at the right place.
GRACIAS POR LEER!!!
Well in this forum we don't do homework for anybody.
Try to code a function to remove spaces, if you have problem then tell us, explaining and/or showing code.
If you don't know much about vb, you always can search for a reference, like this one Visual Basic 6 String Functions (http://www.vb6.us/tutorials/vb6-string-functions)
You should start it, and then we will tell you the mistakes, 'cause we dont do homework here.
hey guys i just want a help to make align option !!
my homework is to do simple text editor like notepad ..
i already do replace , find , copy , paste , .... and i just wanna know how
to make all text aligned to left with no sapce or with specific number of spaces..
thats it ..!!
HOLA!!!
Just the alignment ?
Private Sub Form_Load()
Text1.Alignment = 0
End Sub
GRACIAS POR LEER!!!
If you would saw the link that i've posted. You would noticed about RTrim$ and LTrim$ :rolleyes: , you just have to used on every line that you want to put an "Alignment"