Results 1 to 4 of 4

Thread: custom msgbox

  1. #1
    Join Date
    Apr 2004
    Location
    ny, ny
    Posts
    224

    Unanswered: custom msgbox

    Is it possible to make a customized msgbox with varying text
    Presently I am using msgbox("TEXT")
    I did like to make a form that looks like a msgbox and put different TEXT in it
    Can anyone guide me on how to accomplish this

    thank you

  2. #2
    Join Date
    Mar 2004
    Location
    San Diego
    Posts
    45
    If you want your form to look like a message box, just design it that way, with whatever buttons you want, and code the buttons. There are windows bitmaps you can grab to get the different images within the box.

    I am not sure what you mean by varying text. Isn't that the nature of message boxes? They display whatever you want them to. Whether you assign a string to a variable and use that, or just type out a string, the box changes whenever you tell it to.

    Am I not understanding your question?

  3. #3
    Join Date
    Jun 2004
    Location
    Terrapin Nation
    Posts
    205
    I think she means using text from a form in a message box in which case you would do something like:



    msgbox me.txtVaryingText.Value

    or you could Dim a string variable like:


    Dim myText as String


    and after you set the myText variable use it in a msgbox like:

    MsgBox myText

  4. #4
    Join Date
    Mar 2004
    Location
    San Diego
    Posts
    45

    Wink

    Okay, I see. After I read your post I reread the original. That is probably what FullyMooned wants.

Posting Permissions

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