Question:

VB: Can I add options to a message or Should i add a new form?

by  |  earlier

0 LIKES UnLike

I want it to say "Select Degree of difficulty" Then have 4 buttons : easy medium Hard and Random, How do I do this,This is using Visual Basic and I plan to put most of my code for the actual program depending on which degree of difficulty

 Tags:

   Report

1 ANSWERS


  1. There are some API's that will let you customize the standard messageboxes, but that's a lot of complication

    for this purpose.

    Just create another form.

    If vb6 - have the form set a global var in a basModule.

    If .net - create a public function on the new form

    with a return type you can decode (like an Enum or Int)

    so in crude psuedo-code

    on mymainform

       create new messageform

       userresponse = messageform.askuser()

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.