In my previous post,Powershell Studio 2012 we had created a blank PowerShell GUI form, in this post, I am just sharing about few useful form properties.
Note: We are using Sapien PowerShell Studio 2012
Windows State of the form
If you want to run your GUI to me minimize, or maximize when they run, you are use the “WindowState” field property, to set it as per your needs, either, to stay, it Normal, Minimized or Maximized.
Customize Cursor.
Do you want to use a specific cursor for your PowerShell GUI applications, Yes! , you can, using the “Cursor” field property, just click on “Cursor” and choose the cursor which you like to use.
Setting Form Border Style
You, can also set the style of the form border, using “FormBorderStyle” field property. You can check the below table about the form border style vales and their effects on the form.
Value | Effect on the form |
None | With No Border, |
Fixed 3D | You, can’t resize the form, with ICON on the top, with Maximize, Minimize and cancel button {not able to spot any big difference} |
Fixed Single | You, can’t resize the form, with ICON on the top, with Maximize, Minimize and cancel button |
Fixed Dialogue | You, can’t resize the form, with NO ICON, with Maximize, Minimize and cancel button
|
Sizable | You, can resize form, with ICON on the top, with Maximize, Minimize and cancel button |
FixedToolWindow | A form with a close button only. You, can’t resize the form. |
SizableToolWindow | A form with a close button only. You, can resize the form. |
That’s all for today, See you in my next post
Thanks
Regards
Aman Dhally
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.