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.54 MB
Time: 0.02 c
1-22225
Reyst
2001-12-16 15:56
2002.01.08
Could not save resource to file


1-22245
T2
2001-12-16 07:12
2002.01.08
Gost & best crypt


6-22267
wHammer
2001-09-28 15:00
2002.01.08
It would be very convenient ...


1-22078
DJ X
2001-12-15 16:11
2002.01.08
Conversion, Registry, INI


3-21928
kaif
2001-12-04 17:42
2002.01.08
arithmetic overflow or string truncation with Restore





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 ภาษาไทย turkish Ukrainian urdu Tiếng Việt 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