1:
双击 select distnation directory
点击 View 选择 进入Dialog script edit
把 目录的Edit,和浏览Btn分别设变量名
用 Set Control Attributes 分别对变量设 Disable Control
Use the Set Control Attributes script action to show, hide, enable, or disable a control in the dialog you are designing. You can only access this script action while you are working on a dialog in Custom Dialog Editor. To access a dialog's script, select Dialog Script Editor from the View menu while in Custom Dialog Editor. In the Set Control Attributes dialog box, you set the control name and what to do to the control.
?Control Name. This drop-down list contains the names of all the controls in the current dialog box. Select the control you want to manipulate.
Use Custom Dialog Editor to name all controls that you want to manipulate with script actions. To name a control, right-click the control, select Control Properties, and, in the dialog box that appears, enter a name in the Control Name field.
?Operation. Choose from Show/Enable Control, Disable Control, and Hide Control.
Example:
To read about a script that demonstrates this action, see Configuring a Dialog to Handle Mouse Events.
?2001 Wise Solutions, Inc. All Rights Reserved. This documentation and the accompanying software are copyrighted materials. Making unauthorized copies is prohibited by law.