Find and share HowTos to various installations / configurations!
-
i.mak
- Posts:18
- Joined: Mon Mar 27, 2017 3:00 pm
How to pass $-parameters to the start-up panel for the Desktop UI?
Post
by i.mak »
Hello!
If I want to set the start-up panel for the Desktop UI, I can use
rootPanel setting in the
[webClient] section of the config file:
Code: Select all
[webClient]
rootPanel = "start.pnl"
Tell me, please, how I can pass $-parameters to that panel.
Best regards, Ilya
-
kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: How to pass $-parameters to the start-up panel for the Desktop UI?
Post
by kilianvp »
You can't but for ULC UX you can do:
Code: Select all
[httpServer]
uiArguments = "-p start.pnl,$test:Ventil1"
as workarround you can make a new panel and open your target panel with $ parameters
create a new panel and in init do something like this:
Code: Select all
main()
{
RootPanelOn("start.pnl", "Testpanel", makeDynString("$test:Ventil1"));
}
Code: Select all
[webClient]
rootPanel = "helper.pnl"
-
i.mak
- Posts:18
- Joined: Mon Mar 27, 2017 3:00 pm
Re: How to pass $-parameters to the start-up panel for the Desktop UI?
Post
by i.mak »
Thanks for the reply!
Best regards, Ilya