The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Setting Main View Property During Run Time 
Posted: 06 Mar 08 5:33 AM
|
Hi
Shall we set the main view properties during run time. I mean can we set the detail view ,"view name" property of main view through coding. Please help
Thanks in advance
Thanks and Regards mark
|
|
|
| |
| |
|
Re: Setting Main View Property During Run Time 
Posted: 10 Mar 08 7:30 AM
|
Agree with what, that it cannot be done? It has been discussed before and there is no support for changing the mainview detail panel at runtime. If you need to change the contents of the detail you can either layer panels or got to .net extensions to change the the look and feel.
Mark |
|
|
|
Re: Setting Main View Property During Run Time 
Posted: 10 Mar 08 9:13 AM
|
Sorry Dykun My intention is not to pin you. But asking others opinion also in the forum. Any way thanks for the support. Can i ask one question like can we hide the custom main view what i created for some users. Because what ever the main views i have created in slx architect are showing in the switch view mode. Can we do like not to show this main view and contents to some users and show to some others. One way i know is to release this main view and forms only to users whom i want to show is there any other way?
Regards Vamsi Inguva
|
|
|
|
Re: Setting Main View Property During Run Time 
Posted: 10 Mar 08 9:31 AM
|
Releases is the way to control access to plugins to groups of users. You could write code that basically hides panels of controls depending on the user if that is what you are looking for. There is no control level ACL where you can declare who gets access to a given control. On the show event check for your rules and hide based on the values.
Mark |
|
|
|