Hi Yuri,
The Top position is changed to the correct value, but the control does not reposition.
Marshal
>Can you change the TOP property from the command window and see what happens? Like:
>
>
>do form formname NANE Hi
>acti screen
>?hi.olecontrol2.Top
>hi.olecontrol2.Top=hi.olecontrol2.Top +10
>?hi.olecontrol2.Top
>
>
>Has it been moved?
>
>
>>Hi Yuri,
>>
>>Graphics not the problem...Tried your suggestion...didn't work.
>>
>>
>>>Probably there are problems with graphics on the PC. Try:
>>>- make form invisible/minimized while repositioning controls,
>>>- repaint/refresh the form after repositioning controls
>>>
>>>
>>>
>>>>Hi All,
>>>>
>>>>I have a Visual Foxpro SP1 form with 2 ChadoSpellText Controls (OleControls).
>>>>
>>>>There is Code called from the form's INIT method which depending on Data conditions will reposition the Controls.
>>>>
>>>>What I have observed is that one Control repositions correctly and the 2nd does not, even though it's Top Property shows the correct adjusted value in the Watch window.
>>>>
>>>>Have also tried setting the Top Property in the OleControl's INIT method with the same result.
>>>>
>>>>Am stumped on how to why this is occuring or how to make this work.