Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - ChangingCategories of internal Dialog
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ChangingCategories of internal Dialog

 Post Reply Post Reply
Author
Message
hjmueller View Drop Down
Newbie
Newbie


Joined: 29 March 2008
Location: Germany
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote hjmueller Quote  Post ReplyReply Direct Link To This Post Topic: ChangingCategories of internal Dialog
    Posted: 29 March 2008 at 4:39am
We want to use the internal Dialogs form Calendar and we have changed the transation to german needs, But i didn't find a way to change the categories List i.e. in the EditEvent Dialog (it shows the items Green Category, blue category ...).

To Change the Provider.ListItems has no effect to the Dialog.

Any Ideas ?

thanks in advance
Hans
Back to Top
Maddin View Drop Down
Newbie
Newbie


Joined: 24 September 2008
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Maddin Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2008 at 6:20am
I think what you mean, is to change the items that in the samples are in the Combobox "Labels".
 
The Dataprovider contains a collection named "Labellist".
 
modify that like this:

    frmMain.CalendarControl.DataProvider.LabelList.RemoveAll
    frmMain.CalendarControl.DataProvider.LabelList.AddLabel 0, &HFFFFFF, "none"
    frmMain.CalendarControl.DataProvider.LabelList.AddLabel 1, &HFF&, "test #1"
    frmMain.CalendarControl.DataProvider.LabelList.AddLabel 2, &HFF00&, "test #2"
    frmMain.CalendarControl.DataProvider.LabelList.AddLabel 3, &HFF0000, "test #3"
 
Of course, you can make an own database table containing your labels and load the labellist upon initialization and store your labels upon creation into your database.
Back to Top
chavnick View Drop Down
Newbie
Newbie


Joined: 23 October 2009
Location: Greece
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote chavnick Quote  Post ReplyReply Direct Link To This Post Posted: 23 October 2009 at 10:58am
Please give me the full code to do this in Microsoft Access 2003.
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.172 seconds.