Jump to content
Xtreme .Net Talk

Input and output formatting


Recommended Posts

Guest waszer
Posted

I am new to VB, last quarter I had my first VB6 class, now they switched to .Net.

 

We used Picture Boxes to output formatted text ect... now what can we use beside label/text boxes?

 

Also, is there an easy way to align text within multiple labels? Even with the TextAlign ability, it seems impossible to get them to line up. An example would be, I have 5 items I want to enter, I would have 5 labels with 5 text boxes beside each label. I want the text within the labels to be right justified (aligned top to bottom), instead I get at best a couple of labels that look good, but then there will be a couple labels that look way out of alignment no matter what I do.

 

I hope that there is something simple I am missing, and thank you in advance.

  • *Gurus*
Posted

You can draw 5 labels the same size on the form, then set each of their TextAlign properties to Right, that should work fine.

 

As far as outputting formatted text is concerned, what kind of formatting? For a GUI app your best bet is a textbox or richtextbox, otherwise make a console app.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...