If you need a visual style to change at run time, you can swap in a new style or styles from any command handler, filter, or snap-in instance list using this logic:
#avFrameworkManager.avSubstituteVisualStyle Ustyle(#MYSTYLE_A) Uasname('VF_VS106')
#avFrameworkManager.avSubstituteVisualStyle Ustyle(#MYSTYLE_B) Uasname('VF_VS101') Usignalchanged(True)
Where uStyle(#MYSTYLE_A) is a visual style that you have defined in the repository, and 'VF_VS106' is the name of one of the styles currently being used by the Framework.
If uSignalChanged is true, the Framework will apply the changes and the replacement styles will be visible.
For more information, see Change a visual style at run time.VLF-ONE
Ask on the VL forum.