|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
HTML prob
Hi, im trying to create a HTML editor that when you click on a command button a html tag appears in the text box 1 (using VB offcourse).
I want <BODY bgcolor="red"> to appear in the text box, heres the code i use: Form1.Show For i = 1 To 1 Text1.Text = "<BODY bgcolor="red">" Next i Can anybody suggest what i'm doing wrong and tell me how to fix it. Thanks for any help |
|
#2
|
||||
|
||||
|
Code:
Form1.Show In the Load Event of the form Text1.Text = "<BODY bgcolor='red'>" Last edited by Memnoch : March 31st, 2004 at 10:27 AM. |
|
#3
|
|||
|
|||
|
On a form with a command button and a text window
Code:
Private Sub Command1_Click() Text1.Text = "<BODY bgcolor="red">" End Sub I don't understand why you have a loop above, a loop that will only iterate once.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > HTML prob |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|