Good Morning!
I am using a JvDatePickerEdit (JVCL 300) in D6 Pro.
After clicking on the popup calendar (OnChange), the popup calendar
does NOT disappear unles I click the dropdown button again and then
click in the edit box.
Since the PUC is still there (but
behind the form), the next time I populate the controls (from the db),
the previous date is used automagically.
How do I gt the PUC to close?
(I sent this to delphi-JEDI, but it looks like no one is home.)
Thanks...Dan'l
________________________________________________________________________________
program Project1;
uses
Forms,
Unit1 in 'Unit1.pas' {Form1};
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Mask, JvExMask, JvToolEdit, JvMaskEdit,
JvCheckedMaskEdit, JvDatePickerEdit;
type
TForm1 = class(TForm)
dtp1: TJvDatePickerEdit;
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
end.
object Form1: TForm1
Left = 414
Top = 294
Width = 148
Height = 68
Caption = 'Form1'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object dtp1: TJvDatePickerEdit
Left = 8
Top = 8
Width = 121
Height = 21
AllowNoDate = True
Checked = True
TabOrder = 0
end
end
____________________________________
Every day with Jesus is a Great! day
and He loves YOU!