i am using VPF 6.0 and EnableSimpleFrame used to
Enable the simple frame characteristic for an OLE control.
http://msdn2.microsoft.com/en-us/library/y7y229fx(vs.71).aspx
well, here what I do
1- I created ActiveX control using wizard without adding any extra code, just the default.
2- I added EnableSimpleFrame to the constructor.
3- I added this ActiveX to the foxpro form as bound ActiveX.
if you need extra information tell me how I contact you and I will send you the whole demo.
Thanks,
you may try to use something like:
oCon = CreateObject("form")
oCon=NewObject("EnableSimpleFrame"[,Module,...,....])
WITH
.DisplayVerticalScrollBar = .T.
....
...
ENDWITH
oCon.Show(1)
I think in this way you may control scrollbars.
well, I just place now the ActiveX on the form , and when I ran the demo both Horz and Vert scrollbars don¡¯t work properly.
But when I commented out EnableSimpleFrame all work fine. but unfortunately I need to use EnableSimpleFrame.
I appreciate your help
Thanks alot,
May be is something wrong with file library(containing) "EnableSimpleFrame".
I found this "Visual FoxPro has limited support for the ISimpleFrame" .do you have more info about it