Saturday, July 26, 2008

ComboBox.selectedValue


-edit- other implementation here


more than once I needed a ComboBox component to automatically (with bindings and all) select an item based on one of its property value.

specially when using E4X, I wanted to select an item based on some property value of a XMLList node.
so I extended the ComboBox, and added a 'dataField' (similar to 'labelField') and a 'selectedValue' property to it

example
source

Tuesday, April 22, 2008

Total Commander Tip #1

ever felt the need to hide .svn folders when comparing two folders in total commander ?
it actually is pretty staight-forward, although the syntax is weird, '|' is used as 'but not'

use this filter while synchronizing directories :

*.*|*.svn\


and you can add the config files from eclipse like this

*.*|*.svn\;.*;*.prefs