TOOLBAR Button Righttext-Is Multiline possible?

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
Karl
Posts: 39
Joined: Tue Mar 14, 2017 12:24 pm
DBs Used: DBF
Has thanked: 10 times
Been thanked: 2 times

TOOLBAR Button Righttext-Is Multiline possible?

Post by Karl » Tue Aug 15, 2017 10:40 am

Hi to all,
in my programs I often use the control 'ToolBar' with the following lines i.e.

DEFINE TOOLBAR toolbar_1 OF Form_94 BUTTONSIZE 280,33 FONT "Arial" SIZE 10 RIGHTTEXT BORDER
BUTTON button_1 CAPTION 'Schließen' PICTURE "Butclose" ACTION Form_94.RELEASE

I would like to get a second line of text on the button and I tried:

BUTTON button_1 CAPTION 'Schließen' + CHR(13) + 'Beenden' PICTURE "Butclose" ACTION Form_94.RELEASE

But this doesn´t work. So I ask all fabulous specialists in our community. Is there a possibility to get it work?
Thanks in advance
Karl
WIN 10 64-bit, WIN 7 32-bit, HMG 3.4.4, 32-bit

Post Reply