sal1150
asked on
convert Word to WideString
byear , bmonth and bdays are comboboxs (3 comboboxs ).
when I try to run it I finde this massage
[Error] add.pas(210): Incompatible types: 'Word' and 'WideString'
if not IsValidDate(byear.text,bmo nth.text,b days.text) then
begin
ShowMessage('It is not correct date');
bdays.SetFocus ;
Abort;
end;
when I try to run it I finde this massage
[Error] add.pas(210): Incompatible types: 'Word' and 'WideString'
if not IsValidDate(byear.text,bmo
begin
ShowMessage('It is not correct date');
bdays.SetFocus ;
Abort;
end;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
for example:
if not IsValidDate(StrToIntDef(by