Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

{bug] CheckBoxes in listboxes are not clipped at bottom of listbox on OSX (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: Default properties Values and property pane
Next thread: Putting 16x16 icons from other apps into a bevel button


Win32 API Declares   -   Berg, Heath
  {bug] CheckBoxes in listboxes are not clipped at bottom of listbox on OSX   -   Karen
   Re: {bug] CheckBoxes in listboxes are not clipped at bottom of listbox on OSX   -   Christian Miller
   Re: {bug] CheckBoxes in listboxes are not clipped at bottom of listbox on OSX   -   Tom Benson
   Re: {bug] CheckBoxes in listboxes are not clipped at bottom of listbox on OSX   -   Karen

{bug] CheckBoxes in listboxes are not clipped at bottom of listbox on OSX
Date: 19.08.05 02:31 (Thu, 18 Aug 2005 21:31:30 -0400)
From: Karen
http://support.realsoftware.com/feedback/viewreport.php?
reportid=lvcsqkyn

Report Reference ID: lvcsqkyn

Development Environment: 2005r2 Mac OS X OS: Mac OS X 10.4

Issue appears in: IDE & Built Application -- Carbon & Mach-O OS: Mac
OS X 10.4

Severity: Cosmetic

Description:
Checkboxes are drawn outside the bottom of listboxes in OSX 10.4 both
in the IDE and built apps (carbon amd mach-0) but not for Win32 or
Classic.

Reproducible:Always

Reproduce Steps:
1) New Project

2) Put a single column no header 243 X 193 listbox in the default
window. Make it hierarchical

3) In Listbox Open put:
me.ColumnType(0) = Listbox.TypeCheckbox
Me.AddFolder "test"

4) In the ExpandRow event put:
Me.AddFolder "Child"

5) Run the project

6) Keep showing children until you reach the bottom of the list box.
On the last row the checkbox is partially drawn outside the listbox
bottom border.

Workaround:
Use OldListbox?

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: {bug] CheckBoxes in listboxes are not clipped at bottom of listbox on OSX
Date: 19.08.05 03:48 (Thu, 18 Aug 2005 22:48:50 -0400)
From: Christian Miller
On Aug 18, 2005, at 9:31 PM, Karen wrote:

> http://support.realsoftware.com/feedback/viewreport.php?
> reportid=lvcsqkyn
> Report Reference ID: lvcsqkyn
> Development Environment: 2005r2 Mac OS X OS: Mac OS X 10.4
> Issue appears in: IDE & Built Application -- Carbon & Mach-O OS:
> Mac OS X 10.4
> Severity: Cosmetic
>
> Description:
> Checkboxes are drawn outside the bottom of listboxes in OSX 10.4
> both in the IDE and built apps (carbon amd mach-0) but not for
> Win32 or Classic.

I swore I'd already reported this but didn't see it in my history, so
I signed on. I currently have 3 projects that do this, and think it
makes me look unprofessional to my clients.

Christian
Pariahware, Inc. Custom Software
<<email address removed>>
<http://www.pariahware.com>

Re: {bug] CheckBoxes in listboxes are not clipped at bottom of listbox on OSX
Date: 19.08.05 08:36 (Fri, 19 Aug 2005 17:36:38 +1000)
From: Tom Benson
There is a couple of workarounds...

Specify a defaultRowHeight for your listbox, then make sure the
height of your listbox is a multiple of that figure (don't forget to
take into account header heights - 18pixels on OS X, not sure on
windows).

I've found that this solves my problem nicely.

The other way you can do this is subclass the listbox, and draw in
the check boxes yourself. I've done this before, and it is not a huge
deal (unless you want a platform native appearance in case of a cross
platform targeted app, in which case it can be a PITA).

Cheers,
Tom
________________________________________________________

heisenbug /hi:'zen-buhg/ /n./ [from Heisenberg's Uncertainty
Principle in quantum physics] A bug that disappears or alters its
behavior when one attempts to probe or isolate it. (This usage is not
even particularly fanciful; the use of a debugger sometimes alters a
program's operating environment significantly enough that buggy code,
such as that which relies on the values of uninitialized memory,
behaves quite differently.) Antonym of Bohr bug; see also mandelbug,
schroedinbug. In C, nine out of ten heisenbugs result from
uninitialized auto variables, fandango on core phenomena (esp.
lossage related to corruption of the malloc arena) or errors that
smash the stack.

On 19/08/2005, at 12:48 PM, Christian Miller wrote:

> On Aug 18, 2005, at 9:31 PM, Karen wrote:
>
>> http://support.realsoftware.com/feedback/viewreport.php?
>> reportid=lvcsqkyn
>> Report Reference ID: lvcsqkyn
>> Development Environment: 2005r2 Mac OS X OS: Mac OS X 10.4
>> Issue appears in: IDE & Built Application -- Carbon & Mach-O OS:
>> Mac OS X 10.4
>> Severity: Cosmetic
>>
>> Description:
>> Checkboxes are drawn outside the bottom of listboxes in OSX 10.4
>> both in the IDE and built apps (carbon amd mach-0) but not for
>> Win32 or Classic.
>>
> I swore I'd already reported this but didn't see it in my history,
> so I signed on. I currently have 3 projects that do this, and
> think it makes me look unprofessional to my clients.
>
> Christian
> Pariahware, Inc. Custom Software
> <<email address removed>>
> <http://www.pariahware.com>
> --
> God loved you so much that He gave His only son Jesus. What have
> you done with God's gift?
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: {bug] CheckBoxes in listboxes are not clipped at bottom of listbox on OSX
Date: 19.08.05 13:29 (Fri, 19 Aug 2005 08:29:34 -0400)
From: Karen

On Aug 19, 2005, at 3:36 AM, Tom Benson wrote:

> The other way you can do this is subclass the listbox, and draw in
> the check boxes yourself. I've done this before, and it is not a
> huge deal (unless you want a platform native appearance in case of
> a cross platform targeted app, in which case it can be a PITA).
>

I do want native a Xplatform look... but since I want to be able to
support mixed state checkboxes in a hierarchical listbox (mixed if
not all descendants in same check state) I need to do that myself
anyway. Figured i would report the bug though as it is very
unprofessional looking one!

- karen
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>