Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize event
Message
From
25/12/1999 23:25:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/12/1999 23:19:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00308585
Message ID:
00308595
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform