General information
Category:
Forms & Form designer
>Eric,
>
>>Does this make sense?
>
>Yes sure! Why do You not create the form, set properties as You need them and
>let the form call the other process, when its ready to do so?.
>
>You would get rid of the "wait" position.
It pretty much does that. Im basically creating a date entry field that has an arrow next to the text field that displays a calendar and allows the user to pick a date.
The button creates the form object which creates the calendar object. The button calls the show method of the form and then execution stops. The user then either double clicks on a date, presses ESC, or click somewhere outside the form. Either one of these events calls the hide method of the form which them returns control to the calling button. The calling button them just reads the values of the calendar, sets the textbox next to it and then releases the form.
Eric
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only