Dynamically Changing The Initial Page


Recommended Posts

Hi,

 

I'm looking for a way to dynamically change which is the first page displayed. Dependent on which process unit is active (dictated by an integer variable), I would like to display a different 'front page'. However, this would need to also be the first page when they relaunch DAQFactory. Is this possible - I can see some mention of 'advanced properties' in the help file that may do this, however there isn't a function listed,

 

I am using 5.87 build 2050

 

Thanks for any help that can be provided,

 

M

Link to comment
Share on other sites

Just use the page.strCurrentPage variable.  Uncheck "Initial Page" in the page properties of all your pages so DAQFactory doesn't display one, or create a splash page.  Then read your input, make your judgement on that, and set that variable, for example:

 

page.strCurrentPage = "myStartPage"

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.