Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-03

Howto dropdown the calendar of TDateEdit programmatically

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

John Landmesser

Hi,

i want to dropdown the calendar of an DateEdit at start of my app, so the user will see what to do next.

There is a "DateEdit.Button.Clic?" procedure and
"TCustomMaskEdit.DoButtonClick", but they don't show the calendar.

Is it possible to show the calendar by code?

thank you for a tipp!!

Reply by email

Antonio Fortuny
to John Landmesser

Le 07/03/2014 15:07, John Landmesser a ?crit :

Show quoted text 7 lines
Hi, i want to dropdown the calendar of an DateEdit at start of my app, so the user will see what to do next. There is a "DateEdit.Button.Clic???" procedure and "TCustomMaskEdit.DoButtonClick", but they don't show the calendar.

Just do
DateEdit.Button.Click
and the miracle takes place 8-)

Antonio.

Show quoted text 10 lines
Is it possible to show the calendar by code? thank you for a tipp!! -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

---
Ce courrier ?lectronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active. http://www.avast.com

Reply by email

Antonio Fortuny

Le 07/03/2014 16:05, JmLandmesser a ?crit :

Show quoted text 8 lines
> DateEdit.Button.Click > and the miracle takes place 8-) > > Antonio. > Thats true, the miracle happened, thank you!!

You're welcome :-)
Well, this is only FPC-Lazarus magic actually.

Sita Software *Antonio Fortuny* Senior Software engineer 220, avenue de la Libert? L-4602 Niederkorn Tel.: +352 58 00 93 - 93 www.sitasoftware.lu <http://www.sitasoftware.lu> Your IT Partner --- Ce courrier ?lectronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active. http://www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140307/1bef33c1/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: efibdadf.jpg Type: image/jpeg Size: 2306 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140307/1bef33c1/attachment.jpg> -------------- next part -------------- A non-text attachment was scrubbed... Name: fjfeefbb.jpg Type: image/jpeg Size: 921 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140307/1bef33c1/attachment-0001.jpg>

Reply by email