Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Navigation Buttons in Container
Message
From
12/12/2006 12:59:54
 
 
To
12/12/2006 11:28:13
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01176887
Message ID:
01176923
Views:
14
Sam

There are 2 ways I can see:

Easiest:

Sub-class your nav buttons container to 2 versions: one with all the buttons in a row; the other with them as described in your question. Place whichever is approp. on a form.

Harder (but not too trying):

Use form properties in your form class to denote the relative .top of the buttons within the container; i.e. whether the buttons go in the in-line or two-tier configuration. The buttons therefore would have like Thisform.nTopRow or Thisform.nBottomRow for their .Top prop's. (it's pre-defined which go in the top tier or bottom).

The container would need to resize dynamically, using its .Height prop, depending on the above.

All this could be taken care of in your form class's .init() method.

There may be an easier way or one already done bur I know not. HTH

Terry


>I have just created a navigation buttons. I have 8 buttons in my container and lined them up in one row. Is there a way that I can re-arrange my buttons when I use them in the form? For example, I can have the btnTop, btnPrev, btnNext, btnEnd and btnExit on top and in the bottom, I can have the btnAdd, btnEdit and btnDelete? Please help. Is there also a class object of this type in the Component Gallery? Please advise.
>
>Thanks,
>Sam
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform