SetColResizeFlag Method (LISTVIEW)
9.1A, PLBCMP GUI Only
The SetColResizeFlag method stores a value that indicates whether a specified column in a LISTVIEW object can be resized by an end-user's sizing action. The method uses the following format:
|
|
|
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A LISTVIEW object that is accessed.
return
Optional. A Numeric Variable that receives a value to indicate the success or failure for the method.
index
Required. A zero-based decimal number or Numeric Variable that specifies the column accessed.
flag
Required. A zero-based decimal number or Numeric Variable that specifies new column resize state.
Flags Affected: EOS, OVER, ZERO
Note the following:
The {index} value is zero-based. When the value is zero to thiry-one inclusive, {index} indicates the column to be set. If the {index} value is a minus one (-1) value, the method changes the flag setting for all columns.
If the value of {flag} is zero, it indicates the column specified by {index} cannot be resized by the user. Any other value enables resizing.
Upon completion, {return} is set to zero when the {index} value is invalid. Otherwise, the {return} value is set to one to indicate that the resize flag was changed.
If the value returned is zero, the ZERO Condition Flag is set.
If {return} is too small to contain the value, the OVER Condition Flag is set.
The EOS Condition Flag is always cleared.
See Also: Method Syntax, GetColResizeFlag Method, LISTVIEW Methods
![]() |