Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VFP] Modal Window not displaying
#5
I might have a workaround.

Got the idea from here:
https://www.tek-tips.com/viewthread.cfm?qid=77132

The idea to change the modal state of the form from the OnCreateWebViewCompleted seems that it is possible if you temporarily set the form's visibility to false for a moment.

eg.

Code:
*** ActiveX Control Event ***
LPARAMETERS hresult

thisform.Visible = .F.
thisform.WindowType = 1
thisform.Visible = .T.

That actually runs for me and the form is displayed as expected.

The other interesting part from the link above is that there are other controls that have this issue. Would be nice to know if there's a way for me to handle this in the control, but so far I haven't found what I should do for addressing that.
--
Wil
Reply


Messages In This Thread
[VFP] Modal Window not displaying - by echolis - 2022-10-12, 22:35:42
RE: [VFP] Modal Window not displaying - by wila - 2022-10-13, 12:43:49
RE: [VFP] Modal Window not displaying - by wila - 2022-10-17, 12:33:01
RE: [VFP] Modal Window not displaying - by wila - 2022-10-17, 12:46:28
RE: [VFP] Modal Window not displaying - by wila - 2022-10-31, 18:13:55
RE: [VFP] Modal Window not displaying - by wila - 2023-03-31, 14:46:48
RE: [VFP] Modal Window not displaying - by wila - 2023-04-18, 14:32:54

Forum Jump:


Users browsing this thread: 1 Guest(s)