Download MetaTrader 5
To add comments, please log in or register
Have you developed a trading robot? Publish it in the Market and make profit!
el3reef
178
el3reef 2015.09.21 12: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  

Keith Watford
Moderator
8007
Keith Watford 2015.09.21 17: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. 

/
To add comments, please log in or register