[fpc-pascal] Adding command line parameter to GUI application?
Luca Olivetti
luca at ventoso.org
Tue Feb 25 22:01:44 CET 2025
El 25/2/25 a les 21:28, Bo Berglund via fpc-pascal ha escrit:
> I want the program to load a video file if it appears in the command line so it
> can be immediately played rather than having to click the OpenFile button and
> navigate to the video and select it.
>
> Any ideas, suggestions, links?
https://www.freepascal.org/docs-html/rtl/system/paramcount.html
https://www.freepascal.org/docs-html/fcl/custapp/tcustomapplication.getoptionvalue.html
(read also the "See also" section)
Bye
--
Luca
More information about the fpc-pascal
mailing list