Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dialog Box Problem

Status
Not open for further replies.

mkjp2011

Programmer
Aug 24, 2010
15
US
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
 



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,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
That actually pointed me into the right direction. Thank you for helping. The thought behind the process was really simple thank you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top