Argox PA-20 Programming Guide Bedienungsanleitung Seite 89

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 130
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 88
PT-20 Programming Guide
87
Purpose
Get TextBlock current position.
Syntax
POINT GetTextBlockCur(S32 slBlockNo);
Example call
pt = GetTextBlockCur(3);
Includes
#include “SDK.h ”
Description
This function can get position in specific TextBlock.
slBlockNo
TextBlock number(0~15).
Returns
Function success: return the current position.
Function fail: return (-1,-1).
SetTextBlockCur
Purpose
Set specific TextBlock as active TextBlock and set position.
Syntax
void SetTextBlockCur(S32 slBlockNo,S32 slColumn,S32 slRow)
Example call
SetTextBlockCur(3,1,1);
Includes
#include “SDK.h ”
Description
This function sets active TextBlock become to slBlockNo. The position of
slBlockNo sets to (slColumn, slRow).
slBlockNo
TextBlock number(0~15)
slColumn
Column
slRow
Row
Returns
None.
ShowTextBlockCursor
Purpose
Show or hide TextBlock cursor.
Syntax
void ShowTextBlockCursor(S32 slBlockNo, BOOL bShow, S32 slType)
Example call
ShowTextBlockCursor(1,TRUE, 3);
Includes
#include “SDK.h ”
Description
This function defines cursor type. Only the active TextBlock can show
cursor.
slBlockNo
TextBlock number(0~15)
bShow
TRUE:show cursor
FALSE:Hide cursor
slType
0: Cursor off.
1: Cursor on, and cursor type is a line as _.
2: Cursor on, and cursor type is a line as |.
3: Cursor on, and cursor type is a Window as ■.
Returns
None.
TextBlock_SetBGColor
Purpose
Set default background color.
Syntax
void TextBlock_SetBGColor(S32 slColor);
Example call
TextBlock_SetBGColor(COLOR_BLUE);
Seitenansicht 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 129 130

Kommentare zu diesen Handbüchern

Keine Kommentare