Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: mohammed qasem
  Where is mohammed qasem?
 amman
 Jordan
 mohammed qasem
 To: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 Tags
Subject: RE: center
Thread ID: 209400 Message ID: 209415 # Views: 4 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Sunday, December 28, 2008 2:00:18 PM         
   


i add new method auto at the form
insert
* PROCEDURE Init
BINDEVENT(_screen,'Resize', This, 'AutoResize')
* ENDPROC
* PROCEDURE Destroy
UNBINDEVENTS(This)
* ENDPROC
* PROCEDURE AutoResize
This.AutoCenter = This.AutoCenter
* ENDPROC

is that correct.
thanks
> > thank you for reply,
> > how i can use it via my project,
> >
> > i run my project as
> > below
> > DO form menu1&&have all forms i need
> > READ event
> >
>
> You can just copy the code lines from the previous example into your form.SCX methods.
> That is, the single lines between each Procedure/EndProc w/o the Procedure/EndProc itself.
> The "AutoResize" method is a custom one theat you can create in the Form menu -> "Add Method".
> The AutoCenter property can be set in the Properties Sheet.
>
>
> hth
> -Stefan

ENTIRE THREAD

center Posted by mohammed qasem @ 12/28/2008 11:51:39 AM
RE: center Posted by Stefan Wuebbe @ 12/28/2008 1:28:22 PM
RE: center Posted by mohammed qasem @ 12/28/2008 1:42:41 PM
RE: center Posted by Stefan Wuebbe @ 12/28/2008 1:48:55 PM
RE: center Posted by mohammed qasem @ 12/28/2008 2:00:18 PM
RE: center Posted by Stefan Wuebbe @ 12/28/2008 2:14:07 PM