Selection mode

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
tal
Posts: 84
Joined: Thu Jul 02, 2009 3:27 pm

Selection mode

Post by tal » Tue Feb 16, 2010 2:21 pm

HI,

I saw we could change the selection color doing :

Code: Select all

set the selectionhandlecolor to "red"
Can we also change the visual aspect?
I must do a repeat loop on the selectedobjects, but when an object is selected i dont like the visual result so i want to know if we can change it.

Thanks

Klaus
Posts: 14208
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Selection mode

Post by Klaus » Tue Feb 16, 2010 2:41 pm

Hi Tal,

the selection handle color is the only visual representation of selected object.
Nothing else to change, sorry! What do you have in mind?


Best

Klaus

tal
Posts: 84
Joined: Thu Jul 02, 2009 3:27 pm

Re: Selection mode

Post by tal » Tue Feb 16, 2010 4:05 pm

Ok, I have several groups, and i have a fonction which moves the groups I want to.
To use this fonction, I select the groups i want to move by the pointer tools and after I move a group and the others follow.
But when groups are selected, if they are close, it is not very clean in the screen lol
so i wanted to change this, i tried to make it invisible too but i didnt success.

Thanks

Klaus
Posts: 14208
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Selection mode

Post by Klaus » Tue Feb 16, 2010 6:28 pm

Hi Tal,

you wrote:
-> ...i tried to make it invisible too but i didnt success.

Could you please post the script?
I am sure we can make it work :)


Best

Klaus

tal
Posts: 84
Joined: Thu Jul 02, 2009 3:27 pm

Re: Selection mode

Post by tal » Wed Feb 17, 2010 11:31 am

Hi,

I tried

Code: Select all

set the selectionhandlecolor to "transparent"
but it stills gray.
After i don't know how writing it, if you have an idea?

Thanks

Klaus
Posts: 14208
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Selection mode

Post by Klaus » Wed Feb 17, 2010 1:35 pm

Hi Tal,

ah, sorry, I thought you wanted to "hide" the complete group!
No, sorry, the handles always have an opaque color, no transparency possible!

But you could simply DE-select the group you are working on.
To edit an object by script the object does not have to be selected!

I, persoanlly, would get the list of all groups to be editied, de-select them
and then do whatever has to be done with the groups :)


Best

Klaus

tal
Posts: 84
Joined: Thu Jul 02, 2009 3:27 pm

Re: Selection mode

Post by tal » Wed Feb 17, 2010 1:44 pm

Ok thank you i try to manage with this.

By

Post Reply