J jlcsx Unregistered / Unconfirmed GUEST, unregistred user! 2000-10-26 #2 if .... then begin tabsheet1.tabvisible:=true; tabsheet1.enabled:=true; pagecontrol1.active.pages:=1 or 2 .. end;
if .... then begin tabsheet1.tabvisible:=true; tabsheet1.enabled:=true; pagecontrol1.active.pages:=1 or 2 .. end;
燕 燕子 Unregistered / Unconfirmed GUEST, unregistred user! 2000-10-26 #3 if 满足tabsheet(i)的条件 then for i=1 to pagecontrolcount do tabsheet(i).enabled:=true;不知对不对
B BaKuBaKu Unregistered / Unconfirmed GUEST, unregistred user! 2000-10-26 #4 设置 TabSheet.Visible 属性比较好。
T trustzhou Unregistered / Unconfirmed GUEST, unregistred user! 2000-11-21 #5 是不是可以改成这样 for i:=0 to pagecontrolcount-1 do if 满足tabsheet(i) 的条件 then begin tabsheet(i).enabled:=true; tabsheet(i).visible:=true; end;
是不是可以改成这样 for i:=0 to pagecontrolcount-1 do if 满足tabsheet(i) 的条件 then begin tabsheet(i).enabled:=true; tabsheet(i).visible:=true; end;