I have a doubt regarding the exception in tmaskedit component in delphi.i am using tmaskedit with editmask as date option.i am using three maskedits with these same property.but when i am trying not valid date or giving empty data,exception is caused which i am not able to handle.i dont knw where to catch the exception for this prblem
jacobchry
0
Newbie Poster
Recommended Answers
Jump to Postunit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask; type TForm1 = class(TForm) MaskEdit1: TMaskEdit; Button1: TButton; Memo1: TMemo; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} function IsDateCorrect(S: …
All 3 Replies
finalist
1
Junior Poster in Training
jacobchry1
0
Newbie Poster
finalist
1
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.