SetAction  SetBorderStyle

Chapter 9: Methods for the DataWindow Control

SetActionCode

Description

Sets the action code for an event in a DataWindow control. The action code determines the action that PowerBuilder takes following the event. The default action code is 0.

NoteWhere to use SetActionCode SetActionCode is obsolete. To return a value, include a RETURN statement in the event script using the return codes documented for that event.

Syntax

PowerBuilder DataWindow control or child DataWindow

integer dwcontrol.SetActionCode ( long code )

Returns

Returns 1 if it succeeds and -1 if an error occurs. If any argument’s value is NULL, SetActionCode returns NULL.





Copyright © 2004. Sybase Inc. All rights reserved. SetBorderStyle

View this book as PDF