Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is Init a wrong place?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01590524
Message ID:
01590527
Views:
74
>>Hi everybody,
>>
>>I am wondering if anything is missing here.
>>
>>I have a form with the Web Browser control. It has the following code at the top of the Init method:
>>
>>
>>thisform.windowstate = 2
>>thisform.oWeb.top = 0
>>thisform.oWeb.left = 0
>>thisform.oWeb.width = thisform.width
>>thisform.oWeb.height = thisform.height
>>
>>However, when the Web Browser appears, it looks like it's taking only about half of the form (there is a scroll bar in the middle of the form).
>>
>>So, I am wondering if there is something missing.
>>
>>Thanks in advance.
>>
>>-----------------
>>UPDATE. Never mind, moved that code to Resize of the form and added NODEFAULT into Refresh event and all seems to be well.
>
>why not use Anchor?

Good point. I don't know why, but the code also works :)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform