Search found 405 matches

by Lembasts
Thu Mar 14, 2024 9:26 pm
Forum: PowerShell GUIs
Topic: Dealing with common functions
Replies: 2
Views: 323

Re: Dealing with common functions

Just found the cache editor. All good.
Wish there was a way to include a normal psm1 module when compiling PS studio packages.
by Lembasts
Thu Mar 14, 2024 3:11 pm
Forum: PowerShell GUIs
Topic: Dealing with common functions
Replies: 2
Views: 323

Dealing with common functions

We have two files that store common functions. One is a psm1 file used by scheduled scripts and is stored as a module in the usual module location. AIUI I cannot use that for functions I compile with PS Studio so I have a common ps1 file included in all my projects which contain the common functions...
by Lembasts
Tue Mar 12, 2024 3:07 pm
Forum: PowerShell GUIs
Topic: Dynamically create buttons with on click events
Replies: 2
Views: 293

Re: Dynamically create buttons with on click events

Create all the buttons first and make them invisble.
Then as you assess apps, update the button text and make it visible and then trigger the appropriate app launch in the click event.
by Lembasts
Sat Feb 03, 2024 2:14 pm
Forum: PowerShell Studio
Topic: Different computer, different from designer display
Replies: 16
Views: 3980

Re: Different computer, different from designer display

Here is the screenshot as requested. As you can see its chopped off the buttons on the right. It didnt even get to the end of the listview.
by Lembasts
Thu Feb 01, 2024 2:21 pm
Forum: PowerShell Studio
Topic: Different computer, different from designer display
Replies: 16
Views: 3980

Re: Different computer, different from designer display

If you look at the desktop image you can clearly see buttons on the right of the listview.
If you look at the laptop2 view, there are no buttons on the right hand side. Its chopped them off.
by Lembasts
Fri Jan 26, 2024 4:10 pm
Forum: PowerShell Studio
Topic: Different computer, different from designer display
Replies: 16
Views: 3980

Re: Different computer, different from designer display

I have the desktop and two laptop images. First laptop image is as opened and second is when I scrolled all the way down and to the right.
by Lembasts
Fri Jan 26, 2024 2:30 pm
Forum: PowerShell Studio
Topic: Different computer, different from designer display
Replies: 16
Views: 3980

Re: Different computer, different from designer display

I have attached the screenshot from the desktop which clearly shows some buttons on the right hand side of the form.
On the laptop the right boundary of the form is moved to the left where no buttons can be seen.
Snap1.jpg
Snap1.jpg (166.9 KiB) Viewed 1320 times
by Lembasts
Thu Jan 25, 2024 3:58 pm
Forum: PowerShell Studio
Topic: Different computer, different from designer display
Replies: 16
Views: 3980

Re: Different computer, different from designer display

No it doesnt. I set the laptop to 150% and it still displays incorrectly.
I dont have room for a portable monitor.
So what exactly do I need to do to make sure the editor displays the form correctly on the laptop?
by Lembasts
Thu Jan 25, 2024 3:38 pm
Forum: PowerShell Studio
Topic: Different computer, different from designer display
Replies: 16
Views: 3980

Re: Different computer, different from designer display

so if I set the same scaling for both computers it should display the same on both?
by Lembasts
Thu Jan 25, 2024 3:11 pm
Forum: PowerShell Studio
Topic: Different computer, different from designer display
Replies: 16
Views: 3980

Re: Different computer, different from designer display

So what can I do to make sure what I see on the laptop is what I see on the desktop when editing?