How do I make a label appear disabled?


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I have a small button with no text and a label beside it. I need to make the label appear "disabled", so the user knows the button is disabled. I know SF does it with BO-form/control interactions, so maybe just a pointer as to where exactly to look would be great.



Thanks!
Replies
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Well, my previous post is at least a clue BigGrin  The IBusinessBindable interface within the framework manages this.  If you implement the IBusinessBindable interface on a control I am sure that you will start getting some ideas of how to create your own interface.

Look at the 3rd Party Data Binding sample.  This samples shows how to implement the IBusinessBindable interface.  I know that you are not trying to implement data binding in this case, but rather manage the enabled state based on some type of event.  You are going to have tie your interface or user control that you create into some type of event like the EditingStateChanged event.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Yep, this is the sort of clue I was looking for BigGrin Thanks, I'll take a look at the IBindableBusiness interface.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search