Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange happenings when running form

Status
Not open for further replies.

mpgalvin

Programmer
Feb 5, 2001
119
IE
I have the following form:


The bottom half of the form (labels, grid, command buttons) is in a container called cntIssue.

When I start up, I set the height of the form so that cntIssue is hidden and move cntIssue up to 0,0. When the user types a value into the first grid, I bring up cntIssue with the second grid over it, so that the original grid is hidden, the effect being that it's the exact same screen. When they hit either of the buttons in cntIssue, I'm removing cntIssue. Simple.

However, when I run this form, and bring up cntIssue, it results in this:


Notice how the "Select non-Fifo transaction" label is nearly totally obscured by the original grid. The "Quantity left" labels and the command buttons *definitely* belong to cntIssue, and the fact that the original grid is obliterated at the top of the second grid is really bugging me!

I've tried bringing cntIssue to front, sending the main grid to back, etc. The background type of cntIssue is opaque, so that can't be it. I just can't figger it out!

[Apologies for the size of the s/shots - I only have MSPaint on this machine...]
 
Hi,

I may be missing something, but it looks like if you move cntIssue to a slightly higher place on the form, then the first grid and buttons will be covered over?

Hope that helps. Ask again if not.

Stewart
 
Stewart, I'm asking again :)

Basically, the cntIssue container has a label "Select non-Fifo transaction" near the top. You can see it in the design gif, but in the running gif you can just see the left hand bit of the "S", so in theory the cntIssue container should totally overwrite the original grid, but somehow parts of it remain on screen...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top