×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Can you create a yesno messagebox in Attachmate Extra

Can you create a yesno messagebox in Attachmate Extra

Can you create a yesno messagebox in Attachmate Extra

(OP)
Hi,

Could anyone help me with this.

I'm trying to create a yes no messagebox in attachmate extra!, but it's not working. I've tried:


QAns = msgbox("Do you wish to print",vbyesno,"Report Complete")

and

QAns = msgbox("Do you wish to print",mb_yesno,"Report Complete")

All I get on the box however is the default OK button, so at the moment I'm having to use an inputbox

Thanks in advance for any help

RE: Can you create a yesno messagebox in Attachmate Extra

see if this helps you

CODE

msgtex= "Do you wish to print?"
    
    
    
    answer=MsgBox(msgtex, 3 + 16 + 512) 'Red X
    
    answer=MsgBox(msgtex, 3 + 32 + 512) 'Question Mark Icon
    
    answer=MsgBox(msgtex, 3 + 48 + 512) 'Yellow Triangle/Exclamation
    
    answer=MsgBox(msgtex, 3 + 64 + 512) 'Information Icon
    
    
    msgbox answer 

RE: Can you create a yesno messagebox in Attachmate Extra

(OP)
Cheers for the help remy988, that code works a treat!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close