Slightly changed the code. There were two rotating gravity centres, now there are four.
I need a twenty-fifth frame with a "plant" suggestion - "buy such-and-such robot, buy such-and-such robot..." - then it'll be a super-valuable development!
Aleksey Ivanov: You should also put a twenty-fifth frame there with an offer "to plant" - "buy such-and-such robot, buy such-and-such robot...", then, at all, a super-valuable development will come out!
Aleksey Ivanov: You need a twenty-fifth frame with a "plant" offer - "buy such-and-such robot, buy such-and-such robot..." - then it'll be a super-valuable development!
Then I need to change the colour at 10:00 to grey in OnTick and return it to the original state again at 11:00.
It doesn't work:
Question:
How do I change the colour of the canvas and frame - no reference to object names?
Thanks!
The canvas.Rectangle is not an object, it's a command to draw a bunch of pixels. It's like a gunshot - one bullet goes off, and good riddance. There's no feedback.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Slightly changed the code. There were two rotating gravity centres, now there are four.
Slightly changed the code. There were two rotating gravity centres, now there are four.
Great!
It's good to hypnotise customers so they don't pay
the losses and just enjoy the process.
great !
It is good to hypnotise clients so that they do not pay
The best way is to hypnotise clients so that they don't pay attention to the losses, but just enjoy the process.
I don't want to fall under this hypnosis myself. :)
And I have to agree, Canvas is cool!
Wow, I think I've got it. ))))
Slightly changed the code. There were two rotating gravity centres, now there are four.
You should also put a twenty-fifth frame there with an offer "to plant" - "buy such-and-such robot, buy such-and-such robot...", then, at all, a super-valuable development will come out!
You need a twenty-fifth frame with a "plant" offer - "buy such-and-such robot, buy such-and-such robot..." - then it'll be a super-valuable development!
Done.
Done.
Nice one! You'll go far!
In OnInit I create a canvas
Then I need to change the colour at 10:00 to grey in OnTick and return it to the original state again at 11:00.
It doesn't work:
Question:
How do I change the colour of the canvas and frame - no reference to object names?
Thank you!
In OnInit I create a canvas
Then I need to change the colour at 10:00 to grey in OnTick and return it to the original state again at 11:00.
It doesn't work:
Question:
How do I change the colour of the canvas and frame - no reference to object names?
Thanks!
The canvas.Rectangle is not an object, it's a command to draw a bunch of pixels. It's like a gunshot - one bullet goes off, and good riddance. There's no feedback.
There is an article Exploring the CCanvas class.Implementing transparency of graphical objects, there should be a solution there.