K
K
Kezzya2020-04-23 11:45:06
Delphi
Kezzya, 2020-04-23 11:45:06

How to make, that in delphi it was possible to use procedure for graphic objects?

I have a procedure, but it does not see the component, mmo1 (memo) , because this is a separate function that I wrote. I understand that you have to click on the memo object and only write code there? It’s just that I have a recursion with a procedure, it’s not clear then how I can implement this in a memo.5ea1558a6dc6e170999497.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kalapanga, 2020-04-23
@Kezzya

Or make this procedure a method of the form on which this memo lies.
Or refer to it as Form1.mmo1.Text where Form1 is your form.

K
Kezzya, 2020-04-23
@Kezzya

Sorry, got it. I found on the forum that it will be visible through the form class.Form1.memo1...
Thank you, if someone has been working on this problem, but has not yet answered.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question