[Lazarus] Howto dropdown the calendar of TDateEdit programmatically

2014-03-07 Thread 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!!

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Howto dropdown the calendar of TDateEdit programmatically

2014-03-07 Thread Antonio Fortuny


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

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.



Is it possible to show the calendar by code?

thank you for a tipp!!

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
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



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Howto dropdown the calendar of TDateEdit programmatically

2014-03-07 Thread Antonio Fortuny

  
  

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


  
  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.

-- 
  

  
  
  
  
 Antonio
Fortuny
  Senior Software engineer
  
  220, avenue de la Libert
  L-4602 Niederkorn
  Tel.: +352 58 00 93 - 93
  www.sitasoftware.lu

  
  
  
  

  





	
		
			

			
		
		
			
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection Antivirus avast! est active.
			
		
	




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus