Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Borderstyle = 1, but i can still resize the form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01029709
Message ID:
01029715
Vues:
12
Chris,

It must be something in your form class (or somewhere else) messing things up. Here is a basic example showing the base VFP form does not exihibit the described behavior:
LOCAL loForm as frmBST

loForm = NEWOBJECT('frmBST')
loForm.Show(1)

loForm = null


DEFINE CLASS frmBST AS Form
	BorderStyle = 1
ENDDEFINE
HTH,
Chad

>I am trying to turn off form resizing, and have set the borderstyle on the form to 1. But i still get a form resizing control in the bottom right corner of the screen (running on win2k, using VFP8, sp1). I was of the impresssion that a borderstyle of 1 or 2 would prevent form resizing. I have placed the command "thisform.borderstyle =1" in the form's INIT and still no go. The form is modal with no max nor min button. I have turned themes off. Thinking the the borderstyle is getting changed somewhere, i placed a commandbutton on the form that echos the setting in a wait window. its still 1.
>
>What am i missing?
_________________________________
There are 2 types of people in the world:
    Those who need closure
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform