Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 tushar Kanvinde
 To: Paul Vandewalle
  Where is Paul Vandewalle?
 Paul Vandewalle
Subject: RE: forms
Thread ID: 373553 Message ID: 373555 # Views: 68 # Ratings: 1
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Saturday, March 23, 2013 8:54:25 AM         

> Hello all,
> I have forms containing pageframes with pages on this pages optiongroups and so on
> I use following code in the forms init if sysmetric(1) # 640
> for i = 1 to this.controlcount
> with this.controls(i)
> .height = .height*vhoog
> .width = .width*vbreed
> .top = .top*vhoog
> .left = .left*vbreed
> endwith
> endfor

> I have to repeat and adapt this code to manipulate the pageframe, the page and the optiongroup
> Is there a method to do it from the init of the form in one piece of code?
> regards
> Paul Vandewalle

Instead of that, you could use the Anchor property in VFP9 and resize the form. All controls will get resized and repositioned depending on their anchor value. Or you could check out https://www.foxite.com/downloads/default.aspx?id=184



forms Posted by Paul Vandewalle @ 3/23/2013 8:35:53 AM
RE: forms Posted by tushar @ 3/23/2013 8:54:25 AM