Skip to main content

Syntax for trigger on new

2 replies [Last post]
tskale
Offline
Joined: 2005-08-17

What is the new syntax to define trigger on new?
Syntax for replace trigger has been redefined but not for new.
Old trigger on new does not work.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
while_na
Offline
Joined: 2008-07-30

Hello, as i know there is no "trigger" keywords again.., since it replaced with other keyword..
for the "on new" trigger, i think that it replaced with "init" function oaf our class, just define :
init
{
//do some stuff
}
regards...

tskale
Offline
Joined: 2005-08-17

Reading more about initializing attributes, I think on new trigger is not needed any more.