Graffiti Chalk – Checking a Custom Field CheckBox Value

If you create a custom field in GraffitiCMS – can can use chalk to check if the field is turned on or not with the following chalk code snippet

   1:  #if($post.Custom("fieldNameCheckBox") == "on")
   2:  <div style="padding-top:10px;">
   3:     Write something here when checkbox is clicked
   4:  </div>
   5:  #end

#010 Using and Avoiding Dock Targets

Dock targets are great, they greatly simplify the ability to place a dock panel in Visual Studio in just the right location. Like a mind reading snap-to feature 🙂 Sometimes these dock targets get in the way with what you’re trying to do. If you need to move a dockable panel to a very specific place, the dock target may be in the way. This trick shows you how to temporarily disable (only during the single drag-n-drop dock panel operation) dock targets.

[Read more…]

#009 Move Tool Windows to a Tabbed Document

Tool Windows are great. But sometimes they contain too much information (like a search results window) to be displayed in the small portion you have allocated for the docked position of the window. This trick shows you how to move a Docked (or floating) window, up into your tabbed documents area.

[Read more…]

#008 Undocking and Redocking in and out of Floating Windows

Docked windows are great, but are sometimes just a bit too small. They are sometimes holding more information (find results, or stack trace come to mind), than the real estate they have been given. You can easily resize the dock panel, but that will replace other real estate that you’re probably also looking at (which is the reason you have the panel docked in the first place). This trick will allow you to quickly change a docked panel, into a floating window (that can easily be moved out of the way [second screen???]), and when you’re done, easily snap that floating window back to the original docked panel location.

[Read more…]

#007 Keyboard Navigation to Tool Window Toolbars

Visual Studio has many toolbars. The toolbars inside Tool Windows can be access from the keyboard. This video trick will show you how to move focus from the Tool Window, up onto the Toolbar, and select a specif icon.

[SHIFT]+[ALT] = Jump to Toolbar inside a focused Tool window.

[ALT]+[SHIFT] = Does not work, because the first [ALT] activates the Jump Keys (usually menu or links) lookup.

[Read more…]