Results 1 to 3 of 3

Thread: help with function

  1. #1

    Thread Starter
    Addicted Member Sanko's Avatar
    Join Date
    Mar 2000
    Location
    Argentina
    Posts
    128

    Question help with function

    Ok my question in the original msgbox function it has a parameter (Buttons as VbMsgBoxStyle = VbOKOnly) in this section when you select the buttons it shows a combo where you can select
    = VbAbortRetryIgnore
    = VbApplicationModal
    = VbCritical
    etc..

    i trying to do a function in a module

    Public Function Message(Description As String, etc..)
    ..xx..
    ..xx..
    ..xx..
    End Function

    In Description i want to show a combo like the msgbox that contains the strings

    Error
    Question
    Information
    Yes_No

    so later i can save the string selected in a variable

  2. #2
    Fanatic Member Armbruster's Avatar
    Join Date
    Sep 2002
    Location
    Maryland Heights, MO
    Posts
    857
    I'm not sure if I understand you or not. Are you trying to get it to where you call a function and the list of possible choices show up in a combo box?

    Like this? . . .

    Attached Images Attached Images  
    "Look! Up in the sky! It's a bird! It's a plane! It's Diaper-Head Boy! (there by my name!) Yes, Diaper-Head Boy, who disguised as my son, Seth, fights a never-ending battle for truth, justice and terrorizing my house!

    Resistance is futile, you will be compiled . . . Please!

  3. #3

    Thread Starter
    Addicted Member Sanko's Avatar
    Join Date
    Mar 2000
    Location
    Argentina
    Posts
    128

    Thumbs up EXCELENT

    Thanks that is what i need

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