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!

to call open event of descendant from ancestor

Status
Not open for further replies.

jancypaul

Programmer
Aug 3, 2007
20
GB

Dear all please help me

What I have to do to call the open event of the descendant object before calling the open event of the ancestor.

Please help me..


 
Put your code in the descendent event. From the Edit menu uncheck the 'Extend Ancestor Script'. This overrides the ancestor. At the point in the descendent code you want to trigger the ancestor event (open in your case) put the following:

super::event open()


Matt

"Nature forges everything on the anvil of time
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top