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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Common Method for forms

Status
Not open for further replies.

muraliambt

Programmer
Jan 22, 2002
75
US
I want to place some common codes, where can i palce this code and how can i execute from the event or other menthods in the FORM.
 
Open the form or form class in the form designer/class designer
Go to menu Form/New method or Class/New method
Enter a name and click ok.

You have now got a custom method in your class or form.

To call this method: Object.custommehtod() or from wtihin the class/form: THIS.Custommehtod().

HTH,
Weedz (Edward W.F. Veld)
My private project:Download the CrownBase source code !!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top