Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Protect frame

Good afternoon,

 

I'm trying to protect a frame with a password, using the method shown below. However, the book where I've found this says that I can put this method on my frame:

"Create a Frame protectFrame and insert a method (TOOLS > SELECT CONTROLS > OPEN). "

 

is 
input:string; 
pass:string; 
do pass:="xyz"; input:=prompt("Password"); if input = pass then .models.protectedFrame.openDialog; end; end;

The method works, however I can't find the menu (TOOLS > SELECT CONTROLS > OPEN) where I can connect this to my frame. I'm using PS version 11.

 

Does one of you guys know how to solve this?

2 REPLIES
Solution
Solution
Accepted by topic author Simulator2
‎01-17-2017 07:46 AM

Re: Protect frame

try the F12 key in the frame, this should open the dialog

 

remark: you can also encrypt the complete model --> main menu --> Tools - encrypt model


Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net


Re: Protect frame

That is what I was looking for, thanks!