CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Disabling a Checkbox

Print topic Send  topic

Author Message
Alistair McFadyen
Posted: 07/23/2002, 1:18 AM

Hi

I have a record form which includes a checkbox, default value is set to 0
(unchecked).

I'd like to be able to disable the checkbox based on the current GroupID, so
that low-level users can't change the value. I can disable it by ticking the
box on the control properties tab, but I haven't been able to find a way to
control this programatically.

Tried control.disabled = True, but this doesn't work.

Does anyone know the best way to achieve this? I know that there are other,
more longwinded ways around this, but ideally I want to use the same form
for all levels of users, just enabling or disabling the checkbox as
required.

I'm using ASP.

Thanks

Alistair McFadyen


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.