Applies To:
  • CitectSCADA 5.xx, 6.00, 6.00 Service Pack A
  • CitectHMI 5.xx, 6.00, 6.00 Service Pack A

This can occur if you have [CtDraw.RSC] PurgeGenieLists = 1. Genies whose components have their ‘disable style’ set to Hidden or Grayed may be shown as Embossed at both runtime and designtime (in Graphics Builder). Setting [CtDraw.RSC] PurgeGenieLists = 0 resolves this issue, but often introduces many others. Is there a way to solve this and still have [CtDraw.RSC] PurgeGenieLists = 1?

In general, it is always best to have [CtDraw.RSC] PurgeGenieLists = 1, which is not the default. This parameter was introduced to solve a bug as described in KB Q2788. However, using this parameter introduces the above problem whereby the ‘Disable Style’ is not handled correctly. To resolve this new issue, a new INI parameter has been created:

[CtDraw.RSC] PurgeDisableStyle = <0,1,default=1>

Where 1 means the ‘Disable Style’ property value will be removed (purged) from all genies and 0 means is will not be removed.

This parameter only comes into effect when [CtDraw.RSC] PurgeGenieLists = 1. Therefore, to solve this issue you must set both:

[CtDraw.RSC] PurgeGenieLists = 1
[CtDraw.RSC] PurgeDisableStyle = 0

Then, start Graphics Builder and open and save the affected page. You should see the correct setting at this point, and recompiling before running should solve the problem at runtime as well. You can also run “Update Pages” (uncheck ‘Fast update pages’ first) to fix your entire project.

This new INI parameter is only available in version 6.10; and above. 

disable style embossed hidden greyed grey gray