Print Page | Close Window

Windev (pcsoft) doesn't detect classes

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=4986
Printed Date: 29 April 2024 at 1:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Windev (pcsoft) doesn't detect classes
Posted By: aboldoc
Subject: Windev (pcsoft) doesn't detect classes
Date Posted: 06 September 2006 at 7:08pm
I'm trying to declare a variable in windev (www.pcsoft.com) like this:

MyEvent is CalendarEvent


but CalendarEvent seems to be a type not recognized in Windev.

What I have done is to put in my window an Activex control (XTreme Calendar Control).

I can see methods, atributes of the activex (XTreme Calendar Control) but I can't use the classes.

For example, the line

ActiveX1>>Enabled=False

works fine.

What I'm missing?



Replies:
Posted By: sserge
Date Posted: 07 September 2006 at 7:40am
Hi,

Looks like there is a problem with references to the library. Check whether Calendar's OCX is referenced for your project (or your environment).

Also you may try adding library prefix before class name, like
XtremeCalendarControl.CalendarEvent


--
WBR,
Serge


Posted By: aboldoc
Date Posted: 08 September 2006 at 6:32am
I solved by adding code like this in Windev (pcsoft)

NewEvent is object OLE dynamic
NewEvent =new object OLE "Codejock.CalendarControl.10.3"
NewEvent = ActiveX1>>DataProvider>>CreateEvent

NewEvent>>Subject = "My Subject"



Alvaro Boldo




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