Windev (pcsoft) doesn't detect classes |
Post Reply |
Author | |
aboldoc
Newbie Joined: 06 September 2006 Status: Offline Points: 3 |
Post Options
Thanks(0)
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? |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
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 |
|
aboldoc
Newbie Joined: 06 September 2006 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |