Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Webcontrol in VFP form
Message
 
To
15/07/2020 11:02:22
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01675188
Message ID:
01675263
Views:
91
I believe the issue here has to do with the rendering mode inside of the control. Proper HTML5 content with the appropriate doc type headers will render without a border. But content that's not using IE Edge mode (ie. IE7 rendering) will render with the 3d frame.

IOW, this is driven by the engine.

Make sure the pages you're displaying are using HTML5 compliant header:
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" /> 
    <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 
This works for me to get borderless windows.

For other browsers the DocType is no longer needed because the pre-presumption is HTML5 mode, but for IE it needs the hint otherwise it renders in Quirks mode which is what apparently brings up the crazy borders.



>Hi all,
>
>Does anyone know how to get rid of the 3d border of the IE webcontrol when used in a VFP form ?
>I'd like to have no border at all, or at least a single border.
>
>Walter,
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform