Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : DEBLANK attribute
 

DEBLANK attribute

How to process leading blanks in fill-in widgets during user input.
Data type: LOGICAL
Access: Readable/Writeable
Applies to: FILL-IN widget
This attribute applies to fill-ins for CHARACTER fields that are enabled for input.
If the DEBLANK attribute is TRUE, the AVM removes leading blanks from the widget following user input that changes the SCREEN-VALUE attribute of the widget. Any leading blanks in the SCREEN-VALUE before input are not removed unless the user modifies the field. After the field is modified, the procedure must explicitly redisplay the field to view the effect of the DEBLANK attribute.