Xojo Conferences
XDCMay2019MiamiUSA

Re: [MBS] Custom Listbox header (frael) (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] Small font size
Next thread: [MBS] Using Paypal from a Desktop app


Re: [MBS] Custom Listbox header (frael)   -   frael
  [MBS] Re: Custom Listbox header (frael)   -   Aaron Andrew Hunt

Re: [MBS] Custom Listbox header (frael)
Date: 15.04.15 18:27 (Wed, 15 Apr 2015 19:27:28 +0200)
From: frael
Yes, I'm writing my own actually from a Canvas, connected with my special class based on Listbox
I hope to achieve exact resizing....
Thanks Aaron for your message :)
Frael

> Le 15 avr. 2015 à 17:37, Aaron Andrew Hunt <<email address removed>> a écrit :
>
> On Apr 15, 2015, at 6:00 AM, <email address removed> wrote:
>> Do you know a class to draw custom headers on the top of the listbox ?
>> - headers with all the functions of standard listbox headers, especially the horizontal scroling
>
> Hi Frael.
>
> What do you mean by “horizontal scrolling” for the header? Do you mean dragging the column sizes?
>
> I use my own custom listbox header class made from a canvas. To use it requires also my own custom listbox class. The header and listbox are linked in their Open events.
>
> My classes work, but it is complicated to do. There is still also some 2% of the time when column resizing is not quite exact, the vertical lines may be a few pixels off. But it works, and it’s very versatile.
>
> Anyway, I think there’s no way to actually draw over the default listbox header; you have to make a canvas.
>
> Cheers,
> Aaron
>
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

[MBS] Re: Custom Listbox header (frael)
Date: 15.04.15 16:37 (Wed, 15 Apr 2015 11:37:53 -0400)
From: Aaron Andrew Hunt
On Apr 15, 2015, at 6:00 AM, <email address removed> wrote:
> Do you know a class to draw custom headers on the top of the listbox ?
> - headers with all the functions of standard listbox headers, especially the horizontal scroling

Hi Frael.

What do you mean by “horizontal scrolling” for the header? Do you mean dragging the column sizes?

I use my own custom listbox header class made from a canvas. To use it requires also my own custom listbox class. The header and listbox are linked in their Open events.

My classes work, but it is complicated to do. There is still also some 2% of the time when column resizing is not quite exact, the vertical lines may be a few pixels off. But it works, and it’s very versatile.

Anyway, I think there’s no way to actually draw over the default listbox header; you have to make a canvas.

Cheers,
Aaron

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info