Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default InvalidateControl in a ribbon

Hi,

I have problem to invalidate a control in certain situations, I don't know
where to place the InvalideControl statement.

For example:

I have done a new tab with a checkbox called "Show Gridlines" (the same
functionality as in the View tab).

<checkBox id="ShowGrid"
label="Show gridlines"
getPressed="getPressed"
onAction="CheckboxClicked" /

When my tab is clicked, getPressed is called and I check if gridlines is
shown or not.

Lets say I hide the gridlines (checkbox not checked) and click on the
"Excel-View-tab" and check the Show gridlines, now when I click on my tab
again the checkbox is unchecked.

Where should I put the invalidatecontrol??? The best place would be on the
"Click" on my tab but I can't find this event.

Please note that this is just an example, I just want to get the mehtods
right before I start to convert my program to 2007.


Please help...

/Nicke
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
The Ribbon YDOD Excel Discussion (Misc queries) 3 June 11th 09 05:34 AM
The Ribbon.... Senior Excel Monkey Excel Discussion (Misc queries) 2 June 11th 09 03:37 AM
Ribbon HMT New Users to Excel 4 May 2nd 09 10:15 PM
ribbon Bryce Excel Discussion (Misc queries) 0 February 11th 09 03:56 PM
Can we modify any of the ribbon tabs or create new ribbon tabs? Scott Sornberger New Users to Excel 2 March 19th 08 11:41 AM


All times are GMT +1. The time now is 08:54 AM.

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

About Us

"It's about Microsoft Excel"