[ |../../index.htm#lansa/vlfonetutorials_0565.htm]

Edit the Background Panel

You need to edit the background panel to make it respond to the custom Framework manager.
Open the background panel (XXX_BackgoundPane) in the Visual LANSA editor.
Display the Source tab and define your custom Framework manager (replace #EOM_CustomManager with the name of your custom Framework manager):
Define_Com Class(#EOM_CustomManager) Name(#CustomFrameworkManager) Reference(*DYNAMIC)
 
In the uInitialize event, set a reference to your custom Framework manager (replace #EOM_CustomManager with the name of your custom Framework manager):
#CustomFrameworkManager <= #AVFRAMEWORKMANAGER.avCustomManagerBaseReference *As #EOM_CustomManager
 
Then add two event routines to change the style and image on the background panel: