Recent

Author Topic: TCSVDataset best practices  (Read 707 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: 11854
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: 1052
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 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

 

TinyPortal © 2005-2018