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 »

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 »

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: 2577
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 865 times
Been thanked: 161 times
Contact:

Post by serge_girard »

Hi Alan,

No idea about the Toolbar! Somebody?

Serge

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

Post by dragancesu »

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 »

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: 811
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia
Has thanked: 30 times
Been thanked: 232 times

Post by dragancesu »

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: 4538
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 410 times
Been thanked: 118 times
Contact:

Post by esgici »

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 2032 times
Viva HMG :D
Viva INTERNATIONAL HMG :D

Post Reply