Solved

What TFake does?

Posted on 2004-08-06
1
158 Views
Last Modified: 2010-08-05
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
Comment
Question by:MinimeBoy
1 Comment
 
LVL 27

Accepted Solution

by:
kretzschmar earned 30 total points
ID: 11741943
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now