Usina BRAdvPL Guide
Sign in
← All topics
COMMANDUnder review

@ ... SAY

@ nRow,nCol SAY cText [OF oWnd] [SIZE nWidth,nHeight] [PIXEL]

Displays text with the @ ... SAY command.

@ ... SAYAdvPL
01 · OVERVIEW

Overview

The SAY() queue item refers here to @ ... SAY, which creates a TSay component, not a standalone SAY function. Row, column and text form minimum syntax. OF selects a container, PIXEL uses pixel coordinates, SIZE sets dimensions and PICTURE controls formatting. PROMPT or VAR store the object in the preceding identifier. This subset uses an explicit parent; visible text does not establish validation or authorization. (Sources: refs. 1–2.)

02 · SYNTAX

Syntax

@ nRow,nCol SAY cText [OF oWnd] [SIZE nWidth,nHeight] [PIXEL]

Parameters

nRow
NumericRequired

Row.

nCol
NumericRequired

Column.

cText
CharacterRequired

Displayed text.

03 · PRACTICAL EXAMPLE

Commented example

#Include "Protheus.ch"

User Function Ed640()
    Local oDlg
    // Requires graphical SmartClient; do not use in a job.
    DEFINE DIALOG oDlg TITLE "SAY example" FROM 0,0 TO 150,350 PIXEL
    @ 12,12 SAY "Example text" OF oDlg SIZE 140,18 PIXEL
    ACTIVATE DIALOG oDlg CENTERED
Return Nil
Expected result

On a compatible client, displays a label in the dialog. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

BEST PRACTICES
  • Syntax subset, not the complete option list. Verify font, size and accessibility in the selected theme.
  • Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Related content

REFERENCES
  1. TOTVS. @ ... SAY. Sintaxe e cláusulas. Accessed on 2026-10-28.
  2. TOTVS. TSay. Accessed on 2026-10-28.
Status
Under review
Page created on
Last reviewed on
Original language
Portuguese
Reviewed by
Usina.BR

Was this content helpful?

👍 Like 0👎 Dislike 0

Sign in to rate this article.

0 approved comment(s)

Comments

There are no approved comments yet.

Sign in with Google or Microsoft to comment.

Powered by Usina Docs · Alpha