Reputation: 1435
I have a form, which has 2 checkboxes, one of them is Ole Control :
Now, if I call them twice, there will be 2 instances of the form, the problem is :
1
, and I click on the Ole Control (checkbox), I then can't click on form 2
, meaning form 2 couldn't receive focus even I tried clicking many times on the form ole control
of the form Ole Control
of the form desktop
property to be true EDIT : Here is the OLE
control :
It's very simple to reproduce the error :
form.Desktop = .t.
, name it formOLEdo form formOLE
Upvotes: 1
Views: 698
Reputation: 2044
The OCX on foxpro forms it should be always the last remedy. You are not the only one than can't access foxpro controls after a OCX control has got the focus. These are some solutions I've done throughout my projects:
I recommend to use OCX on modal forms, if not, forms can be unaccessible.
Upvotes: 1