• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2140
  • Last Modified:

VB6: DTPicker, How to change ForeColor, BackColor and Appearance of it's Combo-Component

Hello experts.

I have a UserControl which consists of a DTPicker(from Microsoft).
The UserControl has properties that are listed in the question title.
All Controls in the usercontrol except the DTPicker expose the needed properties.

Has somebody a workaround for this problem ?

Regards

V.K.
0
VK
Asked:
VK
  • 4
  • 3
1 Solution
 
EDDYKTCommented:
0
 
VKAuthor Commented:
Hello EDDYKT.

Thanks for the link. Unfortunely the provided control doesn't expose the needed properties. Further it isn't supported by Microsoft.

What i need to do in Detail:

1. Set the Appearance of the DTpicker to 2D (with FixedSingle Border) - this isn't supported by the control ccrpdtp6 (raised and sunken are supported)

2. Set the BackColor (not of the calendar)
3. Set the ForeColor (not of the calendar)

The link provided looks like a UserControl which consists of the original DTPicker - wrapped with additional functions without going deeper in DTPicker itself.

0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
VKAuthor Commented:
Is there an API to do that ?
With SendMessage like with ComboBoxes or ListView ?
0
 
EDDYKTCommented:
I'm not sure about that may someone else can help
0
 
VKAuthor Commented:
Hi, EDDYKT.

I solved that problem with the NeoCalendarII.ocx from NeoComponents.com. It isn't from Microsoft, but the source code is available and cheap.
Nevertheless i will give you the points. You initiated my search with your link and it succeeded:-)

V.K.
0
 
CleanupPingCommented:
Hi VK,
This old question (QID 20566301) needs to be finalized -- accept an answer, split points, or get a refund.  Please see http://www.cityofangels.com/Experts/Closing.htm for information and options.
0
 
VKAuthor Commented:
Ty for your collaboration.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now