yalon Posted December 7, 2007 Posted December 7, 2007 (edited) i can't seem to get the "allow user abort (off)" feature to work. I am creatinga add record popup and don't want users to be able to exit the script . Here is the script: Allow User Abort [ Off ] If [ (Get (AccountName)) = "yalon" ] Adjust Window [ Hide ] New Window [ Name: "New Patient Popup"; Height: 350; Width: 320; Top: 100; Left: 100 ] Go to Layout [ "New Patient Pop-up" (hn database original data) ] ShowlHide Status Area [ Lock; Hide ] ShowlHide Text Ruler [ Hide ] Else Show Custom Dialog [ Message: "You do not have permission to perform this action!"; Buttons: "OK" ] End If Thanks Ok forget it I figured it out. I forgot to pause the script indefinitely Edited December 7, 2007 by Guest
LaRetta Posted December 7, 2007 Posted December 7, 2007 You have nothing in this script which a User can abort. They have Custom Dialog in which they can choose but that's not the same as an abort. Can you explain what you want to do? Are you trying to keep them from closing the window? LaRetta
yalon Posted December 7, 2007 Author Posted December 7, 2007 yes, i figured it out. I put a pause script indefinitely at the end. thanks
Recommended Posts
This topic is 6198 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now