Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop
 To: Grigore Dolghin
  Where is Grigore Dolghin?
 Bucharest
 Romania
 Grigore Dolghin
 Tags
Subject: RE: How to use resizer control?
Thread ID: 810 Message ID: 813 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Thursday, June 14, 2001 4:11:01 PM         
   


> > Someone pointed me to the resize control in the FoxPro Foundation Classes. I've looked it over and am still a novice at using classes. I'm stumped at how to use it. My needs are simple however...
> >
> > I have a form with a Calendar control on it. I simply want the Calendar to fill my entire form no matter how big they make it. From 640x480 to 1600x1200 I want it to fill the whole form.
> >
> > If there is an easier way than the resize control, I'm alway looking for easy ways to do things.
> >
> > Thanks for the help,
> > Mike
>
> Hello.
>
> You'll have to learn the hard way :)
>
> I strogly suggest to get an account at www.universalthread.com and download the resizer controls from there. They are far better written than that one from FFC.
>
> Grigore Dolghin
> Class Software

Dale is finishing a drop-and-almost-ready-to-run resize class. We hope to post it soon.
But in this case, you don't need a class. If you only have the calendar control on your form, pasting this code into the Resize() event of the form is sufficient.

thisform.olecontrol1.left = 0
thisform.olecontrol1.top = 0
thisform.olecontrol1.width = thisform.width
thisform.olecontrol1.height = thisform.height

I agree with Grigore regarding the FFC. Most of the controls are pretty useless. You can better write the code yourself then use the FFC.
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts

ENTIRE THREAD

How to use resizer control? Posted by Michael Gill @ 6/14/2001 3:43:38 PM
RE: How to use resizer control? Posted by Grigore Dolghin @ 6/14/2001 4:05:22 PM
RE: How to use resizer control? Posted by Eric den Doop @ 6/14/2001 4:11:01 PM
RE: How to use resizer control? Posted by Michael Gill @ 6/14/2001 4:28:28 PM
RE: How to use resizer control? Posted by Erik Gomez @ 6/16/2001 12:08:44 AM