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

PageEventGetEx

Gets the event (command or value) that will be triggered at runtime when the window is activated or deactivated.

See Page Properties - Events for more information

Syntax

PageEventGetEx ()

Return Value

Command (Cicode function) or value that was set for the window.

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

PageEventPutEx

Published June 2018