Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-08

Inherited

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Peter Vreman
to Shane Miller: I don't think this message board got this message I sent earlier: I see in Delphi that…
you wrote 10 lines
I don't think this message board got this message I sent earlier: I see in Delphi that you can simply call Inherited; in a procedure and it'll call the inherited procedure. Is this support being added to FPC? Also, FREEMEM seems to require a size in FPC but not in Ddelphi. Any idea on when that will be changed? I'm converting some Delphi code and have to keep adding code whenever a FREEMEM appears.

I'll forward the message to the other developpers. At least for the freemem we had already a bit of discussion, but nothing real was decided at that time.

Reply by email

Shane Miller

I don't think this message board got this message I sent earlier:

I see in Delphi that you can simply call
Inherited;
in a procedure and it'll call the inherited procedure. Is this support being added to FPC?

Also, FREEMEM seems to require a size in FPC but not in Ddelphi. Any idea on when that will be changed? I'm converting some Delphi code and have to keep adding code whenever a FREEMEM appears.

Shane

>> "Jeff Wormsley" 08/13 12:55 PM >>>

On 8/13/99, at 7:16 PM, Marc Weustink wrote:

All of the deleted part is understood.

Show quoted text 5 lines
>How >do you, after the create, tell a window that it has a parent, when it did >not have one when it was created? like line 3 and 4.

No, not the object, the window, the thing pointed to by the HWnd handle. When you call CreateWindow, you pass either a parent window handle, or you pass 0 for no parent. If you create the handle with a 0, can you change the window parent later? If so, how? This has nothing to do with the TWinControl or whatever object, only the HWnd data.

Jeff.

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller

I see in Delphi you can simply place

Inherited;

in a procedure and it'll call the inherited procedure automagically. Can we add this to FPC please. I need it for compatability.

Shane

Reply by email

Samuel Liddicott
to Shane Miller
Show quoted text 14 lines
-----Original Message----- From: Shane Miller Sent: 16 August 1999 02:19 PM To: Subject: [lazarus] inherited I see in Delphi you can simply place Inherited; in a procedure and it'll call the inherited procedure automagically. Can we add this to FPC please. I need it for compatability.

in Delphi 1 this only works for message handler procedures. I think in Delphi 4 it will call any inherited procedure with the same arguments.

Sam

Reply by email