Form doesn't resize correctly on RDS 2012

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
stevens
Posts: 347
Joined: Wed Jun 15, 2016 2:26 am

Form doesn't resize correctly on RDS 2012

Post by stevens » Mon Dec 17, 2018 5:16 am

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: 2017
32 or 64 bit version of product: 64
Operating system: W2012
32 or 64 bit OS: 64

Hi,
I have a form that works fine with PS Studio but when I publish it on a remote desktop server (Windows 2012), half of the form doesn't show :-( (!)
MainForm.psf
Form
(101 KiB) Downloaded 22 times
Please advise.
.

*** Please add details and screenshots as needed below. ***

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

User avatar
Alexander Riedel
Posts: 6999
Joined: Tue May 29, 2007 4:43 pm

Re: Form doesn't resize correctly on RDS 2012

Post by Alexander Riedel » Mon Dec 17, 2018 6:12 am

[Topic moved by moderator]
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
jvierra
Posts: 13681
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Form doesn't resize correctly on RDS 2012

Post by jvierra » Mon Dec 17, 2018 12:29 pm

The most likely cause is that your form has a greater size than the resolution of the RDS session. Your for is 1090 wide. What are the remote session display settings?

Locked