Solved

What TFake does?

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

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.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

860 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