[Gambas-user] Issue 240 in gambas: CheckBox Tristate View on Runtime

gambas at ...2524... gambas at ...2524...
Thu Apr 19 01:10:40 CEST 2012


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 240 by kmanja... at ...626...: CheckBox Tristate View on Runtime
http://code.google.com/p/gambas/issues/detail?id=240

1) Describe the problem.
The tristate CheckBox control image during project runtime is not changing  
into the shaded ticked box when "None" state is selected, instead it is  
shown empty as in "False" state.
The problem does not seem to exist on the Designer window. When the Value  
property of the control is set to None it is shown correctly on the  
Designer form as a shaded ticked box

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):
[System]
OperatingSystem=Linux
Kernel=3.3.2
Architecture=i686
Memory=4069316 kB
DistributionVendor=slackware
DistributionRelease=Slackware 13.37.0
Desktop=Xfce

[Gambas 3]
Version=3.0.0
Path=/usr/local/bin/gbx3

[Libraries]
Qt4=libQtCore.so.4.7.0
GTK+=libgtk-x11-2.0.so.0.2400.4

3) Provide a little project that reproduces the bug or the crash.
N/A

4) If your project needs a database, try to provide it, or part of it.
N/A

5) Explain clearly how to reproduce the bug or the crash.
1. Create an empty form
2. Drag and Drop a CheckBox control to the form
3. Change the control "Tristate" property to "True"
4. Change the control "Value" property to "None"
    - You should be able to see on the Designer window the shaded checked  
box as expected...
5. "Run" the project and cycle through the CheckBox states by clicking on it
6. The "None" state is visually identical to the "False" state during  
runtime. i.e. "None" state does not show up as a shaded checked box.






More information about the User mailing list