Solved

In Delphi VCL, TDatePicker, how do you force the combobox to open?

Posted on 2014-09-04
2
344 Views
Last Modified: 2014-09-05
With a normal combox you can force the box to open when you enter the field. How do you make this happen with TDatePicker in combox mode?

I have tried the code shown below, but this doesn't activate.
SendMessage(cbContact.Handle, CB_SHOWDROPDOWN, 1, 0);

Open in new window

0
Comment
Question by:GrahamDLovell
2 Comments
 
LVL 19

Accepted Solution

by:
MerijnB earned 500 total points
ID: 40305352
You can use

 SendMessage(cbContact.Handle,WM_SYSKEYDOWN, VK_DOWN, 0);

Open in new window

0
 

Author Closing Comment

by:GrahamDLovell
ID: 40305369
Brilliant! Thanks
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
seriesUp challenge 7 107
sumHeights2  challenge 7 76
word0 challenge 3 58
Re-position the objects 7 51
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

759 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now