Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Changing MsgBox title
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
jacklarry




PostPosted: Fri Mar 02, 2007 3:59 pm   Post subject: Changing MsgBox title

is it possible to change the message box title from like "OK" to something different...like any other string...like "paste" or something like dat
Sponsor
Sponsor
Sponsor
sponsor
PaulButler




PostPosted: Fri Mar 02, 2007 4:05 pm   Post subject: RE:Changing MsgBox title

The third argument of msgbox() is the title. Eg:

VisualBASIC:

result = msgbox("Propt...", 0, "Paste")
jacklarry




PostPosted: Fri Mar 02, 2007 4:07 pm   Post subject: Re: Changing MsgBox title

thnx for the reply...i tried that but it doesnt work Crying or Very sad . if it is possible can you give me the exact code or that line so that i can change the title of the command button...like have an ok button and like a paste button
jacklarry




PostPosted: Fri Mar 02, 2007 4:11 pm   Post subject: Re: Changing MsgBox title

the one that u have given me the information to changes the title fo the msgbox but i wnat to change the title of the command button like the "Ok" or "Cancel" button. later on i want to add a code to the paste button so dat when a user clicks on it...it will paste the information from the msgbox into a seperate word file. but dat is after i get to change the button name
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: