|Code||Can be called by||定義|
|33||4D View Pro Area - List Box - List Box Column||The width of a column is modified directly by the user or consequently to a form window resize|
This event is generated when the width of a column in the list box is modified by a user. The event is triggered "live", i.e., sent continuously during the event, for as long as the list box or column concerned is being resized. This resizing is performed manually by a user, or may occur as a result of the list box and its column(s) being resized along with the form window itself (whether the form is resized manually or using the
RESIZE FORM WINDOW command).
On Column Resizeevent is not triggered when a fake column is resized.
4D View Pro
This event is generated when the width of a column is modified by a user. On this context, the event object returned by the
FORM Event command contains:
|code||倍長整数||On Column Resize|
|description||text||"On Column Resize"|
|objectName||text||4D View Pro area name|
|sheetName||text||Name of the sheet of the event|
|range||object||Cell range of the columns whose widths have changed|
|header||boolean||True if the row header column (first column) is resized, else false|
If(FORM Event.code=On Column Resize) VP SET CELL STYLE(FORM Event.range;New object("hAlign";vk horizontal align right)) End if