×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Dialog Box Problem

Dialog Box Problem

Dialog Box Problem

(OP)
Hello, I made this dialog box. However How do I check what the values were after the user goes through that dialog box?

Here is the dialog box

Begin Dialog selectionsDialog 200,235, "Select Attributes Desired"
            CheckBox 15,16,64,12, "Customer Name", .Checkbox1
            CheckBox 15,26,60,12, "Customer SSN", .Checkbox2
            CheckBox 15,36,56,12, "Customer PH", .Checkbox3
            CheckBox 15,46,48,12, "Address 1", .Checkbox4
            CheckBox 15,56,48,12, "Address 2", .Checkbox5
            CheckBox 15,66,60,12, "Customer Bus", .Checkbox6
            CheckBox 15,76,44,12, "Use From", .Checkbox7
            CheckBox 15,86,20,12, "To", .Checkbox8
            CheckBox 15,96,64,12, "Customer City", .Checkbox9
            CheckBox 15,106,68,12, "Customer State", .Checkbox10
            CheckBox 15,116,80,12, "Customer Zip Code", .Checkbox11
            CheckBox 100,16,80,12, "Customer Employer", .Checkbox12
            CheckBox 100,26,78,12, "Customer Country", .Checkbox13
            CheckBox 100,36,64,12, "Date of Birth", .Checkbox14
            CheckBox 100,46,88,12, "Customer Occupation", .Checkbox15
            CheckBox 100,56,40,12, "On File", .Checkbox16
            CheckBox 100,66,40,12, "Contact", .Checkbox17
            CheckBox 100,76,24,12, "BID", .Checkbox18
            CheckBox 100,86,44,12, "Officers", .Checkbox19
            CheckBox 100,96,72,12, "Officer Address", .Checkbox20
            CheckBox 100,106,92,12, "Customer Maintanence", .Checkbox21
            GroupBox 15,135,150,65, "Account Information"
            CheckBox 15,145,28,12, "BNK", .Checkbox22
            CheckBox 15,155,68,12, "Account Number", .Checkbox23
            CheckBox 15,165,24,12, "BID", .Checkbox24
            CheckBox 15,175,28,12, "Mail", .Checkbox25
            CheckBox 15,185,28,12, "Open", .Checkbox26
            CheckBox 100,145,60,12, "Relationship", .Checkbox27
            CheckBox 100,155,24,12, "Own", .Checkbox28
            CheckBox 100,165,32,12, "Closed", .Checkbox29
            CheckBox 100,175,40,12, "Product", .Checkbox30
            PushButton 150,215,20,14, "Ok"
        End Dialog
        Dim myDialog as selectionsDialog
        Dialog myDialog

RE: Dialog Box Problem




Hi,

Typically, with controls, you have one procedure that paints the screen.

The Control might just sit there forever, if no one does anything, the application ends or hell freezes over.

You must code an event for instance, a button_click event. This is a separate procedure that is called when the user clicks the button and preforms what you want to happen in that event.

Skip,

glassesJust traded in my old subtlety...
for a NUANCE!tongue

RE: Dialog Box Problem

(OP)
That actually pointed me into the right direction. Thank you for helping. The thought behind the process was really simple thank you!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close