Adding a 4th Palette Tab on Layout: "Assign Colors"

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 30
Joined: Sun Oct 23, 2011 11:25 am
PostPosted: Tue Oct 25, 2011 9:35 pm
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:
Screen shot 2011-10-25 at 10.28.59 PM.png
Assign Colors layout, w/ custom 4th palette
Screen shot 2011-10-25 at 10.28.59 PM.png (189.02 KiB) Viewed 9771 times


By the way -- the word "Palette" is misspelled in the Assign Colors title, FYI. (Bug-fix points?)

Thank you.
SeedCode Staff
SeedCode Staff
Posts: 691
Joined: Mon Feb 28, 2011 2:47 pm
PostPosted: Wed Oct 26, 2011 11:22 am
Hi,

So there's a bit more going on here than meets the eye 8)

You'll also need to add the corresponding RGB values into the field CalendarInterface::ColorRGBValues :

ColorRGBValues.png
ColorRGBValues.png (119.67 KiB) Viewed 9769 times


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 :wink:

Cheers,
Jason
Posts: 30
Joined: Sun Oct 23, 2011 11:25 am
PostPosted: Wed Oct 26, 2011 5:48 pm
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.
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Thu Oct 27, 2011 6:33 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
PostPosted: Sat Oct 29, 2011 9:55 am
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.


Ah, yes, that makes sense. I did that and now it works as expected. Thank you.

S

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 2 guests

cron
(855) SEEDCODE
[email protected]
Follow us: