PICTALIGNMENT

Moderator: Rathinagiri

Post Reply
asharpham
Posts: 55
Joined: Sat Mar 24, 2018 2:48 pm
DBs Used: DBF
Has thanked: 14 times

PICTALIGNMENT

Post by asharpham » Fri Apr 06, 2018 4:27 am

I was looking through the BUTTON samples and noticed the use of PICTALIGNMENT. Something new I've learned! But where I need to align pictures and captions is in the buttons associated with the TOOLBAR. It seems PICTALIGNMENT doesn't work in TOOLBAR buttons because it wouldn't "build" when I tried it.

Is there a way of centering text under a picture on a Toolbar button?

Alan

asharpham
Posts: 55
Joined: Sat Mar 24, 2018 2:48 pm
DBs Used: DBF
Has thanked: 14 times

Post by asharpham » Mon Apr 09, 2018 4:30 am

Any takers on this query? Is there an answer to this without creating a graphic that contains both the picture and the text?

User avatar
serge_girard
Posts: 2064
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 417 times
Been thanked: 91 times
Contact:

Post by serge_girard » Mon Apr 09, 2018 7:07 am

Hi Alan,

No idea about the Toolbar! Somebody?

Serge

User avatar
dragancesu
Posts: 543
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia
Has thanked: 12 times
Been thanked: 97 times

Post by dragancesu » Mon Apr 09, 2018 9:50 am

See the documentation and examples for the toolbar

So send your program to see what the problem is.

asharpham
Posts: 55
Joined: Sat Mar 24, 2018 2:48 pm
DBs Used: DBF
Has thanked: 14 times

Post by asharpham » Tue Apr 10, 2018 8:03 am

PICTALIGNMENT only works with normal buttons, not with TOOLBAR buttons. I've tried it and know it doesn't work in Toolbar buttons. My question is whether there is a control that allows for alignment of picture and text in a Toolbar button. I've found nothing in the examples that show me.

Regards,
Alan

User avatar
dragancesu
Posts: 543
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia
Has thanked: 12 times
Been thanked: 97 times

Post by dragancesu » Tue Apr 10, 2018 10:27 am

I do not know what you expect and what your program looks like

When defining, you can define the size of the button and the size of the image, and therefore adjusts the toolbar

I think that by default, images and text are centered

User avatar
esgici
Posts: 4441
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 330 times
Been thanked: 99 times
Contact:

Post by esgici » Tue Apr 10, 2018 4:13 pm

serge_girard wrote:
Mon Apr 09, 2018 7:07 am
No idea about the Toolbar! Somebody?
I have one: do you see PICTALIGNMENT in ToolBar Button properties ?
TB_Button_Properties.JPG
TB_Button_Properties.JPG (19.18 KiB) Viewed 287 times
Viva HMG :D
Viva INTERNATIONAL HMG :D

Post Reply