CnPack Forum » CnPack IDE 专家包(CnWizards) » 1.1.5.957的格式化代码的if else每次多一行


2019-1-3 17:21 hq200306
1.1.5.957的格式化代码的if else每次多一行

procedure TForm13.UniQuery1f11SetText(Sender: TField; const Text: string);
begin
  if Text = '' then
    Sender.Value := null


  else
    Sender.Value := Text;
end;

2019-1-3 17:22 hq200306
//如果代码是这样就格式正确
procedure TForm13.UniQuery1f11SetText(Sender: TField; const Text: string);
begin
  if Text = '' then
    Sender.Value := null
  else
    Sender.Value := Text;
end;

2019-1-4 12:36 Passion
正在想办法处理。:lol

2019-1-7 09:40 Passion
958已经修复。

页: [1]


Powered by Discuz! Archiver 5.0.0  © 2001-2006 Comsenz Inc.