Consultor Eletrônico



Kbase P104726: Can the contents of disabled FILL-IN and EDITOR widgets be selected for the CLIPBOARD system handle
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/02/2010
Status: Verified

GOAL:

Can the contents of disabled FILL-IN and EDITOR widgets be selected for the CLIPBOARD system handle copy ( CTRL-C ) and paste ( CTRL-V ) operations?

GOAL:

How to make the contents of FILL-IN and EDITOR widgets available for the CLIPBOARD copy ( CTRL-C ) and paste ( CTRL-V ) operations without allowing user modification?

FACT(s) (Environment):

All Supported Operating Systems
Progress/OpenEdge Product Family
OpenEdge Category: Language (4GL/ABL)

FIX:

No, the contents of disabled FILL-IN and EDITOR widgets are NOT available for CLIPBOARD copy ( CTRL-C ) and paste ( CTRL-V ) operations. However, the contents of these widgets can be made available the CLIPBOARD copy ( CTRL-C ) and paste ( CTRL-V ) operations without risking that content to user modification by setting the SENSITIVE and READ-ONLY attributes of these widgets to TRUE. This makes the contents selectable and available for the CLIPBOARD copy ( CTRL-C ) and paste ( CTRL-V ) operations without allowing any user modification of these contents. This is achievable at both design time and run time.
At design time, the developer can check the ENABLE and READ-ONLY toggle boxes in the widget's Property Sheet.
At run time, the developer can set the above ENABLE and READ-ONLY attributes to TRUE:
FILL-IN-1:SENSITIVE = TRUE.
FILL-IN-1:READ-ONLY = TRUE.
EDITOR-1:SENSITIVE = TRUE.
EDITOR-1:READ-ONLY = TRUE.