Posts Tagged ‘Control Sets’


 

PowerShell Studio 2015 – Updated Control Sets

Monday, May 18th, 2015 by David Corrales
In the v4.2.85 service release of PowerShell Studio 2015, we updated a few of the predefined control sets.   Updated Control Sets: Button – Run Process now includes the Process Tracker framework, so you no longer have to include the Form – Process Tracker control set. Button – Start Job now includes the Job Tracker framework, so you no longer have to include the Form – Job Tracker control set. All the Form control sets have been modified so that they will not produce redundant event blocks when inserted multiple times.   New Append Option The Form controls sets assign…   More »

New Control Set: TextBox – Watermark

Wednesday, August 14th, 2013 by David Corrales
Recently in the forums we had a request on how to create a textbox with a watermark. What is a textbox with a watermark you ask? It is a textbox that displays hint information within the textbox using a lighter color. For example, a textbox that accepts a username, may have a watermark as follows: Once a user types in the textbox, the watermark goes away. Typically a C# developer would create this control by creating a new class that inherits the original textbox control. Next they would override some paint events and add custom members to keep track of…   More »

PowerShell Studio 2012: New Control Set Option

Thursday, May 31st, 2012 by David Corrales
In the service release blog article we mentioned a new Control Set option for PowerShell Studio 2012 v3.0.4. In this article we will detail this option and how to use it. “Use Existing Type (Match Name)” Option When creating a control set you now have a new option that you can apply to non-visual controls such as ImageLists, ErrorProviders, etc. The “Use Existing Type (Match Name)” option functions similarly to the “Use Existing Type”. 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…   More »

PowerShell Studio: Creating Responsive Forms

Wednesday, May 16th, 2012 by David Corrales
When working with GUIs you may have noticed that the Form can freeze when running long scripts. Previously I discussed how to make your loops more responsive in this article, but not every long script comes in the form of a loop. If you truly want to make your forms responsive, you will need to move these slow scripts into another thread and in the PowerShell world this means using jobs. For those of you who aren’t familiar with PowerShell Jobs, they allow you to run scripts while freeing up the console to perform other tasks. In this case it…   More »