There is one form in our application of about 30 forms, that when a user types or moves the cursor over the form it shrinks in size. We have tried opening the form as a dialog box, that doesn't help. Does anyone have any ideas?
With the form in the design mode click inside the form to cause some sizing handles to appear. They look like small boxes at the outer edges of your form and there are eight of them. Four at the corners and one each at the top, bottom, left, and right center of the form area.
You may need to click and drag the lower right corner of the form window to see all eight sizing handles simultaneously. I'd be willing to bet one or two of them are closer in than you want them to be.
These handles along with the "Size to Fit" in the form properties dialog work together to define the size of the form on screen. Alternatively you can set the "Size to Fit" checkbox off. You must also do this in the design mode.
I've not heard of that happening in any version of Paradox as a bug, so I suspect you have some code that's trying to resize something on the form. What's likely happening is that it's calling one of the build-in variables and trying to resize it generally. What I think is going on though, is that the built-in variable in actually pointing to the form, not the object that's trying to be resized. (Built-in variables are self, active, subject, and so on.)
Take a moment to notice which object you have to enter with the mouse when the form changes size. Next, open that form in Design mode and see if that object has events defined for mouseEnter and/or MouseExit.
I think you'll find there's some code in one of those methods. Review that carefully to try to discern the original intent. Then, replace the calls to the built-in variables with the name of the real target object.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.