Re: TZF - TzGrid Colors
[email protected] Thu, 6 Nov 2003 06:52:58 EST
| Newsgroups | gmane.comp.lang.delphi.topaz |
|---|---|
| Message-ID | <[email protected]> |
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 --^----------------------------------------------------------------