misterstick
Programmer
what would you say is a good way of showing the user that the data on a form is read-only?
i'd rather not use [tt]Enabled=False[/tt], since this sets controls to be grey on grey, which can be very hard to read.
[tt]ReadOnly=True[/tt] would be useful, but this is only a property of a TextBox.
i've tried extending UserControl to include a ReadOnly property. this walks the contained controls turning them on or off as necessary. however, this hits the problem of what to do with controls that aren't TextBoxes.
MTIA,
mr s. <
i'd rather not use [tt]Enabled=False[/tt], since this sets controls to be grey on grey, which can be very hard to read.
[tt]ReadOnly=True[/tt] would be useful, but this is only a property of a TextBox.
i've tried extending UserControl to include a ReadOnly property. this walks the contained controls turning them on or off as necessary. however, this hits the problem of what to do with controls that aren't TextBoxes.
MTIA,
mr s. <