Extensibility > Graphics Builder Automation Interface > Page Properties Functions > PageEventPutEx

PageEventPutEx

Sets the event (command or value) that will be triggered at runtime either:

See Page Properties - Events for more information

Syntax

PageEventPutEx (sEventOnEntryCommand, sEventOnExitCommand, sEventWhileShownCommand, sEventOnShownCommand,sOnActivateCommand, sOnDeactivateCommand )

Example

			
{
	string strEventOnEntryCommand,
	strEventOnExitCommand,
	strEventWhileShownCommand,
	strEventOnShownCommand,
	strEventOnActivateCommand,
	strEventOnDeactivateCommand,
	strEventOnEntryCommandExp,
	strEventOnExitCommandExp,
	strEventWhileShownCommandExp,
	strEventOnShownCommandExp,
	strEventOnActivateCommandExp,
	strEventOnDeactivateCommandExp
 
	gb.ProjectSelect("Example_AlarmIndicator");
	gb.PageOpen("Example_AlarmIndicator", "Test");
 
	strEventOnEntryCommand = "PageEventsPutEntryCommandEx";
	strEventOnExitCommand = "PageEventsPutExitCommandEx";
	strEventWhileShownCommand = "PageEventsPutShownCommandEx";
	strEventOnShownCommand = "PageEventsPutShownCommandEx";
	strEventOnActivateCommand = "PageEventsPutActivateCommandEx";
	strEventOnDeactivateCommand = "PageEventsPutDeactivateCommandEx";
 
	gb2.PageEventsPutEx(strEventOnEntryCommand, strEventOnExitCommand, strEventWhileShownCommand,
	strEventOnShownCommand,
	strEventOnActivateCommand, strEventOnDeactivateCommand);
	gb2.PageEventsGetEx(out strEventOnEntryCommandExp, out strEventOnExitCommandExp, out strEventWhileShownCommandExp,
	out strEventOnShownCommandExp, out strEventOnActivateCommandExp, out strEventOnDeactivateCommandExp);
 
 
	strEventOnEntryCommand = "PageEventsPutEntryCommand";
	strEventOnExitCommand = "PageEventsPutExitCommand";
	strEventWhileShownCommand = "PageEventsPutShownCommand";
	strEventOnShownCommand = "PageEventsPutShownCommand";
 
	gb2.PageEventsPut(strEventOnEntryCommand, strEventOnExitCommand, strEventWhileShownCommand,
	strEventOnShownCommand);
	gb2.PageEventsGet(out strEventOnEntryCommandExp, out strEventOnExitCommandExp, out strEventWhileShownCommandExp,
	out strEventOnShownCommandExp);
				} 
			

Related Functions

PageEventGetEx

Published June 2018