Re: VB2005EE: how to write datas in a form?

  • From: "Gabriel Battaglia" <iz4apu@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Wed, 13 Feb 2008 08:51:42 +0100

----- Original Message ----- From: "James Panes" < jimpanes@xxxxxxxxx >

Sent: Tuesday, February 12, 2008 8:01 PM

Hi James,

If you wish to display a title, there is a property to set for the form.
No, is not that case.

If
you wish to display text, you may do it with a label or a text box with
property "read only" set on.

Ok, I knew about TextBoxes and Labels but I was convinced it is possible also show any text just out of tools, simply writing it on the form like you can do in a window console.

I've read a guide which was writen for VB 6.0 and it has an example...
Inside a Form1_load code there were:

Dim x as integer
For x=1 to 12
Me.Print x
Next x
...

That Me.Print should write text simply in the form, without any TextBoxes or 
Labels.

But using the Print keyword in VB2005EE, returns an IO Exception cause print is 
used to write text in an opened file.

By the way, absolutely it doesn't matter: I will use a textbox.
Greetings.
Gabriel, Bologna Italy.

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: