Print Page | Close Window

ChangingCategories of internal Dialog

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=9994
Printed Date: 07 July 2025 at 6:11am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ChangingCategories of internal Dialog
Posted By: hjmueller
Subject: ChangingCategories of internal Dialog
Date 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



Replies:
Posted By: Maddin
Date 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.


Posted By: chavnick
Date Posted: 23 October 2009 at 10:58am
Please give me the full code to do this in Microsoft Access 2003.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net