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

Data1 property

 Post Reply Post Reply
Author
Message
skiman View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Location: Belgium
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote skiman Quote  Post ReplyReply Direct Link To This Post Topic: Data1 property
    Posted: 06 March 2009 at 10:33am
Hi,
 
I'm trying to use the data1 property of the calendar object. It seems as this property is unknown?
 
According to the help file there are 4 (data1...4) properties which can be used to put user defined data in. I want to use this to save an identifier for the calendar.
 
In Xbase++ this should be :
oCalendar:data1 := "xxx", but this gives me an error, object has no member with this name.
 
If I check the docs, it is the same level as for example viewtype.
oCalendar:viewtype := xxx is working.
 
I also tried the options object, but this also has no member with the name data1.
 
Suggestions?
 
Chris.
ABO Service
Back to Top
Mr.Den View Drop Down
Groupie
Groupie
Avatar

Joined: 26 August 2007
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mr.Den Quote  Post ReplyReply Direct Link To This Post Posted: 06 March 2009 at 11:13am

Here is the CustomProperties VB example I think you are referring to from the help file:

 
    Dim NewEvent As CalendarEvent
    Set NewEvent = CalendarControl.DataProvider.CreateEvent

    'Add some custom properties
    NewEvent.CustomProperties.Property("String Value") = "Hello"
    NewEvent.CustomProperties.Property("Numeric") = 500
    NewEvent.CustomProperties.Property("Boolen Value") = False

    'Retrieve the custom property
    Dim nInt As Integer
    nInt = NewEvent.CustomProperties.Property "Numeric"
 
Any help?
 
Product: Xtreme SuitePro (ActiveX) version 16.3.1

Platform: Windows 7 Professional (64bit) - SP 1

Language: Visual Basic 6.0 SP 6
Back to Top
skiman View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Location: Belgium
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote skiman Quote  Post ReplyReply Direct Link To This Post Posted: 06 March 2009 at 12:09pm
Hi,
 
No, I found it in the help file.
- Codejock Active X Controls
 - Xtreme Calendar
  - Properties
   - Data1 property
   - Data2 property...
 
I already use the custom properties for the events, but I want to save a specific ID to the calendar.
 
Regards,
Chris.
 
ABO Service
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.