Furthermore, how can I prevent Servoy from graying out all of the viewable elements when the user only can view (read) the solution?
This should be an easy thing to do, but interesting enough, I never bother before. This is the first time I need to allow a group of users to only view the solution.
What can I do to get this working? Should I just have a solution for the Guest users where the actual database prevents Servoy from doing inserts or deletes?
Harjo:
Can you post here, what you tried there??
You didn’t tried it literately? Because on that topic, that is specific for comboboxes not for checkboxes.
While from home this morning, I reviewed this issue in my head and yet, I realized (as you pointed out) that I tried it literately… That was pretty lame.
Ok, I tried the following (using COMBOBOX elements too) but it did not work.
application.setUIProperty('CheckBox.shadow', true);
application.setUIProperty('ComboBox.disabledBackground', new Packages.javax.swing.plaf.ColorUIResource(java.awt.Color.decode('#6699cc')));
application.setUIProperty('ComboBox.selectionBackground', new Packages.javax.swing.plaf.ColorUIResource(java.awt.Color.decode('#6699cc')));
Can any one point me out in the right direction? Is there anything else I need to do to get this working?