Hi,
I have added a new text field (EFileName) in the FrmMovie Frame like the other fields.
Now I want to use this field in a script. It seems that I have to go over fieldFileName to get access. I tried to copy and modify the fieldOriginalTitle and strOrigignalTitle parts in the source Code.
But now I get to constant-errors:
One in movieclass.pas - function TMovie.GetFieldValue
ant the other one in movieclass.pas - procedure TMovie.SetFieldValue
I defined fieldFileName = 32; in fields.pas
Would be nice if someone could help me
Greetings
Thorben
How to use a added field in scripts
Ok, i thought fieldCount was a field too ;-)
With fieldFileName = 31 and fieldCount = 32 I can now start the application but now I got a "list-index over Maximum (31)" during splash-screen.
So "ApplyLanguage;" (triggerd by "TMainWindow.FormShow") cause the error in the "Caption := Strings;" line.
I also get an access violation if I try to add a movie to the Listview.
With fieldFileName = 31 and fieldCount = 32 I can now start the application but now I got a "list-index over Maximum (31)" during splash-screen.
So "ApplyLanguage;" (triggerd by "TMainWindow.FormShow") cause the error in the "Caption := Strings;" line.
I also get an access violation if I try to add a movie to the Listview.