dbTalk Databases Forums  

Removing menu's in runtime version without using kiosk mode

comp.databases.filemaker comp.databases.filemaker


Discuss Removing menu's in runtime version without using kiosk mode in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mr. X
 
Posts: n/a

Default Removing menu's in runtime version without using kiosk mode - 12-18-2006 , 07:49 AM






Hello,

I would like to remove the menu's in a runtime version without using kiosk
mode. Kiosk mode would be perfect if the screen didn't turn black arround
the program so you don't see your desktop anymore.
I tried using custom menu, but it seems that you can not set a custom menu
for a certain file, instead you have to reselect this menu in each script.
If not... the standard menu returns everytime. Does somebody know a
workarround this?


Thank you,


Marc



Reply With Quote
  #2  
Old   
Ursus
 
Posts: n/a

Default Re: Removing menu's in runtime version without using kiosk mode - 12-18-2006 , 08:34 AM






The simples t for you might to create your own menu set. Goto each layout.
Enter layout setup. On the General Tab of the layout setup you'll find at
the bottom Menu Set. Choose your new custom menu set. Do this for all your
layouts.

Next time when you create a file that needs this, you can start of with
creating a custom menu set. (A duplicate of the normal set would do) Then
through Define Custom Menus choose: Deafult menu set for this file: you menu
set. You work with it until domne and then change the contents of you menu
set according to your needs.

Ursus

"Mr. X" <mark (AT) bestdeal (DOT) be> schreef in bericht
news:45869c80$0$30055$ba620e4c (AT) news (DOT) skynet.be...
Quote:
Hello,

I would like to remove the menu's in a runtime version without using kiosk
mode. Kiosk mode would be perfect if the screen didn't turn black arround
the program so you don't see your desktop anymore.
I tried using custom menu, but it seems that you can not set a custom menu
for a certain file, instead you have to reselect this menu in each script.
If not... the standard menu returns everytime. Does somebody know a
workarround this?


Thank you,


Marc




Reply With Quote
  #3  
Old   
Mr. X
 
Posts: n/a

Default Re: Removing menu's in runtime version without using kiosk mode - 12-18-2006 , 12:31 PM



OK, that is a good duggestion, only... Is there a way to reactivate the
standard menu by, for instance, logging in with the main password. This
would be nice so that I, "the programmer", could use these menu's when I
need them.


Thank you,

Marc
"Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> schreef in bericht
news:4586a6dc$0$93699$dbd45001 (AT) news (DOT) wanadoo.nl...
Quote:
The simples t for you might to create your own menu set. Goto each layout.
Enter layout setup. On the General Tab of the layout setup you'll find at
the bottom Menu Set. Choose your new custom menu set. Do this for all your
layouts.

Next time when you create a file that needs this, you can start of with
creating a custom menu set. (A duplicate of the normal set would do) Then
through Define Custom Menus choose: Deafult menu set for this file: you
menu set. You work with it until domne and then change the contents of you
menu set according to your needs.

Ursus

"Mr. X" <mark (AT) bestdeal (DOT) be> schreef in bericht
news:45869c80$0$30055$ba620e4c (AT) news (DOT) skynet.be...
Hello,

I would like to remove the menu's in a runtime version without using
kiosk mode. Kiosk mode would be perfect if the screen didn't turn black
arround the program so you don't see your desktop anymore.
I tried using custom menu, but it seems that you can not set a custom
menu for a certain file, instead you have to reselect this menu in each
script. If not... the standard menu returns everytime. Does somebody know
a workarround this?


Thank you,


Marc






Reply With Quote
  #4  
Old   
Ursus
 
Posts: n/a

Default Re: Removing menu's in runtime version without using kiosk mode - 12-18-2006 , 04:54 PM



Say that you create a custom menu set called STARTSET and set this to be
your default set for your layouts. Create a START account and set it's
privilege set to the STARTSET. Set the file options to login with the START
account. This way it's access will be limited to just the way you want.

Now create a RE-LOGIN script:
IF [ GET ( PrivilegeSetName ) = "[Full Access]"]
Re-Login [ Account Name: "Start" ; Password: "Start" ; No Dialog]
Go to layout ["My Locked Layout"]
Show/Hide Status Area [Lock; Hide]
Exit Script[]
End IF
Re-Login [Account Name: "Admin"]
IF [ GET ( PrivilegeSetName ) = "[Full Access]"]
Show/Hide Status Area [Show]
Install Menu Set ["[Standard FileMaker Menus]"]
Go to Layout ["My unrestricterd Layout"]
End IF

Now on your locked layout you place a button that fires this script. And be
aware that when you switch by hand to a layout that has de restricted set,
you will standard see only the limited set. But you will be able to switch
to the other set, by the now available TOOLS menu. This hides when going
back to the limited set. (click button again) . This switching can be
overcome by installing the correct scripts.

Well this is probably not complete but will you get on your way.

Ursus
"Mr. X" <mark (AT) bestdeal (DOT) be> schreef in bericht
news:4586de9a$0$30049$ba620e4c (AT) news (DOT) skynet.be...
Quote:
OK, that is a good duggestion, only... Is there a way to reactivate the
standard menu by, for instance, logging in with the main password. This
would be nice so that I, "the programmer", could use these menu's when I
need them.


Thank you,

Marc
"Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> schreef in bericht
news:4586a6dc$0$93699$dbd45001 (AT) news (DOT) wanadoo.nl...
The simples t for you might to create your own menu set. Goto each
layout. Enter layout setup. On the General Tab of the layout setup you'll
find at the bottom Menu Set. Choose your new custom menu set. Do this for
all your layouts.

Next time when you create a file that needs this, you can start of with
creating a custom menu set. (A duplicate of the normal set would do) Then
through Define Custom Menus choose: Deafult menu set for this file: you
menu set. You work with it until domne and then change the contents of
you menu set according to your needs.

Ursus

"Mr. X" <mark (AT) bestdeal (DOT) be> schreef in bericht
news:45869c80$0$30055$ba620e4c (AT) news (DOT) skynet.be...
Hello,

I would like to remove the menu's in a runtime version without using
kiosk mode. Kiosk mode would be perfect if the screen didn't turn black
arround the program so you don't see your desktop anymore.
I tried using custom menu, but it seems that you can not set a custom
menu for a certain file, instead you have to reselect this menu in each
script. If not... the standard menu returns everytime. Does somebody
know a workarround this?


Thank you,


Marc








Reply With Quote
  #5  
Old   
Jens Rasmussen, Fimano, Denmark
 
Posts: n/a

Default Re: Removing menu's in runtime version without using kiosk mode - 12-19-2006 , 10:26 AM



Hello X,

Mr. X wrote:
Quote:
I tried using custom menu, but it seems that you can not set a custom menu
for a certain file, instead you have to reselect this menu in each script.
Wrong. In the dialog called Define Custom Menus, you will see (towards
the bottom) a choice of Default menu set for this file. Given that your
standard user menu set is called MenuBasic, you could select MenuBasic
here. Then your login script could use the test:
If [ Get ( AccountName ) ≠ "Admin" ]
...
[the normal startup routine]
...
Else
Install Menu Set [ “[Standard FileMaker Menus]” ]
[plus other developer actions, e.g. a dialog of environment variables]

Alternatively, your test could have the form of:
If [ Get ( PrivilegeSetName ) ≠ "[Full Access]" ]

Hope this helps,
Jens



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.