GetMark
GetMark([lMaiusc]) -> cMarkObtains a marker for browse row selection.
Overview
The function is used for selection markers, as demonstrated by MsSelect. The historical manual describes optional lMaiusc to restrict uppercase characters. It is a function despite its old queue classification, and not an authentication token. Current MsSelect documentation marks that class deprecated and recommends FWMarkBrowse. (Sources: refs. 1–2.)
Syntax
GetMark([lMaiusc]) -> cMarkReturn value
Selection marker string.
Commented example
#Include "Protheus.ch"
User Function Ed469()
Local cMark := GetMark()
// Marker for the browse, without writing records.
ConOut(cValToChar(Len(cMark)))
Return NilObtains a marker and shows its length without promising a fixed value. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
- Retain the marker for the browse lifetime and distinguish inverted selection.
- Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.