>It was a dark, foggy night... oops, sorry. Wrong forum.
>
>But seriously folks, we have a strange form behavior. Here's the form's layout property settings:
>
>AlwaysOnTop = .T.
>AutoCenter = .T.
>BorderStyle = 0 - No Border
>Closable = .F.
>ControlBox = .T.
>MDIForm = .F.
>MaxButton = .F.
>MinButton = .F.
>Movable = .F.
>ShowWindow = 0 - In Screen
>SizeBox = .F.
>WindowState = 0 - Normal
>ZoomBox = .F.
>
>The form is modeless and not a member of a formset. The form has a grid control on it. Here's the strange behavior: when the grid receives focus, the form shifts down and to the right the width of the standard form border showing the form border, even though the border style is set to 0. Forms set up the same way without grids do not exhibit this behavior. Any ideas?
>
>TIA
Hi! I didn't pay attention to this thread before, but now I reminded that I had funny 'shifting' problem with one form containing grid on some machines. Do you know how I fixed the problem? I changed Form.Height property and 'jump' disappeared. Why? I still have no idea, just found that it happened when lower border of the form/grid was 'close enough' to lower border of _SCREEN.
Edward Pikman
Independent Consultant