I haven't tried it but you should be able to extend TitleWindow and then you would have access to the titleBar. You could then add drag event handlers to the titleBar if you accept the drag over the titleBar the icon should change, when the titleBar gets the drop event get the object do what you need to and add whatever to the datagrid. ----- Original Message ----- From: Martin Pitt To: [email protected] Sent: Monday, June 18, 2007 4:54 PM Subject: [flexcomponents] FW: Should-be-simple Drag & Drop cursror question
Hi I have a question which I know is gonna end up being stupidly simple... I have a TitleWindow component, which I want to respond to drag / drop events. When a user drops something on it's title bar, it's child datagrip accepts the object. It's doing this fine using DragManager.acceptDragDrop(dataGrid1). However, when the mouse is over the dataGrid, the cursor is set to the appropriate Aeon icon, but when it's over the Title bar, it's empty. I've tried playing around with CursorManager.setCursor on dragEnter and dragExit events, but only ended up making a mess. I'm sure this must be simple -- What am I missing?? Thanks in advance Marty
