Post 1 made on Monday March 4, 2024 at 09:56 |
GJC33 Long Time Member |
Joined: Posts: | September 2010 13 |
|
|
Hi,
Anyone know if it is possible to retrieve the "Project Name" field from the system page / project tab to load into a text field?
I want to have a label object named [Lbl_Version] on my main page that automatically updates when I change my project name.
Thanks
|
|
Post 2 made on Monday March 4, 2024 at 19:50 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 13,001 |
|
|
According to the Dev Guide, if it were possible to do this, you'd do it with the System class.
I see getModel(), getSerial(), get BootloaderVersion(), getFreeCFMemory(), getFirmwareVersion(), but no getProjectVersion(). :-(
My recommendation is to put the project name in the system properties and then also on a label in a hidden page in the 'Home' activity.
For example:
Page - ProntoScriptName = 'PROJECT' Label on page - ProntoScriptName = 'VERSION'; text = "MyProjectName";
You, then, from a Button or Page Script in the application, issue: GUI.widget('Version').label = CF.getWidget('VERSION', 'PROJECT', 'PS_HOME').label;
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our
Marketplace. For information on how to advertise your service or product
click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.