Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Is there anywhere that i can find a list of what values different numbers will return from Chr(#) ? I need a tab for a msgbox. What can i say, i like to make things look pretty.

 

Also, is there a way to right justify some of the string that i send to a msgbox as its prompt? That would be the best. Thanks.

  • Administrators
Posted

http://www.ascii.cl/

 

seems to be a pretty good ASCII chart - should find what you need in there.

 

One way to make text right aligned is the following (note the final parameter)

MessageBox.Show("Blah", "df", MessageBoxButtons.OK, MessageBoxIcon.Asterisk, MessageBoxDefaultButton.Button1, MessageBoxOptions.RightAlign)

 

although if you really want more control over the appearance you may want to design your own form instead of using a messagebox.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

that is true...thanks

 

Is it possible to make a form return a value (true/false) to its callee if it is brought up with a showdialog? That is the one reason i didnt make another form as i was having trouble communicating with its caller.

Posted (edited)
Since we're kinda on the topic, is there anyway to pass a string back to the calling form? That would be really helpful as well. Thanks. Edited by jwHerm

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...