Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - DatePicker border appearance not updated
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DatePicker border appearance not updated

 Post Reply Post Reply
Author
Message
rmcgaffic View Drop Down
Groupie
Groupie


Joined: 03 June 2011
Location: Pittsburgh, PA
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote rmcgaffic Quote  Post ReplyReply Direct Link To This Post Topic: DatePicker border appearance not updated
    Posted: 03 June 2011 at 8:36pm
I am using the Codejock AccessSample for the Calendar control and its companion DatePicker control.
 
In my application, just like the sample, my controls are called
CalendarControl1
DatePicker2.
 
When I load my form, I have tried all of the following:
 
Me.DatePicker2.BorderStyle = xtpDatePickerBorderNone
Me.DatePicker2.BorderStyle = xtpDatePickerBorder3D
Me.DatePicker2.BorderStyle = xtpDatePickerBorderOffice
Me.DatePicker2.BorderStyle = xtpDatePickerBorderStatic
 
and no matter my choice, the appearance of the DatePicker control is unchanged from the Codejock sample.   See screenprint attached.
 
I have even changed the Visual Theme property of DatePicker2 and used the following values:
xtpThemeOffice2000
xtpThemeOfficeXP
xtpThemeOffice2003
xtpThemeResource
 
and you guessed it, the appearance of the DatePicker control is unchanged from the Codejock sample.
 
Can anyone tell me what is wrong with my syntax or what I need to do to change the border surrounding the DatePicker control.
 
Thanks,
Bob McGaffic
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2011 at 7:06am
Seems BorderStyle conflicts with Borderstyle property of Access.

Try instead

    Me.DatePicker0.Object.BorderStyle = xtpDatePickerBorderNone
    Me.DatePicker0.Object.VisualTheme = 3

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
rmcgaffic View Drop Down
Groupie
Groupie


Joined: 03 June 2011
Location: Pittsburgh, PA
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote rmcgaffic Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2011 at 9:55am

Oleg,

Thanks for the suggestion. 
This code does indeed remove the border from the DatePicker control:
Me.DatePicker0.Object.BorderStyle = xtpDatePickerBorderNone
 
Is there anywhere the anomolies of MS Access with respect to CodeJock controls specified?
 
Bob McGaffic
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.