![]() ![]() ![]() For example, if you insert the “Button – Run Process” control set, it will also use the same ImageList to animate its button. Only one instance of the ImageList is used by all the Start Job buttons whereas the “Always Insert” option inserted a copy for each button.įurthermore, we can use the “Name Matching” option in conjunction with other controls sets. Using the “Use Existing Type” (Name Matching)” option helped create a cleaner and leaner form. ![]() ![]() Multiple Instances of the Control Set with Name Matching: Multiple Instances of the Control Set without Name Matching: To illustrate the difference between settings we create two versions of the control set and inserted multiple instances into our form: Therefore when I created the control set, I set the ImageList’s insertion action to “Use Existing Type (Match Type)”. It doesn’t make sense to insert multiple instances of the same ImageList, since all the button instances will use the same exact image frames to animate the button. This control set consists of a button and an ImageList which contains the images used to display a busy animation when the button is pressed. Use this option when the same non-visual control will be used by multiple instances of your control set.įor example, let’s look at the new version of the Button – Start Job. Refer to the PowerShell Studio: What’s New? (Part 3) blog article for more information on control sets and the “Use Existing Type” option. The difference is that that option will only use the existing type if the name of the non-visual control matches the name defined in the control set. The “Use Existing Type (Match Name)” option functions similarly to the “Use Existing Type”. When creating a control set you now have a new option that you can apply to non-visual controls such as ImageLists, ErrorProviders, etc. In this article we will detail this option and how to use it. In the service release blog article we mentioned a new Control Set option for PowerShell Studio 2012 v3.0.4. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |