|
I asked someone here more familiar with the TabBar and Drag and Drop. Here's what he said:
A TabBar is just an HBox, so you can use the getChildAt() function to access the tabs. You can use the tabs 'x' and 'width' properties to determine its size and location. For hiliting, there is no "official" way to do this, but drawFocus(true)/drawFocus(false) should do what is desired. Of course, these methods shouldn't be called in general-purpose code since they will interfere with the focus manager drawing, but they should be OK to call within a drag and drop operation.
I'm surprised that getStyle('tabWidth') is returning undefined for explicitly-set tabWidths. This should work.
Matt
-----Original Message-----
Hi flexcoders, |
- RE: [flexcoders] Using TabBar as a drop target Matt Chotin
- RE: [flexcoders] Using TabBar as a drop target Ryan Olson
- java.lang.NullPointerException Kairoh!
- RE: [flexcoders] java.lang.NullPointerExceptio... Steven Webster
- RE: [flexcoders] java.lang.NullPointerExce... Kairoh!
- RE: [flexcoders] java.lang.NullPointerExce... Kairoh!
- RE: [flexcoders] java.lang.NullPointe... Steven Webster
- RE: [flexcoders] Using TabBar as a drop target Susan Chang
- RE: [flexcoders] Using TabBar as a drop target Susan Chang

