June 11th, 2003, 11:37 AM
Writing to screen in VB 4
How can I place text on the screen when using a form?
June 11th, 2003, 01:26 PM
Add either a text box or label to the form.
You can change the text programatically by accessing the object you added.
for a text box:
Text1.Text = "Something you want to show"
or for a label
Label1.Caption = "Something you want to show"
June 11th, 2003, 10:48 PM
Write to Form
You mean that say if I had a Fireworks Display on my scree I would have to put a label or a button just to print my name or anything else?
June 12th, 2003, 07:52 AM
You have to have some form of object that will accept text. This is most commonly a text area or a label. This could also be a rich text control, etc...
What are you trying to do?
If you want the text to show up but not the background, easiest way would be to use a label and set the background to transparent. You might also want to set the zorder to 0 (I believe) which would put it to the top of the screen above everything else.