SetEditFocus Method (LISTVIEW)


 10.1B

 

The SetEditColumn method turns on HTML <input> editing for all of the column cells in a PWS LISTVIEW object. The method uses the following format:

 

[label]

{object}.SetEditFocus

[GIVING {return}] USING [*Index=]{index}:

 

 

[*SubItem=]{subitem]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A LISTVIEW object that has been previously created.

return

Optional. A Numeric Variable that indicates the pass or fail for the method.

index

Required. A decimal number or Numeric Variable that is the zero-based row number of the LISTVIEW.

subitem

Required. A decimal number or Numeric Variable that is the zero-based value for the subitem on the row.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. The ZERO flag is set if the returned value is zero indicating that the method executed successfully.

  2. The OVER flag is set if the {return} variable is too small to receive the numeric value.

  3. The EOS flag is always set to FALSE.

 

 

See Also: Method Syntax, LISTVIEW Methods

 



PL/B Language Reference SetEditColumn (LISTVIEW) SetExtendedStyle Method (LISTVIEW)