-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple instances of same control group in 1 tab? #90
Comments
In order to specify the color you need to use the SelectionColor property in SelectionBoxOptions attribute as shown here. You ill have an option to select primary, secondary colors based on the system settings |
Regarding the reusing of the instances. Do you have [ControlTag] or [Metadata] attributes used in the loopGroupBase class? |
you mean if u have any control tags it will cause that error ? here is the code for the group,
|
for this i know its for static of it but my part is that for each instance of the loop, ill want it to cycle through the 3 selection color options, if its not possible then its fine. |
Thanks for the clarification. The [Metadata] and [ControlTag] attributes define the global references, e.g. you can reference them from any level at any structure (e.g. group and tab). That means that the class cannot be reused to create another group or tab and it is required to have new class for every group (e.g. copy of loopGroupBase class). Another option (I will need to check this) is to make the properties like GDT_enable virtual in loopGroupBase and overwrite in the class which inherits from loopGroupBase to change the name of the [ControlTag] value (e.g. GDT1). I will check if this works and get back to you. |
i have a group of controls that i would want to have multiple instances of in a single group. but when i try to do it, the show pmp section returns an error " System.Exception: 'Tag is not unique' " how do i fix this ?
additionally, i have a selectionbox in the group that i would like to change its selection color on the definition, how would i do it as well.
The text was updated successfully, but these errors were encountered: