.TEXTSELECT( Start_Position as N [, Length as N [, Processed as L ]] )
The beginning character to select. The first character is number 1.
Optional. Default = 0. The number of characters to select. Enter -1 to select all characters.
The .TEXTSELECT() method selects text in a control starting at Start_Position and running for Length characters.
dim ptr as P dim fld as P ptr = form.load("Customer Information") ptr.show() fld = ptr.Child("Lastname") fld.TextSelect(1,-1) ' selects all text fld.TextSelect(3, 2) ' selects characters 3 and 4
Desktop applications only.