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.
Where 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.
PowerBuilder DataWindow control or child DataWindow
integer dwcontrol.SetActionCode ( long code )
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. |
![]() |