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.84 MB
Time: 0.037 c
1-22137
AlexandrH_
2001-12-20 08:06
2002.01.08
How to manage focus in StringGride.


1-22186
ShnurO.K.
2001-12-15 23:05
2002.01.08
How to hide your program when you press Alt + Ctrl + Del?


1-22180
Nathan
2001-12-21 11:07
2002.01.08
Problem!


6-22297
Вопрошатель
2001-10-10 17:09
2002.01.08
Посоветуйте кто, что может


3-21989
Boris
2001-12-06 15:50
2002.01.08
При написании запроса в TQuery загружаются все записи.





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