Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to cause behavior when form is opened for design
Message
 
To
21/05/2002 20:31:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00659664
Message ID:
00659772
Views:
27
Alejandro,

>I want navigation buttons defined in a form class to move to a predefined position that depends on the form size. I can accomplish this at run time, but how do you make it happen automatically at design time, too?


Do You want to have the buttons lets say always on the
bottom, when resizing the form?

You easily do that in the resize-event.

I normally put them into a container. the container is
as wide as the form and has some space on the top and
the bottom in order to make the buttons look ok.
But You can address each single object as well

Something like this
PROCEDURE Resize  && <- of the form

with this
    .cntButtons.width = .width
    .cntButtons.top   = .Height - .cntButtons.Height
endwith

ENDPROC
HTH
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Previous
Reply
Map
View

Click here to load this message in the networking platform