Normal Topic Hide "Application Menu" to left of start up screen (Read 929 times)
Wilder
Member
*
Offline



Posts: 25
Joined: Jun 11th, 2015
Hide "Application Menu" to left of start up screen
Jul 18th, 2015 at 4:43pm
Print Post Print Post  
Hi All

Have been working on an application and am almost done with it, but I have one more thing that I would like to do with it.  My client wants to keep it as simple as possible, so I have set up a menu driven system for all of the task in the application. 

The one thing I would like to to is to Hide the Application Menu that show all the forms on start up.
I have set a start screen as the main menu.  I have tried the HideTree Item.  but can't fine the hide for "Application Menu" 

I hope there is a way to hide this start up item.

Attached is a screen of the main menu with the application menu forms list that I want to hide.


  

application_Menu.jpg ( 56 KB | 43 Downloads )
application_Menu.jpg
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Hide "Application Menu" to left of start up screen
Reply #1 - Jul 19th, 2015 at 3:41am
Print Post Print Post  
From SBasic you can use the CloseCommandArea command in application open programming. It is a good idea to provide a button that can re-open the command panel for those instances when a user needs to use a rarely used command that you are not providing a "in-form" button for.

In the sesame.ini file, you can set "COMMAND AREA WIDTH:" to "CLOSED"
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Wilder
Member
*
Offline



Posts: 25
Joined: Jun 11th, 2015
Re: Hide "Application Menu" to left of start up screen
Reply #2 - Jul 20th, 2015 at 7:12pm
Print Post Print Post  
Thanks,  that does what I wanted to do.

  
Back to top
 
IP Logged
 
BWETTLAUFER
Full Member
***
Offline



Posts: 216
Location: Cambridge, Ontario
Joined: Apr 9th, 2010
Re: Hide "Application Menu" to left of start up screen
Reply #3 - Sep 11th, 2015 at 2:27am
Print Post Print Post  
I start my application with the command bar closed, but created a "Command Area" Button that would allow selective staff the ability to access it:

Code
Select All
// Opens or closes command Tree dependent on the state it is currently in.
// Create a command button and add this code   to on element entry.

var vTreeButton as Int


// ======================================================
// Users Cannot Use Command Tree Button -- BW 2011-01-11
// ======================================================

if @group <> "Users"
{
	vTreeButton = @CloseCommandArea()
	if vTreeButton = 0 then
	{
		CloseCommandArea(1)
	}
	ELSE
	{
		CloseCommandArea(0)
	}
}
ELSE
{
	@MsgBox("","You Don't Have Access to This Function","")
}
 

  
Back to top
IP Logged