Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - event color
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

event color

 Post Reply Post Reply
Author
Message
tddragon View Drop Down
Newbie
Newbie
Avatar

Joined: 30 July 2007
Location: Belgium
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote tddragon Quote  Post ReplyReply Direct Link To This Post Topic: event color
    Posted: 10 August 2007 at 10:05am

I want to give my events a color.

so far I'm only able to give the events a color that is preset (0-10) but my users have to be able to choose what color the want for the event.

does anyone know how to do this?? (the color is picked using a colorpicker)

Back to Top
Rafael View Drop Down
Newbie
Newbie
Avatar

Joined: 26 November 2007
Location: United States
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rafael Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2007 at 11:12am

I can only find how to change the Events gripper\border color through the calendareventbusystatus using 11.2.2.  I would like to know how you were able to change the events background color to any of the preset 11 colors you mentioned.

I agree that we should be able to set any color to the background color of an event. 
Back to Top
Rafael View Drop Down
Newbie
Newbie
Avatar

Joined: 26 November 2007
Location: United States
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rafael Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2007 at 12:57pm
Found what 11 colors you mentioned. The 11 preset labels for an event.  I found you can add colors and labels to the label list collection.  So you can make it any color you want. So with a HACK, you can manipulate the label list to have some made up label and set it to the color your user chooses. In the online help for activex control v11.2, you can find the AddLabel Method that explains how this works.
 
At least there is a way to do this, but it is probably native to the control to set its background color, so why not make it a property for us to customize. Most likely because color is forced upon a label selection and you don't want to worry about who has precedence. I will make this a feature request.
Back to Top
tddragon View Drop Down
Newbie
Newbie
Avatar

Joined: 30 July 2007
Location: Belgium
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote tddragon Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2007 at 2:57am
thank you for the information at the moment we decided to keep it with those 11 colors but it will come in handy for future projects. If I find a "better" way I'll post it here
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.