Applies to: reported on Clarion 6.3 EE (C63EE) with the date look-up control template. The thread does not name the template chain.
Problem
An existing application was recompiled under C63EE. A date look-up control template placed next to the field it updates looked right in the window preview. At run time the control sat on top of the date field. Moving it further away stopped the overlap, but the control then appeared even further from the field than where it was placed. The same layout had worked before C63.
Solution
- Check the resize behaviour first: a reply guessed that auto-resizing was rubber-banding the two controls together.
- The cause given in the thread: 6.3 finds the parent control automatically. If your controls sit on a panel, image or group, they are taken to belong to that control and are resized by its resize strategy. This matters most for controls locked in size.
- Call the SetParentControl method of the resize class, so the class resizes the control according to the window instead of the "parent" control.
- The reply also cited PT# 10904.
- The original poster then installed build 9052 for C63EE and reported that this fixed the problem.
Caveats
- The thread does not show the SetParentControl call itself, or the embed to put it in. The original poster reported the build as the fix, not the method.
- The poster felt the older behaviour was better and asked whether it would be changed back; nobody answered that.
- Which of the two steps is needed on your build is not settled.
Today (2026)
Likely still relevant for controls that overlap a panel, image or group on a window with a resize strategy. Not re-tested on a current build.
Sources: Greg O. (Apr 2006, the question), Paul H., Bjarne H. (Apr 2006) in softvelocity.clarion.templates.