Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6e

Application v 6.3a

  

 

Chapter NineDialog Functions (continued)

9.21 Text Control

9.21.1 Introduction

Text Analysis functions have been released in Preview Only (†)

[tbd]

Note: The Text Control is under development and is provided on a beta basic.

9.21.2 Text Control Types and Styles

[The Text Control can have the suite of WS_ control styles and most commonly WS_HSCROLL and WS_VSCROLL. [By default, the control does not have a border or scrollbars.] Example of a Text Control:

CONTROL "", 101, "text_control", WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP,
        12, 20, 340, 126, 0

9.21.3 Text Control Notifications

The following messages are sent via the dialog action procedure.

  Notification code   Value   Description  
  Text Control Specific:          
    TCN_UPDATE_STATUS   0x0010   Status/Position Change [TBD]  
    TCN_CLICK_SINGLE   0x0011   Click Once (Post Process) [TBD]  
    TCN_CLICK_DOUBLE   0x0012   Click Double (Post Process) [TBD]  
    TCN_CLICK_TRIPLE   0x0013   Click Double (Post Process) [TBD]  
    TCN_RIGHT_CLICK   0x0014   Right Click/Context Menu [TBD]  
    TCN_DRAG_SELECT    0x0015   Drag Selected (Post Process)  [TBD]  
    TCN_KEYBOARD_NAVIGATE    0x0016   Change Position on Keyboard [TBD]  
    TCN_CONTEXT_MENU_KEY    0x0017   Pressed Context Menu Key  [TBD]  
    TCN_CONTEXT_MENU_OPEN    0x0018   Open Context Menu (to be presented)  [TBD]  
    TCN_CONTEXT_MENU_CLOSE    0x0019   Close Context Menu  [TBD]  
  Text Control Common:          
    TCN_SET_FOCUS    0x0100   The control has received focus. [TBD]  
    TCN_KILL_FOCUS    0x0200   The control has lost focus. [TBD]  
    TCN_CHANGE    0x0300   Content Has Changed [TBD]  
    TCN_UPDATE    0x0400   Content About Changed  [TBD]  
    TCN_ERRSPACE    0x0500   Insufficient Memory  [TBD]  
    TCN_MAX_TEXT    0x0501   Exceeded User Set Maximum Characters  [TBD]  
    TCN_HSCROLL    0x0601   Horizontal Scroll Change  [TBD]  
    TCN_VSCROLL    0x0601   Vertical Scroll Change  [TBD]  

  

9.21.4 Text Control Styles

On creation, Text Control will abode by a number of edit control window style bits:

  Notification code   Value   Description  
  Edit Control Styles:          
    ES_READONLY   0x0800   Prevents the user from typing or editing text in the Text Control. The control will adopt a browse like profile. The Enter key will not be captured by the control.  

 

9.21.5 Text Control Functions

Page revised 2025-10-20