Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

About TObject in events Find similar branches


Mikhalyov Dmitry   (2001-12-19 15:55) [0]

Write me a brake on the example of calling the Edit1.OnChange event from another event or procedure.



MBo   (2001-12-19 16:00) [1]

http://delphi.mastak.ru/cgi-bin/forum.pl?look=1&id=1008764059&n=0



gek   (2001-12-19 16:00) [2]

And what more do you have to write, and maybe a prog at the same time?



Alex_Sudakov   (2001-12-19 16:01) [3]

if Assigned (Edit1.Onchange) then Edit1.Onchange (self);



Mick   (2001-12-19 16:02) [4]

Edit1.OnChange (Edit1)
Edit1.OnChange (nil)
Edit1.OnChange (Self)
Edit1.OnChange (Application)

But it all depends on the implementation of the handler itself.
procedure Edit1.OnChange (Sender: TObject);



Mick   (2001-12-19 16:06) [5]

Sorry, of course:
Edit1Change (Edit1)
......
Edit1Change (Application)




Alex_Sudakov   (2001-12-19 16:07) [6]

Than you did not like the previous version?



Mick   (2001-12-19 16:13) [7]

> Alex_Sudakov
In the first case, it is necessary to check the property of Edit1 OnChange to nil.



Alex_Sudakov   (2001-12-19 17:01) [8]

Well, yes, so what? Than you my vyriant not like?



Mick   (2001-12-19 17:09) [9]

I like everything. The author of the question asked the question indistinctly.
It seemed to me that he just wants to reuse the code implemented in his Form1.Edit1Change (Sender: TObject).



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top





Memory: 0.57 MB
Time: 0.025 c
1:22171
Sun
2001-12-20 14:19
2002.01.08
Is a miracle possible?


7:22449
Schummi
2001-09-15 07:45
2002.01.08
Windows Favorites


3:21898
Delirium
2001-11-30 18:56
2002.01.08
Is it possible to asynchronously run the stored procedure?


1:22150
Dimich
2001-12-20 13:22
2002.01.08
How to scroll in Panel


14:22392
~ Mag ~
2001-11-10 13:27
2002.01.08
People how to unlock the registry in windows ???





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish