dot net components adjust font and form size

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
jabdefiant
Posts: 16
Joined: Fri May 31, 2019 1:07 pm

dot net components adjust font and form size

Post by jabdefiant » Sat Oct 05, 2024 9:53 am

I have a very simple VB.Net class that I am importing into LANSA as a dot net component. (This is just a simple sample class to demonstrate my issue)
Basically it just returns OK
When I run this inside my VL form, it messes with the font size and style of the form. I cannot figure out how to stop this. Has anyone run into and overcome this issue?
I have seen the same situation with c# class.

Before and After screenshots below...

Code: Select all

Public Class TestSuite
    Public Function Ping() As String
        Return "OK"
    End Function
End Class
Before.jpg
Before
Before.jpg (22.99 KiB) Viewed 325 times
After.jpg
After
After.jpg (16.58 KiB) Viewed 325 times

jabdefiant
Posts: 16
Joined: Fri May 31, 2019 1:07 pm

Re: dot net components adjust font and form size

Post by jabdefiant » Wed Oct 09, 2024 5:32 am

An Update:

As it turns out, the application window is only affected when running inside remote desktop. I am using RDP to access the dev IDE.
When the application is running on the main desktop or over zoom, the font issues go away.

This is no longer an issue for me, as the users will not be using remote desktop.

Post Reply