The Rooster

I was born in the Chinese Year of the Rooster…


Another tattoo by Glenn Middleton at Tattoo Tears.

Posted in Uncategorized | Tagged , , | 1 Comment

Dead Girl Ink

Another great effort from Glenn Middleton at Tattoo Tears


Image | Posted on by | Leave a comment

Skull Ink

New Ink - Skull!

A tribute to New Zealand by Glen Middleton at Tattoo Tears. Sweet work – “Chur Bro”.

Image | Posted on by | Tagged , , | Leave a comment

Wascally Wabbit

Wascally Wabbit

Back Detail

Image | Posted on by | Tagged , , , | Leave a comment

How to Select Content of TextBox when in Focus

WPF does not support a Select property on the TextBox object. In order to get this functionality I found the following code:

In Application_Startup.vb

  Protected Overrides Sub OnStartup(e as StartupEventArgs)
    ' select the text in a TextBox when it receives focus:
           TextBox.PreviewMouseLeftButtonDownEvent, New MouseButtonEventHandler(
                AddressOf SelectivelyIgnoreMouseButton))

           TextBox.MouseDoubleClickEvent, New RoutedEventArgs(
                AddressOf SelectAllText))

           TextBox.GotKeyboardFocusEvent, New RoutedEventArgs(
                AddressOf SelectAllText))

  End Sub

The helper methods: selectivelyIgnoreMouseButton(), SelectAllText()

Private Sub SelectivelyIgnoreMouseButton(sender as Object, e As MouseButtonEventArgs)
  ' Find the TextBox
  Dim parent As DependencyObject = TryCast(e.OriginalSource, UIElement)
  While parent IsNot Nothing AndAlso Not (TypeOf parent Is TextBox)
    parent = VisualTreeHelper.GetParent(parent)
  End While
  If parent IsNot Nothing Then
    Dim textbox = DirectCast(parent, TextBox)
    If Not textbox.IsKeyboardFocusWithin Then
      ' If the text box is not yet focussed then give it focus and
      ' stop further processing of this click event.
      e.Handled = true
  End If

End Sub

private Sub SelectAllText(sender as Object, e as RoutedEventArgs)
  Dim textbox = TryCast(e.OriginalSource, TextBox)
  If textbox IsNot Nothing Then
  End If
End Sub
Posted in WPF | Tagged , | Leave a comment

Some Colour in the Back

It has been a couple of sessions with Glenn Middleton at Tattoo Tears in Caringbah since I last posted. Had a fair amount done on the back including the bamboo up the side and poking out from behind the tiger.

Tiger Backjob

This is coming along nicely – only a few sessions to go (i think!).

Next will be the rest of the bamboo and then the background shading. That will almost see the back finished – Yay!


Posted in Tattoos | Tagged , , , , , , , | Leave a comment

Fresh Wabbit

Fresh Wabbit

A little something cute to balance the tiger…

Image | Posted on by | Tagged , , , , | 3 Comments