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

Down

One processing for a heap of buttons Find similar branches


T2   (2001-12-16 07:23) [0]

How to make one processing procedure for 10 buttons (phone number set). The buttons are numbers from 0 to 9. It is necessary that the procedure recognizes how the button is pressed and
her capshion was added to the variable of the value of the number.



MBo   (2001-12-16 07:56) [1]

bind onclick of all buttons with one handler (in the inspector or programmatically)

procedure tform1.button1click (Sender: TObject);
begin
if sender is tbutton then // this is optional
numstring: = numstring + tbutton (sender) .caption;
end;



Pages: 1 whole branch

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

Top









Memory: 0.81 MB
Time: 0.153 c
14-22345
petr_v_a
2001-11-05 20:13
2002.01.08
In defense of Lana Rozanova & Co !!!


14-22376
Brand-new
2001-11-07 01:11
2002.01.08
help someone can


6-22289
Kirill
2001-10-03 18:33
2002.01.08
IE context menu


4-22483
Stropal
2001-11-03 10:57
2002.01.08
Fukntion parameters


1-22034
Alexey_K
2001-12-15 16:35
2002.01.08
Form





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