Johnny777 Posted September 20, 2012 Posted September 20, 2012 Hello I am trying to achieve the following I need to disable the find mode on a particular layout. I need to stop people entering find mode with any method except for a button which runs a script I can't lock the status area as they need the omit box This is because I have two identical layouts one for editing and one for find - the find layout only works with custom buttons (and the omit box) I have looked on privilege sets and can see no option for making a layout edit only and the custom menus seem to apply to all layouts Any suggestions greatfully rec'd
mr_vodka Posted September 20, 2012 Posted September 20, 2012 You can create a new custom menu set, with a custom menu that has no find, and have that layout use that new menu set. 1
Johnny777 Posted September 20, 2012 Author Posted September 20, 2012 Hello Thanks very much for replying I have disabled the browse mode - but if I show the status area I still get the find button on the left hand button despite the fact perform find doesn't show in the menu Is there anyway to cofigure this so the find button doesn't show in the left hand panel when it is in find mode Or is there anyway to have a field on the main layout which performs the same function as the omit button
jbante Posted September 20, 2012 Posted September 20, 2012 There isn't a way to programmatically control what icons display in the status area. If you want to hide the "Perform Find" button in the toolbar because you're trying to control a scripted process, you could use custom menus to co-opt the "Perform Find" menu item to perform your script of choice rather than outright disable the menu item. If you re-name the menu item, your name will appear in place of "Perform Find" on the toolbar. There isn't a way to use a different icon in the toolbar, however. There is a way to perform the "Omit" function without the button in the Find mode toolbar. Create a button on the body of your layout that is set to perform an "Omit Record" command. Use the Get ( RequestOmitState ) function in a conditional format to indicate which requests are for omits; the function returns True (1) on omits, and False (0) otherwise (in Find mode).
Johnny777 Posted October 4, 2012 Author Posted October 4, 2012 Hi Thanks to everyone who replied I managed to solve this by getting the perform find function to perform a script (part of the custom menu set for the layout) So that way you can still have the status area with the omit box and the perform find but you are controlling what happens when the user hits the perform find on the status area
Recommended Posts
This topic is 4433 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