Normal Topic Hide Application Utilities Menu? 2.1 (Read 486 times)
tcgeo
Full Member
***
Offline



Posts: 278
Location: Traverse City, Michigan
Joined: May 13th, 2008
Hide Application Utilities Menu? 2.1
Dec 5th, 2008 at 6:48pm
Print Post Print Post  
When I preview application in the .DSR, the Applications Menu that contains Backup App, Design  New, Redesign, and Export, does not show. When I reconcile and run the app from runtime the Application Menu shows.

Is there a reason why it shows in runtime and not in preview mode? And, is there a way to completely remove/hide the Applications Menu from runtime?

Thanks.
  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Hide Application Utilities Menu? 2.1
Reply #1 - Dec 5th, 2008 at 7:02pm
Print Post Print Post  
The Application Utilities Menu does not appear in Preview mode. You will also find that some of the choices on the File Menu are unavailable in Preview mode. You can hide buttons by hiding the tree item the represent using @HideTreeItem. Try putting the following code in the On Application Open event for your application.

Code
Select All
var vTemp as Int

	vTemp = @HideTreeItem(@Application + "!Application Utilities")

 

  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
tcgeo
Full Member
***
Offline



Posts: 278
Location: Traverse City, Michigan
Joined: May 13th, 2008
Re: Hide Application Utilities Menu? 2.1
Reply #2 - Dec 5th, 2008 at 8:06pm
Print Post Print Post  
Thank you Erica.

I must have misread somewhere. I was trying to make that work but I was putting the database name in front of: "!Application Utilities" and didn't think of using it by itself.

Thanks for the help, it's working fine now.
  
Back to top
IP Logged