Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: Opaque Cjheckbox on Grid paint over grid line
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00801170
Message ID:
00801737
Views:
27
>Hi Fabio,
>
>i discovered the because of this.
>
>The problem is caused from the sequente reason:
>
>VFP Team puts a space between the square of checkbox and the Caption.
>
>The dimension of the square depends on the height of the font.
>
>The space is made with the font of the checkbox.
>
>The Bug derives from the program that it implements this:
>
>VFP Team has made:
>1° it designs square, designs space with checkbox font (this is the bug )
>2° If caption # ' ' Caption with font
>
>the correct program designs is:
>
>1° it designs squared
>2° If caption # ' ' it designs to Caption with a space between the Caption
>and the square.
>
>A workaround decent it consists in using ' Impact',6 like font, this is high and is tightened.
>
Fabio,

I certainly don't consider this a bug. Unless two different checkboxes are implemented (one for forms, one for grids) or the checkbox is made aware of its container and whether or not it has a caption, we just have to work around the problem.

The behavior is most certainly by design. In most cases, the container with the checkbox is going to a form and it will have a caption. So the additional width means that we don't have to code in the space ourselves.

I'd much rather the Foxteam be working on things other than this. It has little significance and does not cause the program to fail.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform