Re: TZF - TzGrid Colors
[email protected] Thu, 6 Nov 2003 21:01:13 EST
| Newsgroups | gmane.comp.lang.delphi.topaz |
|---|---|
| Message-ID | <[email protected]> |
Alex and Marie, Just got back home ... have been away from the internet all day. Thanks for the help - Bob _____________________ In a message dated 11/06/2003 11:17:26 AM Eastern Standard Time, [email protected] writes: > Oops... I should also have said... If you use the class I produced then > (1) you'll get an error message when you place one of the new TzGridRC > controls on a form (ignore it! I just can't remember what to do to get > rid of it! LOL) and (2) you'll want to add a method to the 'master' > TTzDBF that you use to update the grid when the cursor is moved... > > A. > ================================ > procedure TForm1.TzDbf1AfterScroll(DataSet: TDataSet); > begin > TzGridRC1.RefreshGrid; > end; > > > -----Original Message----- > From: Marie Vihonsky [mailto:[email protected]] > Sent: 06 November 2003 15:54 > To: [email protected] > Subject: Re: TZF - TzGrid Colors > > > Hi Alex & Bob, > > I'd love to do 'descend a class' but I don't know how. But in this > instance, shouldn't the object be a TzGrid? I say this because aren't > we modifying the TzGrid properties and not the TzDbf. > > Marie > > Alex Mackinnon wrote: > > 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. > --^---------------------------------------------------------------- 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 --^----------------------------------------------------------------