write two line inside Button

Back to topics list To post a new topic, please log in or register
avatar
15
el3reef 2015.09.21 14:45
 

hello

 

i want to write a two line iside a  Button  like =>  Bid+"\n sell"

i tray to use "\n" and it not working

 

ButtonCreate(0,"Button_buy",0,10,20,x_size,y_size,InpCorner,Bid+"\n sell",InpFont,InpFontSize,
      InpColor,"clrRed",InpBorderColor,InpState,InpBack,InpSelection,InpHidden,InpZOrder);

 

 

thanks  

avatar
Moderator
3411
GumRai 2015.09.21 19:59 #
 

You could use an empty string for the button text and then overprint with 2 labels.

I don't know if there is a simpler way. 

Back to topics list  

To add comments, please log in or register