Is there a way I can globally control the color of disabled controls? I've called BO.Edit() after navigation but, as expected, it sets the BO into Edit mode (which makes it easy to read) but the user will have to save (even though no changes are made) before they can continue navigating.
Any ideas how I might handle this?
TIA,
Rob
On either of these options, you can manage the color of the control yourself. Here is the problem, Textboxes have a ReadOnly property that works pretty well as a disabled state. However, it is the only native .NET control that has this functionality. Another issue is that none of the controls have any disabled settings, .NET just does what it likes in this case. So overall the options are limited.
This one of the reasons we are creating our own basic controls to add to a new collection. One option that you have at present is to purchase DevExpress controls and incorporate them. We will have a wrapper available for DevExpress in the next few weeks which will allow direct data binding just like the StrataFrame controls. These controls support disabled colors to be modified.
As for the new StrataFrame control collection, it will be a while before we make these available, but there are some options in the mean time.
Setting ManageUIReadOnlyState to false does exactly what I need.
>>We will have a wrapper available for DevExpress in the next few weeks which will allow direct data binding just like the StrataFrame controls.
I use DevExpress extensively and look forward to the wrapper. On that subject: I have found a problem while using their LayoutControl (ver. 6.1.2.) with SF that you may want to look into: You can reproduce a fatal error by dragging a SF Textbox into the LayoutControl and setting the "Multiline" property on your control to true. I've tested it with both the Standard Textbox control that you inherit from and it works correctly.
Thanks,
would it be possible to get a example how to use e.g. the DevExpress-control, if you have that one ready. If not, a textbox-control would be ok as well. That way we could have a taste of things to come...
Cheers,
Kari
ps. For me a VB.Net sample would be preferred...
no need, I wait....