Hi, I've tried multiple tricks and so far, no go. I've read many pieces of information, but I don't have answers.
I have a listbox that I've created on the fly, using a clone of a listbox(0) based on comments from the archive. I place it on the correct tab panel using panelindex. I can set its x and y coordinates. I want to move the listbox when the user clicks on it and drags it to a different location on the tab panel, which is my program's "worksheet." I tried some of the drag and drop technology, and I can get an outline of the listbox to move (which would be acceptable). However, no event fires for the listbox or the tab panel on the mouse up, so I don't get any clue of when the mouse up occurs or where the mouse is. I would like to know a couple of things. 1. How do I tell where the mouse is at any particular time (like in a timer routine)? I could use this to move the listbox. I've looked for this information, but I haven't found it in user guide or other locations. 2. How can I move a listbox (or any other control) at runtime by allowing the user to click and drag the control? I'm working on porting a program I wrote in C++, and this is just one of many problems I'll be tackling. This is my first trip with RealBasic. I'm hoping it will work well. thanks, wade _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
