You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
here's a quick example
here's a quick example
Wooow, That is the answer, thank you. It works.
Do you think if it is possible to create a button or rectangle label and then turn it to bitmap label with same method?
Wooow, That is the answer, thank you. It works.
Do you think if it is possible to create a button or rectangle label and then turn it to bitmap label with same method?
The above example only shows how to display the text, not how to read the string entered by a user.
I suggest you to read the series of articles about GUI written by Artyom Trishkin and/or Anatoli Kazharski. There you can alse learn how to create the other elements that you are asking.
The above example only shows how to display the text, not how to read the string entered by a user.
I suggest you to read the series of articles about GUI written by Artyom Trishkin and/or Anatoli Kazharski. There you can alse learn how to create the other elements that you are asking.
That's what i thought he wanted first too
Wooow, That is the answer, thank you. It works.
Do you think if it is possible to create a button or rectangle label and then turn it to bitmap label with same method?
You fill the pixels of another bitmap object and leave it in the back.
Then the fun starts .
You can have a resource for when the mouse moves over the button and one for when it is not over it creating a hover effect.
You group the background and the text together , on your own , and you have a mini gui system.
You may also do the opposite .
For example, you want the text to fit inside a button with specific size .
you start a loop which gradually adjusts the font size until the text fills the button "the best way"
If you want a background color try altering the ArrayFill(pixels,0,ArraySize(pixels),0) to fill with ColorToARGB(clrGoldenrod,255) .
Lastly 255 means 100% opaquenness .
opaquenness means the opposite of transparency .
So if you draw with ColorToARGB(clrRoyalBlue,125) it will be semi transparent
The above example only shows how to display the text, not how to read the string entered by a user.
I suggest you to read the series of articles about GUI written by Artyom Trishkin and/or Anatoli Kazharski. There you can alse learn how to create the other elements that you are asking.
Thanks,I'll take a look.
That's what i thought he wanted first too
You fill the pixels of another bitmap object and leave it in the back.
Then the fun starts .
You can have a resource for when the mouse moves over the button and one for when it is not over it creating a hover effect.
You group the background and the text together , on your own , and you have a mini gui system.
You may also do the opposite .
For example, you want the text to fit inside a button with specific size .
you start a loop which gradually adjusts the font size until the text fills the button "the best way"
If you want a background color try altering the ArrayFill(pixels,0,ArraySize(pixels),0) to fill with ColorToARGB(clrGoldenrod,255) .
Lastly 255 means 100% opaquenness .
opaquenness means the opposite of transparency .
So if you draw with ColorToARGB(clrRoyalBlue,125) it will be semi transparent
I think I got the idea, thank you, you help me a lot.
https://www.mql5.com/ru/forum/92113/page22#comment_5092654
Here is an example, but this example is very old and primitive.
https://www.mql5.com/ru/forum/92113/page22#comment_5092654
Here is an example, but this example is very old and primitive.
It seems like it is in Russion language and unfortanly I don't know any Russion.
It seems like it is in Russion language and unfortanly I don't know any Russion.
Use the translate button.
https://www.mql5.com/en/forum/13348
It seems like it is in Russion language and unfortanly I don't know any Russion.