Recent

Author Topic: TCSVDataset best practices  (Read 286 times)

msocorcim

  • New member
  • *
  • Posts: 8
TCSVDataset best practices
« on: June 25, 2022, 05:10:45 pm »
What's the difference between: CVSDataset1.Close and CVSDataset1.Active := False?

Thanks

wp

  • Hero Member
  • *****
  • Posts: 10060
Re: TCSVDataset best practices
« Reply #1 on: June 25, 2022, 05:12:49 pm »
Nothing.

From the sources of TDataset (from which TCSVDataset inherits):
Code: Pascal  [Select][+][-]
  1. procedure TDataSet.Close;
  2. begin
  3.   Active:=False;
  4. end;

msocorcim

  • New member
  • *
  • Posts: 8
Re: TCSVDataset best practices
« Reply #2 on: June 25, 2022, 05:44:05 pm »
Thanks!

I just realized (or maybe relearned) that the IDE hint links to the ancestor class implementing the method not the class itself. I've been away from Lazarus/Delphi for about 12 years, so it's hard to know what sure what I forgot and what I never knew :)

Anyhow, my renewed interest in Lazarus is due to Monodevelp's questionable prospects, and it's pleasing to see how active the Lazarus Community is.

dsiders

  • Hero Member
  • *****
  • Posts: 683
Re: TCSVDataset best practices
« Reply #3 on: June 25, 2022, 05:58:56 pm »
Thanks!

I just realized (or maybe relearned) that the IDE hint links to the ancestor class implementing the method not the class itself. I've been away from Lazarus/Delphi for about 12 years, so it's hard to know what sure what I forgot and what I never knew :)

Anyhow, my renewed interest in Lazarus is due to Monodevelp's questionable prospects, and it's pleasing to see how active the Lazarus Community is.

Are you referring to the pop-up help or code navigation in the editor?
Preview Lazarus 2.3.0 documentation at: https://dsiders.gitlab.io/lazdocsnext

 

TinyPortal © 2005-2018