RE: TZF - TzGrid Colors

Alex Mackinnon <[email protected]> Thu, 6 Nov 2003 12:05:53 -0000
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
Just descend a class from TTzDBF, add your customized functions as
overrides or as new properties/procedures/functions and then use that
wherever you would have used a TTzDBF.
 
A.

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: 06 November 2003 11:53
To: [email protected]
Subject: Re: TZF - TzGrid Colors




Thanks Abi - That works perfect .

Marie - Hope you heard this !!  

Now that this works like we (at least Marie and I) want.
Wonder how I include these changes in
all of my TTzDBF objects.  In other words,
how do I extend the TzDBF object to a new
object TTzDBFrowColor object which has
these characteristics:

  i- the current row is different color that other rows
  2- the selected field is different in color than the current row


Bob Watson
____________________________


In a message dated 11/06/2003 5:35:53 AM Eastern Standard Time,
[email protected] writes:




Hi Bob:

For some unknown reason, I don't always get the emails from the group so
I
am not exactly sure the key point of the subject. I am also using D5 so
I
just tried your codes from the email. It looks like you need to add a
repaint in the TzDbf1AfterScroll event.

procedure TForm1.TzDbf1AfterScroll(DataSet: TDataSet);
begin
  globCurrentMasterRecordNo:=tzDBF1.RecNo;
   tzgrid1.refreshgrid;     //  **   add this ** //
end;


Abi

--^----------------------------------------------------------------
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt
Or send an email to: [email protected]

TOPICA - Start your own email discussion group. FREE!
http://www.topica.com/partner/tag02/create/index2.html
--^----------------------------------------------------------------