Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 02-02-2005, 09:01 AM   #1 (permalink)
Zin
 
Newb Techie

Join Date: Feb 2005

Posts: 7

Zin

Default Visual basics 6

Hi. I want to programme a message box to appear with the options I want. I want it to display the message I want (i know how to do this) but I can only choose a limited possible options like VBYesNoCancel.

Basically, I want a message box asking someone if they would like the page to become protrait or landscape. I also want the possible options to display Portrait, Landscape and Cancel.

How do I do that?
Zin is offline  
Old 02-02-2005, 12:40 PM   #2 (permalink)
 
True Techie

Join Date: Sep 2004

Posts: 156

ZoneFire

Default

maybe you can try using a command button for that.
in fact, you have a lot of possible options.
for example, you can code the yes, no for each options.

but then, i think it can be done by showing up another form with the command buttons.
correct me if i am wrong XD
thank you
__________________
The important thing is not to stop questioning...
Albert Einstein
ZoneFire is offline  
Old 02-11-2005, 08:30 AM   #3 (permalink)
 
Ultra Techie

Join Date: Dec 2004

Location: New Brunswick, Canada

Posts: 511

LegendBreath

Send a message via MSN to LegendBreath
Default

Maybe that will help you:

PHP Code:
Dim YesNo As String

YesNo 
MsgBox("Landscape?"vbYesNoCancel"Landscape?")

'you don't need to do any special thing for the cancel
If YesNo vbYes Then
'here is if he press yes
ElseIf YesNo = vbNo Then
'
here is if he press no
End 
If 

__________________
LegendBreath is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On