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?
Solved! Go to Solution.
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