Line break in a Multi-Line Button
Moderator: Rathinagiri
Line break in a Multi-Line Button
Is there a way to force a line-break on a multi-line button? I have tried things like "This is my"+chr(13)+chr(10)+"button text", but that does not seem to be the way to go...
Thanks,
Ralph
Thanks,
Ralph
When your toolbox only contains a hammer, everything looks like a nail...
- luisvasquezcl
- Posts: 1259
- Joined: Thu Jul 31, 2008 3:23 am
- Location: Chile
- Contact:
Re: Line break in a Multi-Line Button
Hi,
this is not support by hmg.
Sorry.
Regards
Luis Vasquez
this is not support by hmg.
Sorry.
Regards
Luis Vasquez
Re: Line break in a Multi-Line Button
Thank you for the fast reply Luis.
Best regards,
Ralph
Best regards,
Ralph
When your toolbox only contains a hammer, everything looks like a nail...
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Line break in a Multi-Line Button
Hi Ralph, Welcome
Hola Luis
Are you sure ?
We have a MULTILINE option in the Text And Image Button (Windows XP or later) section of BUTTON.
I don't tried yet.
Regards
--
Esgici
Hola Luis
Are you sure ?
We have a MULTILINE option in the Text And Image Button (Windows XP or later) section of BUTTON.
I don't tried yet.
Regards
--
Esgici
Viva INTERNATIONAL HMG 

- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Line break in a Multi-Line Button
Hi
I had tried, it work fine
Look at this working sample :
BTW, Sorry Ralph, I haven't any experience on DO REPORT, so I can't answer you questions about it.
Regards
--
Esgici
I had tried, it work fine

Look at this working sample :
Code: Select all
#include "minigui.ch"
PROC Main()
DEFINE WINDOW Form_1 ;
AT 0,0 ;
WIDTH 640 ;
HEIGHT 480 ;
TITLE 'Multiline Button Demo' ;
MAIN ;
TOPMOST
@ 50 ,100 BUTTON Button_1 ;
CAPTION "Single Line Button" ;
ACTION MsgBox( "This is a Single Line Button" ) ;
WIDTH 200 ;
HEIGHT 30
@ 200 ,100 BUTTON Button_2 ;
CAPTION "Multiple Line Button" ;
ACTION MsgBox( "This is a Multiple Line Button" ) ;
WIDTH 100 ;
HEIGHT 30 ;
MULTILINE
END WINDOW
Form_1.Center
Form_1.Activate
RETU // Main()
Regards
--
Esgici
Viva INTERNATIONAL HMG 

- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Line break in a Multi-Line Button
Hi
Sorry, may be I misunderstood the question.
Please add this :
"Forcing" require a little fine adjustment 
Regards
--
Esgici
Sorry, may be I misunderstood the question.
Please add this :
Code: Select all
@ 300 ,100 BUTTON Button_3 ;
CAPTION SPACE( 10 ) + "Multiple" + SPACE(10) + "Line Button" ;
ACTION MsgBox( "This is a Multiple Line FORCED Button" ) ;
WIDTH 100 ;
HEIGHT 30 ;
MULTILINE

Regards
--
Esgici
Viva INTERNATIONAL HMG 

- luisvasquezcl
- Posts: 1259
- Joined: Thu Jul 31, 2008 3:23 am
- Location: Chile
- Contact:
Re: Line break in a Multi-Line Button
hi esgici,
had no idea that you could, thanks for the clarification
I sorry Ralph
regards
Luis Vasquez
had no idea that you could, thanks for the clarification
I sorry Ralph
regards
Luis Vasquez
- dhaine_adp
- Posts: 457
- Joined: Wed Aug 06, 2008 12:22 pm
- Location: Manila, Philippines
Re: Line break in a Multi-Line Button
Ahallan Wahsahllan Esgici,
It seem's that you've never ran out of answers
Thank for always lending a helping hand... More power.
Danny
It seem's that you've never ran out of answers

Danny
Regards,
Danny
Manila, Philippines
Danny
Manila, Philippines
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Line break in a Multi-Line Button
Hi Danny
Thanks
Everything is for community; Viva Clipper, Viva Harbour, Viva HMG
Maasselame
--
Esgici
Thanks

Everything is for community; Viva Clipper, Viva Harbour, Viva HMG

Maasselame
--
Esgici
Viva INTERNATIONAL HMG 

- Rathinagiri
- Posts: 5480
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Line break in a Multi-Line Button
Nice words.esgici wrote:Everything is for community; Viva Clipper, Viva Harbour, Viva HMG![]()
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.