Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open the custom manager (XXX_CustomManager) and replace its source code with this code:

...

   Begin_Com Role(*EXTENDS #VF_AC036O)

...

   

Define_Evt Name(ChangeBackgroundImage)

...

 
Define_Map For(*input) Class(#PRIM_ALPH) Name(#ImageName)

...

   

Define_Evt Name(ChangeBackgroundTextStyle)

...

 
Define_Map For(*input) Class(#PRIM_vs.Style) Name(#ToStyle) Pass(*BY_REFERENCE)

...

   

Mthroutine Name(RequestChangeBackgroundImage)

...

 
Define_Map For(*input) Class(#PRIM_ALPH) Name(#ImageName)

...

 
Signal Event(ChangeBackgroundImage) Imagename(#ImageName)

...

 
Endroutine  

Mthroutine Name(RequestlChangeBackgroundTextStyle)

...

 
Define_Map For(*input) Class(#PRIM_vs.Style) Name(#ToStyle) Pass(*BY_REFERENCE)

...

 
Signal Event(ChangeBackgroundTextStyle) Tostyle(#ToStyle)

...

 
Endroutine  

End_Com

The custom manager now defines ChangeBackGroundImage and ChangeBackgroundTextStyle events which it signals when requested.

...