How is data saved

Comments on existing version & Suggestions for future versions. If you want a new feature suggest it here. Discussions about beta versions also come in this section.
Post Reply
tigerray
Posts: 26
Joined: 2024-06-16 16:34:25
Location: US
Contact:

How is data saved

Post by tigerray »

I added the following code to the end of the procedure TMainWindow.ThumbsViewerCellFocusedChange in main.pas:

if ((IdxItem >= 0) and (IdxItem < MovieList.Count)) then
LaunchProg(MovieList.Items[IdxItem].strFilePath);

I added the code so that the movie will be played when you click on the picture of the movie.

Everything worked fine until I started deleting entries in the catalog. How it remembers those entries is a mystery to me but it keeps the memories of the entries and becomes out of order.

Also, there is no way to change the background of the display page to black. The display page is owned by the app or something, according to google.

It says you can create your own page and let it be a child of the parent page or something but it sounds like alot of work and knowledge of delphi.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: How is data saved

Post by antp »

I can't really help with that Thumbviewer component, it was added in AMC by Mickael and I never touched that part of the code.
tigerray
Posts: 26
Joined: 2024-06-16 16:34:25
Location: US
Contact:

Re: How is data saved

Post by tigerray »

Thanks. No problem. I like playing around with this code. You can tell a lot of work has gone into this. The way the subroutines are built, they had to be built as support for the components, like rkSmartView, Toolbar2000, etc.

They had to do a lot of reading on how it works to set it up properly. It probably started out as a small project and they just kept adding on to it.

It looks like everything is saved in the .amc file so I can just manually change it.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: How is data saved

Post by antp »

tigerray wrote: 2024-08-26 12:38:36It probably started out as a small project and they just kept adding on to it.
The project started in 2001 and was actively developed until 2003. Then it slowed down, with a major version in 2005 and a last update in 2007.
Between 2011 and 2015 several features were added by Mickaël.
After that, it was mostly small fixes to keep the program running, as I took back the development for maintenance since 2018.
Cf this history list: https://antp.be/software/moviecatalog/history
tigerray
Posts: 26
Joined: 2024-06-16 16:34:25
Location: US
Contact:

Re: How is data saved

Post by tigerray »

That's an interesting history and a cool program. It's actually very versatile.
Post Reply