NetTalk Central

Author Topic: Color picker on form  (Read 3100 times)

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Color picker on form
« on: April 08, 2011, 02:07:55 PM »
Thanks for the new color picker, Bruce.

It looks like it is designed to do exactly what I want, but I am having some trouble getting it to work as planned.

The record has a single string entry for text and two  string entries for foreground and background colors.  I have made two color field types on the form and for each:

  • turned off Show Entry Field;
  • turned on Force user to use lookup;
  • turned on Live-Update with the String entry as the Field with color and background color as the atrributes respectively
  • Both color fields have value sent to server and Reset the value of the String field turned on.

I am getting:
  • the color entry fields stay visible and displays the hex value without color;
  • the string entry field does not refresh with the selected colors;
  • the selected colors are saved properly and if the record is opened again from a browse the string entry field shows the right colors.

I am using NT 5.14 but I don't see any reference to the issue in the release notes since.

What am I missing?  Many thanks

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Color picker on form
« Reply #1 on: April 08, 2011, 09:36:17 PM »
Hi Casey,

best way to fix your setup is if you duplicate it in a small example app, and send that to me (or post it here). Take one of the examples, example 1 would be fine, add a couple fields to the table, and add your stuff to the form.

That way I can determine if it's a setup issue - and if so how to make the setup more intuitive and robust. Of course it might just be a big - I've heard they occasionally exist.

cheers
Bruce

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Re: Color picker on form
« Reply #2 on: April 10, 2011, 04:24:04 PM »
Thanks, Bruce

Here is the example app and dictionary with a foreground and background color fields in the MailBoxesFormControl procedure as described.  Same problem as I have with my app, perhaps worse because the color entries are only saved if there is a vailidation error (ie, no Mailbox name) first.

Thanks again.

[attachment deleted by admin]