Results 1 to 13 of 13

Thread: Message Box Buttons

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2003
    Posts
    55

    Message Box Buttons

    Hi want to name my message box buttons instead of Ok And Cancel

    i want them to be:

    Delievery
    NUS Discount
    Extra Nights

    any ideas ?

    cheers

  2. #2
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345
    I think you need to create your own using a form. Although I do remember someone posting code to change the captions of the buttons. Either Marty or Aaron Young. The code was long though. It might be worth just making your own.
    Last edited by TomGibbons; Feb 9th, 2004 at 05:07 AM.

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 2003
    Posts
    55
    rite ok :/ so make new form say called buttons
    and then each of the command buttons do a job :/ that rite :?/

  4. #4
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345
    You mean, called 'frmButtons' right?

    But then yes, have 3 command buttons which each do a particular job. Set the form Modal, and the owner as the form which called it. And it should act just like a message box. If you need an example, just let me know.
    Last edited by TomGibbons; Feb 9th, 2004 at 05:06 AM.

  5. #5

    Thread Starter
    Member
    Join Date
    Dec 2003
    Posts
    55
    ye an example would be great cheers if u can and iif u have time. otherwise its ok

  6. #6
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345
    Okay, a basic example:
    Attached Files Attached Files
    Last edited by TomGibbons; Feb 9th, 2004 at 05:06 AM.

  7. #7
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    a sample
    Attached Files Attached Files
    -= a peet post =-

  8. #8
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    uhh...use toms sample ....
    -= a peet post =-

  9. #9

    Thread Starter
    Member
    Join Date
    Dec 2003
    Posts
    55
    cheers for the examples

    but when i press one of my buttons i cant get it to do the function needed,

    see what i need to do is on form 2 i got some text boxs

    and form3 (called frmbuttons) will load up on a push of a command button (cmdopen) and on that it will have the buttosn NUS, DELIEVERY and Extra nights

    when NUS is clicked in the text box on form2 (txtnus) it will come up with checked. when delievery is checked it says checked and so on :/

    so the button form will do the functions on form 2

  10. #10
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    I always use my custom message box, only downside is you would need say 5 yes/no buttons (for example), and make which ever visible or not, depending on the current task.

  11. #11

    Thread Starter
    Member
    Join Date
    Dec 2003
    Posts
    55
    how? and by the way im a dot net user :/ any function in that :z cheers

  12. #12
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Originally posted by Ezpz
    how? and by the way im a dot net user :/ any function in that :z cheers
    Try posting in the .NET section then

  13. #13
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345
    Do you mean like this? I don't really understand what you're asking for.
    Attached Files Attached Files
    Last edited by TomGibbons; Feb 9th, 2004 at 05:06 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width