![]() |
| ||
| msgbox that includes "yes to all" and "no to all" 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 |
| ||
| Re: msgbox that includes "yes to all" and "no to all" 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 |
| ||
| Re: msgbox that includes "yes to all" and "no to all" Cool thanks Veena. Your a star Kind regards Paresh |
| ||
| Re: msgbox that includes "yes to all" and "no to all" 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 |
| ||
| Re: msgbox that includes "yes to all" and "no to all" when you call the form add vbmodal frmmsg.show vbmodal |
| ||
| Re: msgbox that includes "yes to all" and "no to all" Cool, thanks. Works perfect |
| All times are GMT -4. The time now is 8:59 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC