cancel
Showing results for 
Search instead for 
Did you mean: 

Sizing problem with visual user object.

Former Member
0 Kudos

I have a user object which appears on several windows.  Sometimes directly on the window and sometimes on a tab control (also a user object).  It looks fine in all the windows but one.  There the bottom is cut off.  But the bottom is not cut off when I open the window in the database painter.  One of my pictures shows the object at runtime in two different windows (not an EXE, just in the development environment).  It shows how the bottom is cut off in one.  The other picture shows the offending window in the window painter.  All of the pieces live in the same PBL.  I've optimized it and regenerated it.  I've moved the edges around in the offending window and re-genned.  Any ideas about what else I can do?

TIA

LAS

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Well, even though I still have the problem in the development environment, I find that there is no problem with the executable when I use the new PBD.

I would still like to understand what's going on.  I've had this sort of problem before, although long enough ago that I don't remember what I did to fix it.

TIA

LAS

Former Member
0 Kudos

Try to check if your display setting is set correctly and that you have the correct display driver - just my .2 cents.

Former Member
0 Kudos

How do I check if my "display setting" and "the correct display driver?"

TIA

LAS

Former Member
0 Kudos

Open Control Panel, then click on Display and try to adjust your display resolution.

Former Member
0 Kudos

It looks like there are horizontal resize objects on the window between the objects on the right. Check the code in your resize event that controls how the objects relate to each other.

Former Member
0 Kudos

Since the objects are on the right, and the problem is at the bottom (bottom of userobject doesn't show), what would I be looking for.  Also, these windows have been in distribution for over ten years without a problem.  Nothing has been done to resize statements, etc.  I think it must have something to do with re-genning, sizing in development environment etc., not code.

Anyway, if you could give me more specific advice, I'll check.

TIA

LAS