Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize event
Message
De
25/12/1999 23:25:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
25/12/1999 23:19:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00308585
Message ID:
00308595
Vues:
20
>Hi,
> I allow user to resize the form. I just need to check some condition when the resize event fire and NODEFAULT it if failed... how to do so?
>
>Thank you


Use form.resize :
if lCanResize
  ...
else
  nodefault
  thisform.borderstyle = 1
*  thisform.borderstyle = 3 && Checking routine should reset this
endif
Or you can also use Assign method of Height, width.
*height_assign
lparameters tnValue
if lCanResize
  this.height = tnvalue
endif
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform