Locking Database

gemma-the-husky

Super Moderator
Staff member
Local time
Today, 22:13
Joined
Sep 12, 2006
Messages
16,084
don't know why these are different colours - must br the php setting

anyway, i am trying to stop users getting at the dbwindow without using security. and i am setting these dbs properties. this is working to a ponit, but it still allows users to cutomise the toolbar, and thereby add the dbs window icon etc.

is there any way without using security that i can prevent this - ie would setting AllowBuiltinToolbars to false do so. This is a bit tricky as i would rather have users able to see certain buttons for the functionality.

do i have to create my own applcation tool bar?

or can i not do this at all

any help would be appreciated


PHP:
        ChangeProperty "StartupShowDBWindow", dbBoolean, False  'hide the dbwindow
        ChangeProperty "AllowBreakIntoCode", dbBoolean, False   'show code after error
        ChangeProperty "AllowSpecialKeys", dbBoolean, False     'special keys
        ChangeProperty "AllowBypassKey", dbBoolean, False       'bypass key
        ChangeProperty "StartupShowStatusBar", dbBoolean, True  'status bar
        ChangeProperty "AllowFullMenus", dbBoolean, False       'full menus
        ChangeProperty "AllowShortCutMenus", dbBoolean, True    'shortcut menus
        ChangeProperty "AllowBuiltinToolbars", dbBoolean, True 'built in tool bars
 
bumped this

anyone got any ideas - if i give users toolbars, can i stop them customizing toolbars, and getting at the dbwindow?
 
bumped this

anyone got any ideas - if i give users toolbars, can i stop them customizing toolbars, and getting at the dbwindow?

Change shortcut menus to false.

Also, uncheck "Allow Customizing" in the tool bar properties

I just saw you are missing one property also:
Code:
    Change_Property "AllowByPassKey", DB_BOOLEAN, False
    [COLOR=Red][B]Change_Property "AllowToolBarChanges", DB_BOOLEAN, False[/B][/COLOR]
    Change_Property "AllowShortCutMenus", DB_BOOLEAN, False
    Change_Property "AllowSpecialKeys", DB_BOOLEAN, False
    Change_Property "AllowBuiltInToolBars", DB_BOOLEAN, False
    Change_Property "AllowFullMenus", DB_BOOLEAN, False
    Change_Property "AllowBreakIntoCode", DB_BOOLEAN, False
 
Last edited:

Users who are viewing this thread

Back
Top Bottom