Codejack and Office2007Theme
Publicado: Mar Abr 01, 2008 1:18 am
Hi Jose
In the calendar control you can use SetTheme()
You can set it to Office2007Theme like this
oTheme := CreateObject( "CodeJock.CalendarThemeOffice2007.11.2.2" )
::oCalendarWnd:SetTheme(oTheme)
Problem is, if I have XP themes turned on in Xailer it causes my app to
crash with this
********************************
#2: Unrecoverable error 9011:
#3: hb_xfree called with a NULL pointer
#4:
#5: Called from OPENTHEMEDATA(0)
#6:
#7: Called from TCALENDARCONTROL:SETTHEME(496)
#8:
#9: Called from TFORM1:LOADCALENDAR(66)
#10:
#11: Called from TFORM1:ONINITIALIZE(0)
#12:
#13: Called from TFORM1:NEW(183)
#14:
**********************************
If I turn off XP Themes in Xailer I don't get the error but it never
switches themes either.
Regards Nick
In the calendar control you can use SetTheme()
You can set it to Office2007Theme like this
oTheme := CreateObject( "CodeJock.CalendarThemeOffice2007.11.2.2" )
::oCalendarWnd:SetTheme(oTheme)
Problem is, if I have XP themes turned on in Xailer it causes my app to
crash with this
********************************
#2: Unrecoverable error 9011:
#3: hb_xfree called with a NULL pointer
#4:
#5: Called from OPENTHEMEDATA(0)
#6:
#7: Called from TCALENDARCONTROL:SETTHEME(496)
#8:
#9: Called from TFORM1:LOADCALENDAR(66)
#10:
#11: Called from TFORM1:ONINITIALIZE(0)
#12:
#13: Called from TFORM1:NEW(183)
#14:
**********************************
If I turn off XP Themes in Xailer I don't get the error but it never
switches themes either.
Regards Nick