Jump to content
rudy999

Delphi 11.1 - IDE - some objects on form 'move or resize' when form saved

Recommended Posts

Something curious is occurring in one of my VCL projects:

 

The application works perfectly, and has several buttons, list boxes and one datagrid.

 

The TOP property of only 1 button, the HEIGHT property of the Listobx and the TOP property of the datagrid

change back to a fixed value when the form is closed.

For example the button in question upon opening after a close unit, is off the form. (top value greater than form height).

I move the button so it is visible again on the form. Close form. Open form - button TOP is back to the other value, 'out of sight'.

Short solution is to redefine the respective property in the on form create event....? Not a real solution.

 

Is this a DFM issue?

 

This is a new application, other apps - seem ok.

Thanks in advance

Share this post


Link to post

I have had the same issue but with none visual controls like data sources and report builder components, but it is only on some projects.  I assume it is a high-dpi issue of some kind or some project setting somewhere.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×