A compile problem or a conceptual one
From: Stark (starkwedder_at_virgilio.it)
Date: 11/27/03
- Next message: Stark: "Re: A trick to get some values from one form to another"
- Previous message: Stark: "Re: A trick to get some values from one form to another"
- Next in thread: Bruce Roberts: "Re: A compile problem or a conceptual one"
- Reply: Bruce Roberts: "Re: A compile problem or a conceptual one"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 Nov 2003 22:05:40 GMT
I moved a proc from one module to another and I cannot compile it anymore. I
don't understand why. It fails with the message "Undefined identifier Self"
in the following statement:
NewItem := TMenuItem.Create(Self);
The unit where the proc used to be was a form with a TMenu as a component,
while the unit where the proc was moved is a unit with no form (where I keep
more general routines), so I suspect that the problem has something to do
with this.
- Next message: Stark: "Re: A trick to get some values from one form to another"
- Previous message: Stark: "Re: A trick to get some values from one form to another"
- Next in thread: Bruce Roberts: "Re: A compile problem or a conceptual one"
- Reply: Bruce Roberts: "Re: A compile problem or a conceptual one"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|