an enhanced scrolling list field
Posted: Sun Sep 18, 2011 5:20 am
File attachment deleted until I can find and fix the problem on Windows.
Best,
-- Mark
Best,
-- Mark
Questions and answers about the LiveCode platform.
https://www.forums.livecode.com/
Thanks Walt. You're right, it is really not behaving well on windows at all. I did a cursory test on Windows but should have spent more time testing it there. For what its worth I can't duplicate the problems on the Mac so I am going to port the code over and do some development on the windows side to track the drag/drop bug down. I'll repost it once I find the problem. THANKS so much for posting a message. -- MarkWaltBrown wrote:Hi Mark,
Nice idea. A couple comments:
1. Make the popup menu (not the field, the popup menu itself) left click, not right click. My "habit" (and it may just be me) is habitually to left click, not right click, on a popup (the same way the LC IDE works).
2. Some of the time I tried to drag and drop, it instead put parentheses around my selection instead of dropping in the new location. In my brief look I didn't see where that was happening in the scripts.
3. It would be really handy if it were combined with a tree structure, like PowerPoint outlines, so you could open and close, drag and drop whole subsections at once.
Thanks.
Hi Craig, I did some testing on the PC and narrowed the problem to a difference between how the Mac and PC versions of LC work (see the attached demonstration program). I would appreciate it if you could give the demo a try and let me know if you are seeing the same problem I am (I've documented the problem on the card in a label field). At the moment I don't have a work around and assuming it is a real problem with LC I may have to wait for them to fix it.WaltBrown wrote:Hi Mark,
Nice idea. A couple comments:
2. Some of the time I tried to drag and drop, it instead put parentheses around my selection instead of dropping in the new location. In my brief look I didn't see where that was happening in the scripts.
3. It would be really handy if it were combined with a tree structure, like PowerPoint outlines, so you could open and close, drag and drop whole subsections at once.
Thanks.
Thanks Walt. I noticed the two click thing as well and can't recall at the moment whether I thought that was a separate problem or part of the same problem. I'm going to take another look at it this weekend. I'll probably repost the enhanced scrolling list as a Mac-only tool for the time being, which is a shame, but I have reported the problem and sent the demo stack to RR.WaltBrown wrote:You are correct, on the PC the pop up list intercepts the mousemove messages. Also, after selecting one of the pop up items, I needed to click in the field to get the mouserelease message and resume recieving the mousemove messages. It took two clicks a few times when I tapped the mouse pad, but that might be my computer, not LC.
Walt
Hi Walt, just to update you on my (very slow) progress. 1. I found and fixed the left mouse button/right mouse button problem you mentioned in a previous msg. It was my misunderstanding of the menumousebutton property. I thought it defined which button popped up the menu on the field (so I set it to 3), not which button was used to select the menu choice. I've set the property to 0 and all is well.marksmithhfx wrote:Thanks Walt. I noticed the two click thing as well and can't recall at the moment whether I thought that was a separate problem or part of the same problem. I'm going to take another look at it this weekend.WaltBrown wrote:Also, after selecting one of the pop up items, I needed to click in the field to get the mouserelease message and resume recieving the mousemove messages. It took two clicks a few times when I tapped the mouse pad, but that might be my computer, not LC.
Walt
-- Mark