Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Init a wrong place?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Is Init a wrong place?
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01590524
Message ID:
01590524
Vues:
197
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.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform