msgbox that includes "yes to all" and "no to all"

Thread Solved

Join Date: Oct 2007
Posts: 10
Reputation: Pareshja is an unknown quantity at this point 
Solved Threads: 0
Pareshja Pareshja is offline Offline
Newbie Poster

msgbox that includes "yes to all" and "no to all"

 
0
  #1
Oct 29th, 2007
Hi Guys,

I am a newbie and need some help. Is it possible to extend the message box functions to include buton "Yes to all and "no to all" in vb6

Kind regards
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 848
Reputation: QVeen72 is on a distinguished road 
Solved Threads: 120
QVeen72's Avatar
QVeen72 QVeen72 is offline Offline
Practically a Posting Shark

Re: msgbox that includes "yes to all" and "no to all"

 
0
  #2
Oct 29th, 2007
Hi,

Create a Custom MessageBox of Your own.:
1. Add a new for say frmMsg
2. Add a LabelControl To Display Message.
3. Make Controls WordWrap = True
4. Add 5 Command Buttons
5. Name them :Yes, No, Cancel, YesToAll, NoToAll
6. Add a Public Variable in a Module. and Populate it with Some Number in each CommandClick say ... 1,2,3,4,5
7. In Calling Form use this Code:

[code=vb]
frmMsg.Label1.Caption ="Want To Delete..?"
frmMsg.Show 1
[code]

And check for the Public Variable for which button is clicked..

REgards
Veena
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 10
Reputation: Pareshja is an unknown quantity at this point 
Solved Threads: 0
Pareshja Pareshja is offline Offline
Newbie Poster

Re: msgbox that includes "yes to all" and "no to all"

 
0
  #3
Oct 29th, 2007
Cool thanks Veena. Your a star

Kind regards
Paresh
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 10
Reputation: Pareshja is an unknown quantity at this point 
Solved Threads: 0
Pareshja Pareshja is offline Offline
Newbie Poster

Re: msgbox that includes "yes to all" and "no to all"

 
0
  #4
Oct 30th, 2007
Need more help. How do I stop the application so that it can wait for the answer from the frmMsg and only when I selected a button should it carry on execution of the program.

Regards
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 189
Reputation: plusplus is an unknown quantity at this point 
Solved Threads: 16
plusplus plusplus is offline Offline
Junior Poster

Re: msgbox that includes "yes to all" and "no to all"

 
0
  #5
Oct 30th, 2007
when you call the form add vbmodal

frmmsg.show vbmodal
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 10
Reputation: Pareshja is an unknown quantity at this point 
Solved Threads: 0
Pareshja Pareshja is offline Offline
Newbie Poster

Re: msgbox that includes "yes to all" and "no to all"

 
0
  #6
Oct 30th, 2007
Cool, thanks. Works perfect
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC