Print Page | Close Window

Type Mismatch while trying to set AskItemTextFlag

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=14936
Printed Date: 08 July 2025 at 10:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Type Mismatch while trying to set AskItemTextFlag
Posted By: gutnixxx
Subject: Type Mismatch while trying to set AskItemTextFlag
Date 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

      



Replies:
Posted By: mdoubson
Date 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"?]


-------------
Mark Doubson, Ph.D.



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