Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Type Mismatch while trying to set  AskItemTextFlag
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Type Mismatch while trying to set AskItemTextFlag

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


Joined: 10 August 2009
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote gutnixxx Quote  Post ReplyReply Direct Link To This Post Topic: Type Mismatch while trying to set AskItemTextFlag
    Posted: 10 August 2009 at 4:29am
Hi,
I'm testing the calendar control, which is a superb solution.
But there is a problem: I'm not able to set the "AskItemTextFlags"-Property.
Access claims a "Type Mismatch Error", please see the following lines:


Debug.Print Me.CalendarControl1.AskItemTextFlags 'OK, =0
Me.CalendarControl1.AskItemTextFlags = -1 'Error:Type Mismatch
Me.CalendarControl1.AskItemTextFlags = xtpCalendarItemText_DayViewDayHeader 'Error:Type Mismatch


it seems, that there is no right to write to this property.

Thanks for your help!

Best regards

Gutnixxx

     Product: Xtreme SuitePro (ActiveX) version 13.1.0
     Platform: Windows 2000 SP 4
     Language: Access 2002 SP 3

      
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 04 September 2009 at 9:35am
CalendarControl.AskItemTextFlags is Dispatch. You use to call it's functions - e.g
 
CalendarControl.AskItemTextFlags.SetFlag xtpCalendarItemText_EventToolTipText
 
 
[btw - is it so difficult to look in our Calendar activex VB sample code and make fast search for "AskItemTextFlags"?]
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.152 seconds.