Memory problem BeforeDrawThemeObject? |
Post Reply |
Author | |
dkrapf
Newbie Joined: 04 March 2009 Location: Germany Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 05 March 2009 at 2:57am |
Hi,
my application (build with visual objects 2.8) crashes after a view minutes if I add code for changing some of the cell background colors. If I remove this code, everything works fine. I'm using the version 13.0 activeX of the calendar control. Example: METHOD OLEOBJECT1BeforeDrawThemeObject(eObjType,pCell) class terminplan4 if eObjType = xtpCalendarBeforeDraw_DayViewCell .and. pCell:WorkCell self:oDCOLEObject1:Theme:DayView:Day:Group:Cell:WorkCell:BackgroundColor := rgb(200,200,200) // <= application crashes right here :-( endif Any ideas? Thanks in advance. |
|
skiman
Groupie Joined: 20 December 2008 Location: Belgium Status: Offline Points: 88 |
Post Options
Thanks(0)
|
Hi, Is the result of your rgb(xxx,xxx,xxx) function the correct value type? Regards, Chris |
|
ABO Service
|
|
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 |