|
-
Jan 9th, 2001, 11:42 PM
#1
Thread Starter
Lively Member
Hello...
I have a text field which I am using in a HTML editor program. Now i need to insert tags in the text field just like the real source code. But how do I insert tags in different lines in the text field???
For example:
this is what it should look like:
----------------------------
<html>
<head>
<title></title>
<body>
</body>
</head>
</html>
----------------------------
if i say this in a command button:
text1.text = "<html>"
text1.text = text1.text & "</html>"
but then the text field looks like this:
---------------------
<html></html>
---------------------
but i want it to look like this:
---------------------
<html>
</html>
---------------------
how do i do this?????
-
Jan 9th, 2001, 11:51 PM
#2
Hyperactive Member
Try
text1.text = "<html>"
text1.text = text1.text & vbCrLF & "</html>"
Give that a try, I am not sure if it will fly or not!
Lee
 Mahalo 
VB6(SP5), VC++, COBOL, Basic, JAVA
MBA, MCSD, MCSE, A+
Computer Forensics
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|