Center listbox columns' content individually (1 Viewer)

richardw

Registered User.
Local time
Today, 08:21
Joined
Feb 18, 2016
Messages
48
Hi All,


I am trying to center the content of my listbox.
I did the tour of all forums, but found nothing helpful..

I want to center the columns individually (because there is some of them that i wouldn't them to be centered).
The problem is that Microsoft didn't make it native to center a listbox :confused:

Is there a code or a function to create to do so?


I know it's a bit hard as a request :)
Thank you in advance
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 23:21
Joined
May 7, 2009
Messages
19,169
if it is based on table (your listbox), you can make it appear center by editing your table.
on property window->Text Align->Center.
 

richardw

Registered User.
Local time
Today, 08:21
Joined
Feb 18, 2016
Messages
48
Thanks guys, Arnelgp's solution worked perfectly :)
 

Users who are viewing this thread

Top Bottom