Declaring instance variables  Running a window

Chapter 10: Working with Windows

Examples of statements

The following assignment statement in the script for the Clicked event for a CommandButton changes the text in the StaticText object st_greeting when the button is clicked:

st_greeting.Text = "Hello User"

The following statement tests the value entered in the SingleLineEdit sle_state and displays the window w_state1 if the text is "AL":

if sle_State.Text= "AL" then Open(w_state1)




Copyright © 2004. Sybase Inc. All rights reserved. Running a window

View this book as PDF