Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ole Control will not Programatically Reposition on Form
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01232448
Message ID:
01232695
Views:
13
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform