EDITPROTECT & right-click menu
Posted: Thu May 27, 2010 4:22 am
In our applications we have the following situation:
If a user has no permissions to modify data the data of on 'Address', then we block all the controles on the form with the In our applications we have the following situation:
If a user has no permissions to modify data the data of on 'Address', then we block all the controles on the form with the "EDITPROTECT"-option in DCGETOPTIONS (=> EDITPROTECT {|| !lEdit} ).
For the visibility, we put "Read only" in the title of the form.
This solution has a side effect.
The user still wants to copy data of some controls (e.g. street, city, phone, e-mail, ...) and paste it in other applications.
But because we use the EDITPROTECT-option, the right-click menu (with Cut, Copy, Paste, Delete, Select All) is not available anymore.
- Is there a possibility to enable a right-click menu ?
- Or are there other ways to achieve this functionality (block controls and enable a right-click menu) ?
Danny
If a user has no permissions to modify data the data of on 'Address', then we block all the controles on the form with the In our applications we have the following situation:
If a user has no permissions to modify data the data of on 'Address', then we block all the controles on the form with the "EDITPROTECT"-option in DCGETOPTIONS (=> EDITPROTECT {|| !lEdit} ).
For the visibility, we put "Read only" in the title of the form.
This solution has a side effect.
The user still wants to copy data of some controls (e.g. street, city, phone, e-mail, ...) and paste it in other applications.
But because we use the EDITPROTECT-option, the right-click menu (with Cut, Copy, Paste, Delete, Select All) is not available anymore.
- Is there a possibility to enable a right-click menu ?
- Or are there other ways to achieve this functionality (block controls and enable a right-click menu) ?
Danny