Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing a Form With _vfp.resize
Message
From
30/06/2005 08:41:39
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01027522
Message ID:
01027630
Views:
50
Thank you very much Sergey. Pardon my ignorance on this one please. I am slightly confused as to where the code would go for this since I am using a form. This is a small utility app which has a main program and one form only. If I put the class definition in the main program then do I simply check for the existence of the form in the custom resize method and if it exists run my code based on the resize of _screen? I have not used bindevent in this manner so I am trying to figure out how it all will hookup...


><snip>
>
>>This works great if the user resizes the form itself. However, I want the form to resize based on the user resizing the _vfp properties. Can I do that? Whenever _vfp resize is run, I want the form resize to run and pretty much run the same code...
>>
>Tracy,
>
>You can BINDEVENT() to the _SCREEN Resize event. See Re: Centering an image in a form, regardless of form size Message #996377
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform