vault backup: 2025-08-31 20:46:38
This commit is contained in:
@ -851,34 +851,22 @@ end.
|
||||
|
||||

|
||||
|
||||
写入脚本如下:
|
||||
写入脚本如下:(注意,需要引入新的库,请使用完整的引入库)
|
||||
|
||||
```delphi
|
||||
uses MyClass,Variables,BaseUtil,CommonFunc,DataConst,CFFrm,CFSimplePropFrm,Forms,StdCtrls,Variants,SysUtils,Classes,Controls,Dialogs,
|
||||
|
||||
CHostIntf,ProductClas,DocClas,LoginClas,VirtualTrees,CEntClas,PathClas,cxRadioGroup;
|
||||
uses MyClass,Variables,BaseUtil,CommonFunc,DataConst,CFFrm,CFSimplePropFrm,Forms,StdCtrls,Variants,SysUtils,Classes,Controls,Dialogs,CHostIntf,ProductClas,DocClas,LoginClas,VirtualTrees,CEntClas,PathClas,cxRadioGroup;
|
||||
|
||||
var
|
||||
|
||||
trg: TcxRadioGroup;
|
||||
|
||||
begin
|
||||
|
||||
trg := TcxRadioGroup(Sender);
|
||||
|
||||
if trg.itemindex = 0 then
|
||||
|
||||
begin
|
||||
|
||||
//gbcxtsCusPage_1是组合框的控件名
|
||||
gbcxtsCusPage_1.visible := false;
|
||||
|
||||
end
|
||||
|
||||
else begin
|
||||
|
||||
gbcxtsCusPage_1.visible := true;
|
||||
|
||||
end;
|
||||
|
||||
end.
|
||||
```
|
Reference in New Issue
Block a user