Article View: adobe.photoshop.scripting
Article #61Re: how to add radio button
From: Michael_L_Hale
Date: Thu, 02 Apr 2009 14:41
Date: Thu, 02 Apr 2009 14:41
12 lines
1185 bytes
1185 bytes
var dlg = new Window('dialog', 'Alert Box Builder',[100,100,480,225]);
dlg.alertBtnsPnl = dlg.add('panel', [35,15,325,55], 'Button alignment');
dlg.alertBtnsPnl.alignLeftRb = dlg.alertBtnsPnl.add('radiobutton',
[15,10,95,25], 'Left');
dlg.alertBtnsPnl.alignCenterRb = dlg.alertBtnsPnl.add('radiobutton',
[105,10,185,25], 'Center');
dlg.alertBtnsPnl.alignRightRb = dlg.alertBtnsPnl.add('radiobutton',
[195,10,275,25], 'Right');
dlg.alertBtnsPnl.alignCenterRb.value = true;
dlg.okBtn = dlg.add('button',[190,80,245,100],'OK');
dlg.cancelBtn = dlg.add('button',[255,80,315,100],'Cancel');
dlg.show();
Technical Details
Message-ID:
<59b87ac4.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b87ac4.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,ff5fbe71a16cbc34 X-Google-Attributes: gidf5839,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Michael_L_Hale@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.photoshop.scripting Subject: Re: how to add radio button Message-ID: <59b87ac4.0@webcrossing.la2eafNXanI> Date: Thu, 2 Apr 2009 07:41:54 -0700 References: <59b87ac4.-1@webcrossing.la2eafNXanI> Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit