• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • 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);
begin
  Label1.Caption := Format (
    'Column: %2d; Row: %2d',
    [TFake(DbGrid1).Col,
    TFake (DbGrid1).Row]);
end;



But i still dont knowing what this TFAKE does.

Anyone knows?

Thx. for now.
0
MinimeBoy
Asked:
MinimeBoy
1 Solution
 
kretzschmarCommented:
there should be somewhere
type
  TFake = Class(TDBGrid);

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

meikl ;-)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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