Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Webcontrol in VFP form
Message
De
16/07/2020 12:31:07
 
 
À
16/07/2020 10:13:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01675188
Message ID:
01675229
Vues:
58
>>>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.
>>
>>Just wanted to point you to... well, exactly the place where you have the problem, which would mean that I just gave up on it so now you have the problem :).
>>
>>How about displaying the browser control in a container, at -1, -1, with size being 2px larger than the container?
>
>Did that in vfp6 and 8 with some other activeX controls, worked most of the time, but when it did not it showed a flicker of underlying borders, which was irritating enough to ditch that attempt. Of course might work with vfp9 and/or WebBrowser.

Sort of sounds like the issues that I'd run into in getting a "grid" in FoxPro DOS and FoxPro Windows by setting up a BROWSE window a child window with its extents just outside the window borders so that the normal borders would get clipped (in this case, the BROWSE was a "grandchild" of the containing window). Generally worked OK --- until someone customized the Windows UI (e.g. change font sizes, border widths, size of title bar, etc.) and the statically-computed sizes and locations wouldn't work -- so it became necessary to code to take those into account and everything had to get computed "on-the-fly". Obviously it wouldn't be possible to make any of those windows resizable (i.e. there weren't any resize events in FoxPro DOS and FoxPro Windows, if I remember correctly).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform