jwHerm Posted January 15, 2004 Posted January 15, 2004 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. Quote
Administrators PlausiblyDamp Posted January 15, 2004 Administrators Posted January 15, 2004 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. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
jwHerm Posted January 15, 2004 Author Posted January 15, 2004 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. Quote
Administrators PlausiblyDamp Posted January 15, 2004 Administrators Posted January 15, 2004 All you need to do is assign a dialog result to the buttons through the form designer. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
jwHerm Posted January 15, 2004 Author Posted January 15, 2004 (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 January 15, 2004 by jwHerm Quote
Administrators PlausiblyDamp Posted January 16, 2004 Administrators Posted January 16, 2004 You could give the form a public function that returns a string and within that function get the form to display itself. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.