• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 179
  • Last Modified:

What TFake does?

Hi folks, i´ve already looked forward in DELPHI help but i didnt find what TFake command does.

I have this example:

procedure TForm1.DBGrid1ColEnter(Sender: TObject);
  Label1.Caption := Format (
    'Column: %2d; Row: %2d',
    TFake (DbGrid1).Row]);

But i still dont knowing what this TFAKE does.

Anyone knows?

Thx. for now.
1 Solution
there should be somewhere
  TFake = Class(TDBGrid);

and allows access to protected attributes of the TDBGrid,
if it used as TypeCast, as in your sample above

meikl ;-)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now