Ham
asked on
Responding to a ButtonClick
Q1. How do I by bypass a button click? For example: Instead of clicking the button with the mouse,I want it to respond to design time code that makes the button think its been clicked.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
A simple question does deserve a simple answer. However-
How can I use the OnClick or OnClose event without actually using the Form and it's name - I want to use something like
Screen.ActiveForm as it doesn't use names.
Reason being is that I want it to respond (to either OnClose or OnClick) on many forms that fall into certain category.
ie. If a Form has a certain height, rather than manually (with the mouse) close or click I would like design code to do this.
Thanks.
How can I use the OnClick or OnClose event without actually using the Form and it's name - I want to use something like
Screen.ActiveForm as it doesn't use names.
Reason being is that I want it to respond (to either OnClose or OnClick) on many forms that fall into certain category.
ie. If a Form has a certain height, rather than manually (with the mouse) close or click I would like design code to do this.
Thanks.
Sorry, I cant't understand. A more complete example would help. What means 'design code'?
ASKER
How can I use the OnClick or OnClose event without actually using the Form and it's name - I want to use something like
Screen.ActiveForm as it doesn't use names.
Reason being is that I want it to respond (to either OnClose or OnClick) on many forms that fall into certain category.
ie. If a Form has a certain height, rather than manually (with the mouse) close or click I would like design code to do this.
Thanks.