Results 1 to 5 of 5

Thread: put my own text on msgbox buttons ??

  1. #1

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,604
    Subject says it all.
    Is it easy? Possible?

    Thanks


    Wengang
    Wen Gang, Programmer
    VB6, QB, HTML, ASP, VBScript, Visual C++, Java

  2. #2

  3. #3

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,604
    well, i have played around with that very idea, but I'm having a lot of trouble passing data back and forth with the two forms, and also in making the form behave like a message box.

    in this case:
    I put 3 buttons on a form that emulates a msgbox. depending on the button clicked, the second form will return a value of 1, 2, or 3 to a public variable from the original form. It always returns zero. Also, a message box should stop the forms activity until it has been responded to. I was only able to do that with a
    do
    doevents
    loop until (a value is returned from the msgbox form)

    and still it only returns zero.

    ANyway, ideas?

    Wen Gang, Programmer
    VB6, QB, HTML, ASP, VBScript, Visual C++, Java

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Code:
    Yourmsgboxform.Show vbModal, yourmainform
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  5. #5
    Addicted Member
    Join Date
    Jul 1999
    Location
    Portland, OR.
    Posts
    226
    Go to search in this forum, and do a search by member of
    Aaron Young.

    He answered this Q almost 2 months ago.

    Good Luck.

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