keyongtech


  keyongtech > access.* > access.formscoding > 11/2005

 #1  
11-17-05, 07:33 PM
Bill R via AccessMonster.com
I disable radio buttons within an option group based on criteria in other
controls on the form. Although the buttons are succesfully disabled, the
labels don't go grey as they do for other disabled controls. Any suggestions?

Bill
 #2  
11-17-05, 07:57 PM
Marshall Barton
Bill R via AccessMonster.com wrote:

>I disable radio buttons within an option group based on criteria in other
>controls on the form. Although the buttons are succesfully disabled, the
>labels don't go grey as they do for other disabled controls. Any suggestions?



That happens when the labels are not attached to the radio
buttons. Did you add the labels separately?

A way to attach an existing label to an existing control is
to click on the label, use Ctrl+X to cut the label. Then
select the related control and use Ctrl+V to Paste the label
on the control.
 #3  
11-17-05, 08:07 PM
Bill R via AccessMonster.com
Marshall,

Thanks for the suggestion.
The labels are the labels that were created when the buttons were created.
When I select a button, the handle in the upper left corner of the label is
also there. I can't move the label without moving the control unless I grab
it by that upper left handle. Puzzling behavior. I have other option groups
whose radio buttons look disabled when I disable them, even in design view,
but this one group is behaving strangely.

Bill

Marshall Barton wrote:
[..]
 #4  
11-18-05, 12:33 AM
Marshall Barton
That is wierd. The closest I can come to reproducing that
behavior is when I placing an independent lable on top of
the attached label :-\

The only other explanation I can think of is the usual
copout of some kind of corruption. If you don't get any
other ideas, try creating a new blank mdb file, setting you
references, options, etc. and importing everything from the
problem mdb. Not guaranteed to clear things up, but not a
great effort either.
 #5  
11-18-05, 05:17 AM
Duane Hookom
If the control is disabled and locked, the labels will appear normal. If the
control is disable and not locked, the labels will appear disabled.
 #6  
11-18-05, 03:02 PM
Marshall Barton
Duane Hookom wrote:

>If the control is disabled and locked, the labels will appear normal. If the
>control is disable and not locked, the labels will appear disabled.



In that case, the control will not be grayed out either.

Ahh, but it's rather difficult to tell if a radio button is
gray or normal. I do believe you're on to something here,
Duane.
Similar Threads
Install new Reporting Services Server radio button is disabled!

I am installing CRM 3.0 on a new server. SQL Server 2005 is installed on a second machine and it will be dedicated for CRM 3.0 databases as well as Reporting...

Listbox changes textbox to disabled and grey

How can I get a listbox to change a textbox on some selections. I have a listbox which only needs to be filled in on some selections. Is there a way I can have on some...

Not turn labels grey when the text box is disabled and not locked

Is there a way by which I can have the labels attached to a text box not turn grey when the associated text box is disabled and not locked? I do not want to lock the text...

Unable to re-enable a radio button if disabled server-side

Hi All, I've come across the problem of not being able to re-enable a radio button with javascript if its initial state has been disabled in the Page_Load() method of the...

How to enable a disabled radio button??????????

Hi here is the problem i have, i have a number of radio buttons contained in a buton group, all the buttons bar the first one are disabled. The buttons are all drawn on a...


All times are GMT. The time now is 07:16 PM. | Privacy Policy