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.033 c
4-22502
Alexander
2001-11-06 11:00
2002.01.08
How to get an icon for a registered extension in the system


1-22020
Leo ^ Sun
2001-12-18 07:08
2002.01.08
Tmemo


3-21937
ANDREY196
2001-12-04 18:24
2002.01.08
How do I change the color in a particular row to a table in DBGRID


6-22293
Dark_Dan
2001-10-02 18:09
2002.01.08
Sockets must die !!!!!!!


1-22224
Oleg Gashev
2001-12-15 11:14
2002.01.08
Problem with the size of the image when printing





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 Español 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