Applies to

Edit table.

Description

Sets or returns the position of the internal cursor in the edit table.

Usage

currentcursorpos = Get_Property (objectname"ACCESSPOS" )

existingprop = Set_Property (objectname"ACCESSPOS" newposition)

Remarks

Pass or return a Column:@FM:Row value, where both column and row are integer values representing ordinal positions.

Using Set_Property(), multiple properties can be set more efficiently in a single call than in multiple calls. The ACCESSPOS and ACCESSDATA properties can be set multiple times in a single call to set the values of multiple cells. The following example sets the first and third cell of the first row:

 

Ctrls = CtrlEntID:@RM:CtrlEntID:@RM:CtrlEntID:@RM:CtrlEntID
Props = "ACCESSPOS":@RM:"ACCESSDATA":@RM:"ACCESSPOS":@RM|
        "ACCESSDATA"
Vals  = 1:@FM:1:@RM: Name :@RM: 3:@FM:1 :@RM: Phone_Number
Set_Property (Ctrls, Props, Vals)

Returns

Values returned by both Get_Property and Set_Property

ValueDescription
currentcursorposData at the current internal cursor position.
existingpropPosition of the internal cursor, when Set_Property was called.

See also

ACCESSDATA propertyCARETPOS propertyCELLPOS propertyCLICKPOS propertyNOTIFYPOS propertySELPOS property

  • No labels