dongshui8558 发表于 2015-1-29 19:09 
# W0 H. I+ \0 S6 ]! D7 Q5 F* D那你自己定义一个属性不就好了。
; \/ h8 X7 c+ o4 P+ n& Z是啊,傻了,谢谢您,4 e5 {; i g+ t3 j: B6 ^- S
! y$ x2 B: o0 u8 w l, C8 E5 eis! J" G& Y$ @% ^
do7 K1 b/ |) I. q, U* d$ ]
.models.Method.createattr("Working","Boolean");
6 d5 I- x6 g' M9 U2 d8 L .models.Method.Working:= true;9 P4 A2 B- x: K3 w F1 T" c
...【Method程序部分】...7 s4 t- }. {; b% e! M6 d( c' |( v
.models.Method.Working:= false;
! }, m: I' h3 Y3 Q4 q, C- Xend;
+ M% f5 K+ u: p
; j3 I$ |9 a( w4 l6 f6 ?; [# R) a" ~is
$ n8 m. U% z, @5 @7 S% A* pdo+ ]# L2 u! V* }8 _6 U/ t1 C
if .models.Method.Working:= true
3 m. B1 ~; Z6 e2 E! d. Y) ], |3 k, K% N then Method1;' T- O1 S! L( u0 G x$ S* A+ ?
end;, a; L6 @, s) {$ ^2 c4 g/ P
end;. y+ H4 j4 t0 i. |& h
: v0 N9 \4 v$ |, y
, d7 i3 j( m' `' q- ^+ z; i9 k) D
|