Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you create a yesno messagebox in Attachmate Extra

Status
Not open for further replies.

WILLIAMSRENAULT

Technical User
Oct 27, 2012
3
GB
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
 
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top