Search found 1642 matches

by brittneyr
Mon Feb 12, 2024 7:28 am
Forum: PowerShell GUIs
Topic: Relative Element Positioning & Properties Palette
Replies: 3
Views: 1011

Re: Relative Element Positioning & Properties Palette

No, you cannot see this in the designer.
If you are dynamically setting a property, you need to preview/run the psf to see the results.
by brittneyr
Wed Feb 07, 2024 7:11 am
Forum: PowerShell Studio
Topic: "Product version has incorrect format", but format is correct.
Replies: 1
Views: 458

Re: "Product version has incorrect format", but format is correct.

Are you packaging your single-form application into an executable before creating an installer? If this is the case, can you provide a screenshot of your settings on the Version Information tab?

If this is not the case, can you copy and paste here the entire output when you attempt to build?
by brittneyr
Tue Feb 06, 2024 7:45 am
Forum: PowerShell GUIs
Topic: Action the X (Close) Button
Replies: 2
Views: 1243

Re: Action the X (Close) Button

You can prevent the form closing in the FormClosing event. You can set a boolean when you process starts and you can check it on closing: $processFinished = $false #Start your process and when it finishes, set $processFinished to true $form1_FormClosing=[System.Windows.Forms.FormClosingEventHandler]...
by brittneyr
Mon Feb 05, 2024 1:39 pm
Forum: PowerShell Studio
Topic: Manul install Webview2
Replies: 3
Views: 607

Re: Manul install Webview2

Something like the following should work with the assemblies referenced and using the function Get-ScriptDirectory: $webview = New-Object 'Microsoft.Web.WebView2.WinForms.WebView2' $webview.CreationProperties = New-Object 'Microsoft.Web.WebView2.WinForms.CoreWebView2CreationProperties' $userDataFold...
by brittneyr
Mon Feb 05, 2024 1:17 pm
Forum: PowerShell Studio
Topic: Manul install Webview2
Replies: 3
Views: 607

Re: Manul install Webview2

Support for the webview2 control was added in 5.8.201 as you stated. There is no way to get this control in the toolbox prior to this build.

You can manually add the webview2 control via code (from the script tab), but you will not be able to add it from the designer without updating.
by brittneyr
Wed Jan 31, 2024 7:14 am
Forum: PowerShell
Topic: Trouble with embedding secured password
Replies: 1
Views: 816

Re: Trouble with embedding secured password

Can you confirm if $SAPIENHost.GetPassword(0) is returning anything? You could check with a break point on that line or an output statement.
by brittneyr
Tue Jan 30, 2024 3:25 pm
Forum: PowerShell GUIs
Topic: ListView Gridlines and ShowGroups mutually exclusive
Replies: 1
Views: 744

Re: ListView Gridlines and ShowGroups mutually exclusive

[Moved to PowerShell GUIs form by moderator]
by brittneyr
Tue Jan 30, 2024 3:20 pm
Forum: PowerShell Studio
Topic: Different computer, different from designer display
Replies: 16
Views: 4107

Re: Different computer, different from designer display

To clarify, are you saying you are unable to see the bottom-right corner of your form on the laptop?

If so, are you able to see more of the form if you undock panels?
by brittneyr
Thu Jan 25, 2024 2:57 pm
Forum: PowerShell Studio
Topic: Different computer, different from designer display
Replies: 16
Views: 4107

Re: Different computer, different from designer display

Similar to running a form on a different machine, the form shown in the designer with size based on the display and set properties. This means controls will 'resize themselves' in the designer on different displays.