416-621-9348 cgreaves@chrisgreaves.com Visit www.ChrisGreaves.com for this image! Chris_GEDC1894_Head (Small).JPG
Home Services Products

This table summarizes a set of actions programmed merely to show a small sample of the controls that can be implemented.

The user may have no requirement for seeting the radar axis labels to be "Arial", "Italic", 1.1 times the current font size, and UnderlineStyle=None. That is not significant.

The significance lies in the fact that we can detect that the user has held down the Alt-key while clicking on a radar axis label - and we can implement anything we like.

Movie Duration When you You get Comments
Camt_003 1m 16s click over a data point "Clicked a data point" Reports Shift=1, Ctrl=2, Alt=4, Shift&Ctrl&Alt=7 etc.
Camt_004 2m 0s click over a category (radar axis) label Shift=0 "Arial", "Bold", 1.1
Shift=1 "Courier", "Normal", 0.9
Shift=2 "Arial", "Italic", 1.1, xlUnderlineStyleNone
Shift=4 "Courier", "Bold", 0.9, xlUnderlineStyleSingle
Camt_005 1m 35s Click on an axis Shift=0 Weight = Hairline
Shift=1 Weight = Thick
Shift=2 ColorIndex = 2
Shift=4 ColorIndex = 1
Camt_006 0m 59s Click on a major gridline Shift=0 Weight = Hairline
Shift=1 Weight = Thick
Shift=2 ColorIndex = 2
Shift=4 ColorIndex = 1
Camt_007 1m 36s Legend quadrants (iffy)Top left
Top right Font.Size * 1.1
Bottom right Font.Size * 0.9
Bottom left
Then Position rotates 5x Corner, left, Right, Top, Bottom
Camt_008 2m 43s Legend Entry Shift=0 Start a set of series
Shift=1 (Shift) Extend a set of series between the clicks
Shift=2 (Ctrl) Add a series to the set
Shift=3 (Ctrl-Shift) Toggle the selected series
Shift=4 (Alt) Toggle the current set of series. Clear the set
Shift=5 (Shift-Alt) Make INVisible ALL series
Shift=6 (Ctrl-Alt) Make Visible ALL series
Shift=7 (Shift-Ctrl-Alt) Toggle visibility of ALL series
Camt_009 1m 51s Legend Key Shift=0 Show the closest 3
Shift=1 (Shift) Show the closest 3 currently VISible
Shift=2 (Ctrl) Show the closest 3 currently INvisible
Shift=3 (Ctrl-Shift) (I ran out of ideas)
Shift=4 (Alt) (I ran out of ideas)
Shift=5 (Shift-Alt) (I ran out of ideas)
Shift=6 (Ctrl-Alt) (I ran out of ideas)
Shift=7 (Shift-Ctrl-Alt) (I ran out of ideas)
Axis Title "xlAxisTitle"
Camt_010 2m 51s Chart Area Top Left quadrant
Shift=0 Reset colors to default values
Shift=1 (Shift) Multiply colors by 1.2, 1.0, 1.0
Shift=2 (Ctrl) Multiply colors by 1.0, 1.2, 1.0
Shift=4 (Alt) Multiply colors by 1.0, 1.0, 1.2
Top Right quadrant
Shift=0 Reset colors to default values
Shift=1 (Shift) Multiply colors by 0.8, 1.0, 1.0
Shift=2 (Ctrl) Multiply colors by 1.0, 0.8, 1.0
Shift=4 (Alt) Multiply colors by 1.0, 1.0, 0.8
Chart Area Bottom right quadrant (I ran out of ideas)
Bottom Left quadrant (I ran out of ideas)
Camt_011 0m 51s Chart Title Advance the chart interior color index by 1.
Camt_012 1m 42s Plot Area Shift=0 Load plot area image from INI file specification
Shift=1 (Shift) Clear plot area image (remove)
Shift=2 (Ctrl) Load chart area image from INI file specification
Shift=4 (Alt) Clear chart area image (remove)
Shift=5 (Shift-Alt) Clear plot AND chart area image (remove)

Note that while some of the objects permit all 8 possible combinations of Shift, Ctrl, Alt keys, some (such as Radar Axis Labels immediately above) have been implemented only the level of individual keys. We can trap combinations such as Shift-Ctrl and Shift-Ctrl-Alt.

Note too that three clicks on the radar axis label will result in Arial, Bold, and a font size 1.331 times the original size. Subsequent application of a Shift-Click will result in Courier Bold and a font size 1.21 of the original size.


Loading

Toronto and Mississauga, Tuesday, December 07, 2010 10:18 AM

Copyright © 1996-2010 Chris Greaves. All Rights Reserved.