|
-
Jul 29th, 2007, 05:13 AM
#1
Thread Starter
Junior Member
[2005] Trigger Form Events
Dear all,
How i can trigger the form events which is call from other forms(opened by showdialog) like the events load, button click etc.
thanks
-
Jul 29th, 2007, 08:32 AM
#2
Re: [2005] Trigger Form Events
You don't artificially raise events. If you want something to happen then you call a method. If you want the same thing to happen when an event is raised then you call the same method from the event handler. An exception to that is the Click event of some controls, including the Button. You can call the PerformClick method of a Button and it will raise an actual Click event.
-
Jul 30th, 2007, 12:01 PM
#3
Thread Starter
Junior Member
Re: [2005] Trigger Form Events
yes, your are right, i should use the method instead!, thanks very much.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|