Class PBEExecAction

Object
  |
  +--PBEAction
        |
        +--PBEExecAction

public class PBEExecAction
extends PBEAction


Description:
PBEExecAction executes a string with PrimeBaseTalk commands.

PBEExecAction can be used in object and attribute events.


Event String Action Name:
exec


Syntax:

exec( exec_string )


Parameters
exec_string - This is a string containing a valid sequence of PrimeBaseTalk commands.


Examples:
 PBE:objectEvent(
   "customer",
   "on:nextpage:exec(""PBE:objects['customer']:setSelectedRow(PBE:objects['customer']:getSelectedRow()+10);"")");
 
This event causes the execution of the specified string ("PBE:objects['customer']:setSelectedRow(PBE:objects['customer']:getSelectedRow()+10);") before activation of the method "nextpage" of object "customer".

This example can be found in the file "initdemo.pbt" of the "PBE Demo" module (approx. line 249).


Fields inherited from class PBEAction
iParameters, iType, name, procName
 
Constructor Summary
PBEExecAction()
           
 
Method Summary
 varchar parameters()
           
 
Methods inherited from class PBEAction
actionArguments, actionCall, actionParameters, attributeReference, callString, checkEvent, getObject, methodReference, nestedInput, objectReference, parameter, perform, performParameterCount, printPerform, tracePerform
 

Constructor Detail

PBEExecAction

public PBEExecAction()
Method Detail

parameters

public varchar parameters()
Overrides:
parameters in class PBEAction