Selecting objects

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
CAsba
Posts: 376
Joined: Fri Sep 30, 2022 12:11 pm

Selecting objects

Post by CAsba » Tue Oct 24, 2023 9:33 am

Hi,
A new problem. I right click on a button in the IDE with an intention to move it. Nothing happens. If I click elsewhere the screen mists, the top right corner indicator turns a weak red, and the revolving timer shows. This continues for about 45 seconds. Then the button shows that it is selected. Anyone ever experience this ? Any idea of cause ?

Klaus
Posts: 13856
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Selecting objects

Post by Klaus » Tue Oct 24, 2023 9:51 am

Hi CAsba,

huh?
Never seen or heard of this!?
Could you provide a screenshot?

And what if you just LEFT-click to select and move it? :D


Best

Klaus

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9444
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Selecting objects

Post by richmond62 » Tue Oct 24, 2023 11:46 am

OK.

I have not used LC on Windows for 3 years.

BUT:

1. On Macintosh and Linux, inwith the IDE, a right-click is used on a control to show that control's contextual menu.
-
Screen Shot 2023-10-24 at 1.44.39 pm.png
-
2. A left-click in EDIT mode is used to move objects on a card.
-
Screen Shot 2023-10-24 at 1.44.52 pm.png
Screen Shot 2023-10-24 at 1.44.52 pm.png (5.96 KiB) Viewed 9069 times
Last edited by richmond62 on Tue Oct 24, 2023 12:06 pm, edited 1 time in total.

stam
Posts: 2729
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Selecting objects

Post by stam » Tue Oct 24, 2023 11:47 am

Yeah something's off there.
Right-clicking should bring up the contextual menu and you won't be able to move stuff - that's left click territory.
But likewise, I've never see anything like what's described - have you got some funky mouse handler in this button?

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9444
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Selecting objects

Post by richmond62 » Tue Oct 24, 2023 12:18 pm

I really wonder WHERE Casba got the idea that a right-click would allow them to move controls around a card.

Unless:
-
lefty.jpg
lefty.jpg (5.6 KiB) Viewed 9057 times

CAsba
Posts: 376
Joined: Fri Sep 30, 2022 12:11 pm

Re: Selecting objects

Post by CAsba » Tue Oct 24, 2023 1:16 pm

I usually right click on an object to select it - ignoring the menu that appears - and left click on it to move it. For some reason both the right and left clicks invoke a waiting period of 20 - 30 seconds and the moving of the object has a very unstable - jerky - control. I'm going to re-start the computer to see if that helps.

Klaus
Posts: 13856
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Selecting objects

Post by Klaus » Tue Oct 24, 2023 2:00 pm

CAsba wrote:
Tue Oct 24, 2023 1:16 pm
I usually right click on an object to select it - ignoring the menu that appears - and left click on it to move it.
A (left-)click with the "pointer" tool will select an object and you can immediately move it!
Try and get used to it! :)

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9723
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Selecting objects

Post by dunbarx » Tue Oct 24, 2023 2:12 pm

CAsba.

I use a certain button on my multi-button mouse to automatically switch from browse to edit mode. Very convenient, since I can't be spending a lot of time going over to and clicking on the toolbar all day.

The little gadget I use is:

Code: Select all

on rawkeyDown tkey
   .....
      case tkey =  65307
         if the tool  is "pointer tool"  then choose browse tool else choose pointer tool
         break
         ....
Just a suggestion, once you know how this works.

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9444
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Selecting objects

Post by richmond62 » Tue Oct 24, 2023 2:46 pm

Over 'here', on MacOS 10.7.5 with a Trust ergonomic mouse that features 5 button, whenever I click either button 4 or 5 in a browser I get this symbol:
-
Screen Shot 2023-10-24 at 4.39.26 pm.png
Screen Shot 2023-10-24 at 4.39.26 pm.png (3.73 KiB) Viewed 9009 times
-
But beyond that nothing.

And neither button 4 or 5 return a rawKey signal.

stam
Posts: 2729
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Selecting objects

Post by stam » Tue Oct 24, 2023 2:55 pm

Regardless, the behaviour described is abnormal.
Usually this means there is an errant script doing something it’s not supposed to.

Dear CAsba, can you check the following:
1. Quit LC
2. Create a new stack (DO NOT open your problematic one)
3. add a button
4. Left click and drag the button

If this recreates you bug then there is something wrong with your LiveCode installation. I would start by deleting the preference file and consider re-installing from fresh.

If this does not recreate your problem, then the issue is in your stack. I would check you don’t have a mouseUp/Down/Move/Release/Click handler anywhere in you stack. If there are, comment these out and see if that fixes the issue and you should be able to narrow it down.

S.

---------------
Edited to correct silly autocorrect error and to pacify Richmond
Last edited by stam on Wed Oct 25, 2023 1:01 am, edited 1 time in total.

Klaus
Posts: 13856
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Selecting objects

Post by Klaus » Tue Oct 24, 2023 4:03 pm

Stam,

his name is CAsba and he ist not an arabic citadel! :D

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7255
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Selecting objects

Post by jacque » Tue Oct 24, 2023 6:27 pm

CAsba wrote:
Tue Oct 24, 2023 9:33 am
Hi,
A new problem. I right click on a button in the IDE with an intention to move it. Nothing happens. If I click elsewhere the screen mists, the top right corner indicator turns a weak red, and the revolving timer shows. This continues for about 45 seconds. Then the button shows that it is selected. Anyone ever experience this ? Any idea of cause ?
A screenshot would be ideal,, but when you say the screen "mists" do you mean it dims? Or turns white or gray? The top right corner of... the button, I assume? And the revolving timer is the spinning cursor (on Mac) or the hour glass (Windows)?

I'd guess this is a memory problem, where the machine is trying to free up memory to do a task. If that's true, restarting the computer and only launching LC with no other apps running should help. If not, then do a diagnostic on the machine, particularly on the RAM chips. You may need to find a utility app for that.

Do you see the revolving timer when using other apps?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

CAsba
Posts: 376
Joined: Fri Sep 30, 2022 12:11 pm

Re: Selecting objects

Post by CAsba » Wed Oct 25, 2023 1:00 pm

Hi,
It occurs to me that some of the probs I've been having are down to memory capacity. I recently downloaded an anti-virus and a seperate VPN and between them they take up a lotb of memory. I think this is the case and I apologise for taking up your time and attention to such a spurious matter.

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”