Re: toolbar by Tim
Tim
Wed Aug 04 13:22:22 CDT 2004
Thanks for advice. I started off by disabling the buttons, but disliked
their black appearance. Making visible=.F. does, as you say, resize the
toolbar but that would be OK if it just remained docked horizontally
where it should be instead of appearing on two lines. I will see if I
can make it unmoveable.
Sorry I was unclear with my second question. If I could put the toolbar
under each form it would be a change from having it docked on the LHS of
the screen - but I do not know how to make that change or if it is
possible.
In article <D79A8E37-EF15-4DE0-B6C4-0D91AC966C12@microsoft.com>,
turiya36 <turiya36@discussions.microsoft.com> writes
>Hi Tim
>
>I'm struggling to understand your post - perhaps I've been programming
>too much today and my brain is mush.
>
>You said
>
>What I would really like is to have the toolbar docked centrally under
>each form which calls it
>
>But you said at the beginning of your post that your tool bar is at the
>top left hand side of your screen. If your tool bar was docked _under_
>a form, would it still be in the top left hand of your screen? Or did
>you mean that you would like your forms to appear directly underneath
>the toolbar button that calls it?
>
>Well, that seems to be one problem - the other problem is that making
>buttons invisible causes unintended resizing of your toolbar into two
>lines. I had that problem too - so I just fixed the toolbar at the top
>left hand side of the screen, and made it unmovable. It's always there
>- unless the user chooses to hide the toolbar in the view menu. All
>functions of my application are callable either from the toolbar or
>from the menu. Yes, I sacrificed some useablility, but no one really
>wanted to move the toolbar anyway, so it wasn't that big of a deal.
>
>You might consider just disabling the button instead of making it
>invisible. It probably wouldn't resize on you then.
>
>
>
>"Tim Hobson" wrote:
>
>> Using VFP 6, I use toolbar which is currently docked horizontally at
>> the top LHS of the screen when forms are opened. I have two questions.
>>
>> 1. Because some buttons are inappropriate for some forms, the init for
>> those forms calls a method in a class which makes those buttons visible
>> property = .F.. In some cases, while this works OK otherwise, the
>> toolbar is no longer horizontal but some buttons appear on a second line
>> under others and I have to drag the toolbar manually to correct it.
>> What causes this and how do I fix it ?
>>
>> 2. What I would really like is to have the toolbar docked centrally
>> under each form which calls it. But as the forms are all different sizes
>> this means that it needs to be in different places for different forms.
>> Is there any way to achieve this ?
>>
>> Thanks
>> --
>> Tim Hobson
>>
--
Tim Hobson