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.55 MB
Time: 0.036 c
3-21926
Oleon
2001-12-04 15:14
2002.01.08
Creating a table from Delphi.


4-22486
Pantero
2001-11-03 23:59
2002.01.08
Handle


6-22266
PHN
2001-10-02 14:50
2002.01.08
Connect


7-22440
Rumrunner
2001-05-13 00:32
2002.01.08
Win98 has the ability to allow Internet sharing for the local network.


14-22385
moderator
2001-11-03 11:57
2002.01.08
> To Merlin - (SYSTRAY)





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