Dear Pas2js developers,
I can not change form Caption on run-time.
I Am getting error from Pas2js compiler.
Is it possible to change form caption on run-time? Or only GUI elements can be changed? Because all other form related components can be changed. I must add Czech characters also to form Caption so I must add it manu?ly to The corresponding source file. I have tried to add it to main unit and also to .lpr file before application.run words. But Caption can not be changed. I Am calling pas2js widgets unit.
Thank you for your support.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20230228/edcc6aff/attachment.htm>
Mailing lists / pas2js / 2023-02
pas2jswidgets and changing form caption on run-time
3 messages · 2 people ·
- MMgr. Janusz Chmiel 2
- MMichael Van Canneyt 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Mgr. Janusz Chmiel wrote 6 lines
Dear Pas2js developers,
I can not change form Caption on run-time.
I Am getting error from Pas2js compiler.
Is it possible to change form caption on run-time? Or only GUI elements can be changed? Because all other form related components can be changed. I must add Czech characters also to form Caption so I must add it manu?ly to The corresponding source file.
I have tried to add it to main unit and also to .lpr file before application.run words. But Caption can not be changed.
I Am calling pas2js widgets unit.
There is only 'Title', not 'Caption', so you must set
Document.Title:='Your title';Michael.
I can not change form Caption on run-time. I Am getting error from Pas2js compiler. Is it…
Dear Michael,
Thank you for your professional advice. Very well done. Thanks to Pas2jswidgets package I can use The best from Lazarus Form editor and IDE and from directly txyping project properties to source code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20230228/25355fde/attachment.htm>
