I'd like to add a 4th palette tab on the Assign Colors layout.
I've increased the field reps from 48 to 64 for both of the relevant fields, and have added a 4th block of RGB values to the field where those are stored.
Everything appears as though it should work fine, but after extensive attempts, no matter what I try, I can't actually drag and drop a color from any of the 16 fields on my 4th tab (named "Custom" in this example.)
To clarify, when I click and hold on a color blotch in my "Custom" 4th palette tab, it doesn't allow me to drag anything out of it -- no "drag ghost box" appears, as it does (and should) in the other three palette tabs.
I must be missing something simple as I don't see any complex script interactions here.
Here's a screen-shot to clarify what I'm trying to do:
By the way -- the word "Palette" is misspelled in the Assign Colors title, FYI. (Bug-fix points?)
Thank you.
Adding a 4th Palette Tab on Layout: "Assign Colors"
5 posts
• Page 1 of 1
Posts: 30
Joined: Sun Oct 23, 2011 11:25 am |
|
Hi,
So there's a bit more going on here than meets the eye You'll also need to add the corresponding RGB values into the field CalendarInterface::ColorRGBValues : That's where they're actually getting pulled from. The repetition number should match the value number here. It should work then. This is a little more "under the hood" then most folks go, we "thought" 48 would be enough Cheers, Jason |
|
Posts: 30
Joined: Sun Oct 23, 2011 11:25 am |
Hmm,
I had (already) added a 4th block of RGB values to the field you specified, and indeed the new colors do appear as expected in my 4th tab. I simply can't actually "drag & drop" the colors. My cursor enters the fields, and a highlight box appears, but I can't *move* that highlight box (by dragging it) across the screen. I checked, double-checked all the field characteristics, script-triggers, etc. to be sure they are 100% identical with those in the other 3 tabs; they are. Any further insight? If need be I will make a screen-capture video of the problem to shed more light on it. |
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hi Sam,
The field on top, CalendarDragRept,looks empty, but has a "space" in it; sounds like you're missing this value in the additional repetitions you created. I'd add these repts to a blank layout somewhere--instances where the repts have no script triggers on them--and paste in the contents of one of the earlier (<48) repetitions. OR, edit the script "Create Calendar Records" and change the variable "$sc_NumberOfRepts" to 64, then delete all your CalendarRow records and run that script. Either should get your drag and drop working. Hope that helps, John John Sindelar
SeedCode |
Posts: 30
Joined: Sun Oct 23, 2011 11:25 am |
Ah, yes, that makes sense. I did that and now it works as expected. Thank you. S |
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests