greymalking
Posts: 4
|
| Posted: 05/30/2005, 10:35 AM |
|
Hello My friends....
Help Please... I need to create a CheckBox read only to presents the contents of my database, but the users can't modify your state. If I check the propriety "Disable" of CheckBox the colors of checkbox modify distinguished from others controls of page.
That is... the design of page is stange....
Somebody can I help me? Please
Thanks.... for assistance...
Greymalking....
e-mail:greymalking@bol.com.br
_________________
E-mail: Greymalking@bol.com.br |
 |
 |
peterr
Posts: 5971
|
| Posted: 05/30/2005, 11:23 AM |
|
The design is not strange - the Web browser simply displays disabled checkboxes in a different color. This is usually the standard and most users already know that when they see a grey checkbox then it is disabled. Possibly not all Web browsers do this, but if they do it then there must be a reason, right?
Possibly this is done so that users know that the checkbox is disabled and don't need to try to click on it to change it. Would you prefer that users try clicking on your checkbox and then contact you for support asking why it doesn't work?
In any case, here are other answers: http://www.google.com/search?hl=en&lr=&q=change+color+disabled+checkbox
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
greymalking
Posts: 4
|
| Posted: 05/30/2005, 1:04 PM |
|
Peterr...
Have other way to block the users modify the state of checkbox without to use the propriety "Disable" of checkbox in Code Charge Studio, the inputbox have the propriety "Read Only" it donīt permit modify your contents... how do this in to checkbox???
Thanks... Peterr
e-mail:greymalking@bol.com.br
_________________
E-mail: Greymalking@bol.com.br |
 |
 |
peterr
Posts: 5971
|
| Posted: 05/30/2005, 3:07 PM |
|
You can use any method that HTML allows - by modifying the HTML code. For readonly see: http://www.google.com/search?hl=en&q=checkbox+readonly
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Dan Meehan
|
| Posted: 06/28/2005, 1:03 PM |
|
Here is the easiest way to simulate a readonly checkbox:
<input type="checkbox" onclick="return false;">
|
|
|
 |
Harish Hussain
|
| Posted: 08/01/2005, 11:57 PM |
|
You can use this way :
<input name="checkbox1" type="checkbox" value="checkbox" onclick="return false">
Hope this helps!
|
|
|
 |