User Tools

Site Tools


prop_screentext.htm
Navigation:  Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:ScreenText ====== Previous pageReturn to chapter overviewNext page

NewC7.jpg

Returns the text displayed on screen in the specified control.

Example:

WinView   WINDOW('View'),AT(0,0,320,200),MDI,MAX,HVSCROLL

          SPIN(@n3),AT(0,0,320,180),USE(Fil:Field),RANGE(0,255)

         END

CODE

OPEN(WinView)

ACCEPT

 CASE FIELD()

 OF ?Fil:Field

  CASE EVENT()

  OF EVENT:Rejected

   MESSAGE(?Fil:Field{PROP:ScreenText} & ' is not in the range 0-255')

   SELECT(?)

   CYCLE

  END

 END

END

See Also:

CONTENTS

CHANGE

prop_screentext.htm.txt · Last modified: 2021/04/15 15:57 (external edit)