DBRadioGroup Behavior
Original Reporter info from Mantis: gato2707
-
Reporter name: Fernando Parra
Original Reporter info from Mantis: gato2707
- Reporter name: Fernando Parra
Description:
Using a DBRadioGroup for showing the state of a database field that only can has two different values.
As the component is used only for informative proposals, the user shouldn't change field value. In Delphi is quite simple, setting it's ReadOnly property to true. But when I try to apply the same in Lazarus is possible change the index of the DBRadioGroup clicking on it.
This behavior doesn't affect the value of the field, but it might be confuse for the user.
Steps to reproduce:
Add a DBRadioGroup to an any Database app.
Create the needed items as well as needed values
Set ReadOnly property to True
Set the Datasource and Datafield properties
Run the project.
Additional information:
I made these additions to the Lazarus Database Sample. (DBF Tables). I also test it with Zeos and Mercury DBO working on Firebird tables.
Mantis conversion info:
- Mantis ID: 21099
- OS: Ubuntu Linix
- OS Build: 10.04
- Platform: x386
- Version: 0.9.30
- Monitored by: » luizamerico (Luiz Americo)
- Target version: 1.2