Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Controls
Message
From
24/02/2000 12:14:22
 
 
To
24/02/2000 02:15:36
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00335596
Message ID:
00336845
Views:
30
on key label "f2" clear events && Just as an escape from test
frm1 = createobject("form")
with frm1
.Height = 400
.Width = 600
.addobject("olb1","oleboundcontrol")
with .olb1
.ControlSource = "Appgen.myPics"
.Height = frm1.height
.Width = frm1.width
.visible = .t.
endwith
.visible = .t.
endwith
read events

So this code was inserted under the command.click of a cmdbutton on a page in a pageframe. I reset the ControlSource of course to match what I need. But I still cannot see the form. Does it have to do with the PageFrame? Or maybe the fact that I call the code form a command.click? In the debugger I can see the form crated, the OLE object created and height and with set to 400,600 on both the form and the OLE control. But the form is not viewable. Does it need to be modal?

Any Ides?
Thanks...
Tom Welch
Previous
Reply
Map
View

Click here to load this message in the networking platform