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

Calling the inherited code for an object method

Status
Not open for further replies.

StewartUK

Programmer
Feb 19, 2001
860
GB
I have a form where there is a lable and a combo.

The lable has the following code in the Click event:
Code:
DO FORM CreateaFlag
THISFORM.cboJob.InitialSelect()
The method cboJob.InitialSelect has no code in it, but the class it is based on does have code.

Will the above call execute the class method code?

Thanks,

Stewart
 
What an idiot!!

It is running the class method code for InitialSelect.

However the form form "CreataFlag" isn't modal, so that meant that although the form ran OK and created the table record, the next line cboJob.InitialSelect had already run before the new record had been created. Doh!

Thanks Geoff

Stewart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top