Thumbnail

Admin Toolbox

Avatarptp

How To Add This Control To Your Project

  1. Make sure you have the latest version of EZ-Builder installed.
  2. Select the Install button below to download the archive file.
  3. Double click the downloaded archive file to execute installer.
  4. The installer will add this control to EZ-Builder.
  5. Load EZ-Builder and press the Project -> Add Control button from the menu.
  6. Choose the Misc category tab.
  7. Press the Admin Toolbox icon to add the control to your project.

Start by adding the Admin Toolbox plugin to your project:

User-inserted image



User-inserted image


The plugin control window is empty nothing is done here, all the fun is in the new Admin tab.


User-inserted image


Default status: Project is Unlocked, and EZ-Builder application mode is no full screen


User-inserted image


The default lock/unlock's password is admin


User-inserted image


A password is required to lock or unlock the project


User-inserted image


The default Full screen mode's password is password


User-inserted image


Changing lock password


User-inserted image


Changing full screen password.
*) Both passwords can be changed in a single step.

User-inserted image


Once you change the lock password the icon changes. It's a simple visual sign.

Full Screen/Demo Mode
==========================
1) The idea is to force the user to stay inside the EZ-Builder.
2) You can't Exit, Save Project, Load Project, New Project
3) You can't switch to other windows applications
4) No relation with lock mode, although is a good idea to activate the lock mode.

User-inserted image


The window tab is disabled.

User-inserted image


Accounts Settings is disabled.

User-inserted image


File operations are ... disabled too.

User-inserted image


If you are tired of full screen and you know the password.

Unlock Mode
==========================

1) Adding or removing restrictions are allowed
2) To add/remove a restriction: press: CTRL + mouse right button
2) Some visual controls do not support restrictions

User-inserted image


The default view shows the control is free (no restriction).


User-inserted image


The control has been marked as disabled.

User-inserted image


The control has been marked as hidden.

Lock Mode
==========================
1) No restriction changes.
2) Restrictions are applied.
3) Existent controls before the lock cannot be removed.
4) Add/remove new controls are allowed.
5) Lock status is saved with the project.
6) If you save a locked project, when you load the project will be in locked mode.

User-inserted image


When in lock mode the control is not visible.

Observations:
==========================
The plugin subscribes events in all controls available in your project to receive the notifications regarding close, focus, mouse etc.
As a result there are some overhead during load and close the project.
No impact on execution performance.

Feedback, ideas or nice postcards are welcome !

Related thread:
https://www.ez-robot.com/Community/Forum/Thread?threadId=10438

It was a fun weekend journey "hacking" EZ-Builder to support these features.
I hope you can enjoy the plugin.

--ptp

**** Version 2 (6/15/2017) ****

Added a new option "Restrictions"

User-inserted image


User-inserted image


Lists all the configured restrictions, allows deleted of selected restrictions.

User-inserted image


disable restriction support for GridView's rows.

User-inserted image


The context menu uses the GridView's Row Index and Column Index to configure/apply the restriction.
Is also important to disable any buttons that could be used to change Gridview's rows order (Row Index).