Solved

What TFake does?

Posted on 2004-08-06
1
160 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

867 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