Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default context for the command bar

I've been experimenting with using the parameter property of custom controls
to hold the knowledge of what context the control should be enabled or not.
This is based on ideas from " the Professional Excel Dev" book.

I'd like to incorporate this into a 'generic' application framework that is
reusable across projects, and it would help a lot to apply the concept to
custom command bars as well. I see there is in fact a Context property, but
I can't find much anywhere about it other than the implication that it is
meant for storing the bar's location. I don't want to use this if it is
going to have unwelcome side-effects somehow, plus I'm wondering why the
authors of the book didn't use this property (suspecting there is a reason
why not).

Thoughts much appreciated...


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default context for the command bar

From what I interpret in Help the Context property is only supported in some
app's, eg Word, but not in Excel which, if true, would explain why the
authors did not refer to it!

Unlike Word, Excel toolbars and custom toolbars are saved in the *.xlb file
(but attached toolbars ?)

Regards,
Peter T

"Eric" wrote in message
ink.net...
I've been experimenting with using the parameter property of custom

controls
to hold the knowledge of what context the control should be enabled or

not.
This is based on ideas from " the Professional Excel Dev" book.

I'd like to incorporate this into a 'generic' application framework that

is
reusable across projects, and it would help a lot to apply the concept to
custom command bars as well. I see there is in fact a Context property,

but
I can't find much anywhere about it other than the implication that it is
meant for storing the bar's location. I don't want to use this if it is
going to have unwelcome side-effects somehow, plus I'm wondering why the
authors of the book didn't use this property (suspecting there is a reason
why not).

Thoughts much appreciated...




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ISNumber - What Context? ronaldo444 Excel Worksheet Functions 1 August 14th 06 04:59 PM
Context Menu nrussell Excel Programming 0 September 29th 05 10:08 AM
Context sensitive help Jon Bailes Excel Programming 2 January 14th 05 01:19 PM
context menu eric23 Excel Programming 3 May 9th 04 11:49 PM
context sensitive help Malcolm Excel Programming 0 November 19th 03 02:00 PM


All times are GMT +1. The time now is 09:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"