?
Solved

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

Posted on 2003-03-28
8
Medium Priority
?
2,034 Views
Last Modified: 2012-06-27
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
Comment
Question by:VK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 26

Expert Comment

by:EDDYKT
ID: 8224353
0
 
LVL 6

Author Comment

by:VK
ID: 8224920
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 6

Author Comment

by:VK
ID: 8225089
Is there an API to do that ?
With SendMessage like with ComboBoxes or ListView ?
0
 
LVL 26

Accepted Solution

by:
EDDYKT earned 500 total points
ID: 8225296
I'm not sure about that may someone else can help
0
 
LVL 6

Author Comment

by:VK
ID: 8291777
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
 

Expert Comment

by:CleanupPing
ID: 8531418
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
 
LVL 6

Author Comment

by:VK
ID: 8532336
Ty for your collaboration.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month12 days, 12 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question