Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 1.1.5.957的格式化代码的if else每次多一行
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 1.1.5.957的格式化代码的if else每次多一行
hq200306
灌水科科长
UID 67758
Digest Posts 0
Credits 106
Posts 36
点点分 106
Reading Access 10
Registered 2012-12-1
Status Offline
#1
Post at 2019-1-3 17:21
Profile
|
Blog
|
P.M.
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;
hq200306
灌水科科长
UID 67758
Digest Posts 0
Credits 106
Posts 36
点点分 106
Reading Access 10
Registered 2012-12-1
Status Offline
#2
Post at 2019-1-3 17:22
Profile
|
Blog
|
P.M.
//如果代码是这样就格式正确
procedure TForm13.UniQuery1f11SetText(Sender: TField; const Text: string);
begin
if Text = '' then
Sender.Value := null
else
Sender.Value := Text;
end;
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#3
Post at 2019-1-4 12:36
Profile
|
Blog
|
P.M.
正在想办法处理。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#4
Post at 2019-1-7 09:40
Profile
|
Blog
|
P.M.
958已经修复。
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 01:58
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.007849 second(s), 7 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats