dbTalk Databases Forums  

VFP 6: Toolbar Reality Check Request 2

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss VFP 6: Toolbar Reality Check Request 2 in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gene Wirchenko
 
Posts: n/a

Default VFP 6: Toolbar Reality Check Request 2 - 07-22-2004 , 05:05 PM






I have decided to make my toolbars unresizeable and undockable.

Unresizable is not as easy as it could be. Setting .resizable to
..f. does not suffice.

It is possible during a docking attempt for the toolbar to
resize. When it does so, it does not fire resize. Can I count on
this?

To get around this resizing, when initialising the toolbar, I set
the .width to the .width of the widest control--the value actually
assigned allows for margins--and set .startwidth to the toolbar's
..width. In .afterdock(), I set .width to .startwidth. Is there a
simpler way?

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.

Reply With Quote
  #2  
Old   
Cindy Winegarden
 
Posts: n/a

Default Re: VFP 6: Toolbar Reality Check Request 2 - 07-23-2004 , 09:28 AM






In news: bed0g01oh941407lsfqidc2pmj9lgt51t0 (AT) 4ax (DOT) com,
Gene Wirchenko <genew (AT) mail (DOT) ocis.net> wrote:
Quote:
I have decided to make my toolbars unresizeable and undockable.

Unresizable is not as easy as it could be. Setting .resizable to
.f. does not suffice.

It is possible during a docking attempt for the toolbar to
resize. When it does so, it does not fire resize. Can I count on
this?
Hi Gene,

Have you considered using a Form instead of a Toolbar?

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.winegarden (AT) mvps (DOT) org www.cindywinegarden.com





Reply With Quote
  #3  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: VFP 6: Toolbar Reality Check Request 2 - 07-23-2004 , 10:27 AM



"Cindy Winegarden" <cindy.winegarden (AT) mvps (DOT) org> wrote:

Quote:
In news: bed0g01oh941407lsfqidc2pmj9lgt51t0 (AT) 4ax (DOT) com,
Gene Wirchenko <genew (AT) mail (DOT) ocis.net> wrote:
I have decided to make my toolbars unresizeable and undockable.

Unresizable is not as easy as it could be. Setting .resizable to
.f. does not suffice.

It is possible during a docking attempt for the toolbar to
resize. When it does so, it does not fire resize. Can I count on
this?

Have you considered using a Form instead of a Toolbar?
That is what I did first, but apparently, a modal form can not
spawn a non-modal form. I think that that is a silly limitation, but
that is what is.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.