?aoa?ao ia oaio:

Delphi – caaaeueia oa?aeoa?enoeea

Caione Delphi

I?ia?aio Delphi caioneathoue ca cae/aeieie i?aaeeaie iia?aoe?eii?
nenoaie. Iai?eeeaae, yeui o caaaeueiiio a?ei? Windows ia ?iai/iio noie?
? ie?aia i?eoia?aia aeey Delphi, oi aeey caioneo i?ia?aie aeinoaoiuei
aea?aoe ?? ca aeiiiiiaith ieoee. ?ioee niin?a – /a?ac eiiieo Ione®
I?ia?aie® Borland Delphi 3 ® Delphi 3. Ca/aeaaoe aeae?eueea naeoiae,
ii-aa/eii ia ae?ai? /ioe?e aieiai? ?iai/? a?eia Delphi, ye? ? iniiaith
na?aaeiaeua ?ic?iaee. Cacia/eii, ui Delphi, ye u aoaeue-yea ?ioa
i?ia?aia a na?aaeiaeu? Windows, iiaea i?aoethaaoe ia?aeaeueii c ?ioeie
i?ia?aiaie, aei yeeo iiaeia ia?aoiaeeoe i?ae /an ?iaioe. Ioaea,
na?aaeiaeua Delphi i?ecia/aia aeey ?ic?iaee i?eeeaaeieo i?ia?ai i?ae
Windows ia aac? iiae Object Pascal.

Na?aaeiaeua neeaaea?oueny c /ioe?ueio a?eii, yeeie iiaeia ea?oaaoe ye
aaaaoi a?eiiiith i?eeeaaeiith i?ia?aiith c ?ioa?oaenii iaeiiai
aeieoiaioa (single document interface- SDI). Oea icia/a?, ui ?ici??aie
oa ?icoaooaaiiyi eiaeiiai a?eia iiaeia ea?oaaoe iacaeaaeii.

Aieiaia a?eii ?icoaoiaaia caa?oo ? ? oeaio?ii aeaiaioii ea?oaaiiy i?ae
/an ?iaioe Delphi. Aiii neeaaea?oueny c o?ueio aeae?eaieo aeaiaio?a:
?yaeea iaith, iaiae? oaeaeeiai aein-ooio, iae?o?e eiiiiiaio?a.

A?eii ?iniaeoi?a ia’?eo?a ?ici?uaia e?ai?o/ cieco ae?aio. ?iniaeoi?
ia’?eo?a neea-aea?oueny c aeaio noi??iie – aeanoeaino?(Properties) oa
iiae??(Events). Ca aeiiiiiaith ?iniaeoi?a ia’?eo?a caaeathoue ia?aiao?e
oa iiaaae?ieo ie?aieo aeaiaio?a (eiiiiiaio), c yeeo aoaeooue i?ia?aio.

A?eii oi?ie (i?aai?o/ i?ae aieiaiei a?eiii) ? ?iai/ith ae?eyieith aeey
?icoaooaaiiy aeaiaio?a ea?oaaiiy i?ia?aiith i?ae /an ?? iaeaooiueiai
aeeiiaiiy. Neeaaei?o? i?ia?aie iio?aaothoue e?eueeio ??cieo oi?i, eiaeio
c yeeo iacaeaaeii i?iaeoothoue Delphi a ?aieao oiai ae i?iaeoo.
Aeaeeiith ? aeinooiiith aeey i?iaeooaaiiy a eiaeai iiiaio /ano iiaeia
c?iaeoe aoaeue-yeo c aecia/aieo oi?i.

A?eii ?aaeaeoi?a eiaeo aea? ciiao aaiaeeoe oa ?aaeaaoaaoe oaenoe i?ia?ai
iiaith Object Pascal. Aiii ?icoaoiaaia i?aai?o/ cieco, iaeiae /anoi
aeiaiaeeoueny ca?eueooaaoe eiai ?ici??e, uia iaeii/anii aa/eoe cia/io
/anoeio i?ia?aie. A?eii ?aaeaeoi?a eiaeo aaaaoi noi??ieiaeie, ia eiaei?e
noi??ioe? iiaeia ?aaeaaoaaoe ?ioee oaenoiaee oaee (iiaeoeue) i?i- a?aie.
Ia?ao?ae i?ae noi??ieaie aeeiiothoue ca aeiiiiiaith aoeeaoie aieco a?eia
(aeey Windows 3.1) aai caeeaaeie caa?oo iaae a?eiii (aeey Windows 95).

A?eia oi?ie oa ?aaeaeoi?a eiaeo i?ae /an ii/aoeiaiai caioneo Delphi
iiaeooue /anoeiai ia?ae?eaaoeny, oiio ia?aae ii/aoeii ?iaioe o?aaa ca
aeiiiiiaith ieoee iaeaoooaaoe ?ici??e oa i?noea oaeeo a?eii ia ae?ai?.
Oi?i (a?eii) iiaea aooe ? aeae?eueea, oiio aeey ?oiueiai ia?aieeaiiy
aeei?enoiaothoue eiiaiaee na?aaeiaeua aai i?i?i?cothoue iaiio??ai? a
eiie?aoiee iiiaio.

I?ney caioneo Delphi aeae?athoue iaeei c aeaio aa??aio?a iiaeaeueoiai
iaeaoooaaiiy. Aeey coai?aiiy iiai? i?ia?aie aeioe?eueii aea?aoe /a?ac
iaith Delphi eiiaiaeo File® New Application, i?ney /iai Delphi
ia?aiaeth? caiiai a?eia oi?i oa ?aaeaeoi?o eiaeo, ? i?ea’ycaoe iiao
i?ia?aio aei ie?aii? iaiee. sseui ae ?iaioo iaae i?ia?aiith ?icii/aoi
?ai?oa, oi iio??aii a?aee?eoe ?? eiiaiaeith File ® Open aai File ®
Reopen.

Delphi aea? noa?oiao aaco (a?eii oa a?aeiia?aeio i?ia?aio) aeey
i?aaeeueii? ?iaioe a iia?a-oe??i?e nenoai? Windows, iaae?eyth/e aaco
noaiaea?oii i?eeiyoeie a Windows aeaiaioaie ea?oaaiiy oa iiaaae?iee. Ua
ia iaienaaoe aeiaeiiai ?yaeea oaenoo i?ia?aie, ie iiaeaii niinoa??aaoe
oa eiio?iethaaoe aeeiiaiiy iaeaooiuei? i?ia?aie. Ia ii/aoe?aoe?a aaeeea
a?aaeaiiy ni?aaey? oaeee i?inoee niin?a ii/aoeiaiai i?iaeooaaiiy, a ia
aeina?ae/aieo i?ia?ai?no?a – oyaa i?i ianya i?ia?aioaaiiy, yeee
aeiaaeiny a aeeiioaaoe naiino?eii aac cania?a Delphi.

Aieiai? i?eeiie a?coaeueiiai i?ia?aioaaiiy

Caaaeueia iaeaoooaaiiy Delphi

Aeey iiaoaeiae i?ia?aie Delphi oe?iei aeei?enoiaothoue caniae, ye?
iaaea? nenoaia. ? aea? /anoeie iiaoaeiae: ia?oa – i?iaeooaaiiy
?ioa?oaeno c aeei?enoaiiyi noaiaea?o ieo aeaiaio?a (eiiiiiaio) oa
iai?ioethaaiiy ?oi?ie ?ici??aie e ?icoaooaaiiyi; ae?oaa – iaienaiiy
o?aaiaio?a i?ia?aiiiai eiaeo aeey aeeiiaiiy caaaeaiiy. Delphi naiino?eii
caieno? aeaye? /anoeie i?ia?aie aac ciai?oiueiai ao?o/aiiy, ?ic?iaieeia?
o?aaa eiaeoaaoe eeoa nooi naith caaea/o. E??i oiai, Delphi oi?io? aeey
iaeaooiuei? i?ia?aie iio??aio ?ioi?iaoe?th o oaeeao. Ia an?o aoaiao
?ic?iaee i?ia?aie iiaeia aa/eoe ?? ?ioa?oaen, ia?aa??yoe i?ia?aio oeyoii
aeeiiaiiy, ci?ithaaoe aeanoeaino? eiiiiiaio, ia yeeo iiaoaeiaaia
i?ia?aia, aeeo/aoe /e aeiaeaaaoe a?coaeuei? eiiiiiaioe.

Ia ii/aoeo ?iaioe c nenoaiith Delphi aeioe?eueii aeeiiaoe ?? i?i?iaeueia
iaeaoooaaiiy.

Ii-ia?oa, o?aaa i?aeaiooaaoe iaieo (eaoaeia), aea aoaeooue caa??aaoeny
an? oaeee iaeaooiuei? i?ia?aie. Oea e?ioa ?iaeoe aei caioneo Delphi.

Iiao iaieo noai?eoe ca cae/aeieie i?aaeeaie iia?aoe?eii? nenoaie
Windows. Iai?eeeaae, caionoeoe ?ino?oiaio I?e eiii’thoa? (My Computer),
?icoaoiaaiee ia ?iai/iio noie? nenoaie, a?aeooeaoe iio??aiee aeene oa
aaea iayaio iaieo, a?aee?eoe ??, i?ney /iai /a?ac iaith aea?aoe eiiaiaee
Oaee ® Noai?eoe ® Iaiea. Aa?aoe c eeaa?aoo?e iio??aia ?i’y iaiee oa
iaoeniooe ia eeaa?oo Enter, iaoeiaii aioiao ii?iaeith iaieo.

Naith iaieo iiaeia noai?eoe ? i?ci?oa, i?ae /an iiaoaeiae i?ia?aie. O
?ac? ia?oiai caiai’yoiaoaaiiy a?aeooeaoe o noaiaea?oiiio a?ei?
caiai’yoiaoaaiiy oaee?a iio??ai? aeene oa iaieo ? ca aeiiiiiaith eiiiee
a?eia Noai?aiiy iiai? iaiee oae naii, ye ? a iiia?aaeiueiio aeiaaeeo,
aaanoe c eeaa?aoo?e ?i’y iaiee.

Ii-ae?oaa, iio??aii aea?aoe ? iaeaoooaaoe aeaye? aaaeeea? ia?aiao?e
Delphi, ye? iino?eii aieeaathoue ia iiaeaeueoo ?iaioo. Aeua cacia/aii,
ui a iaith o?aaa iine?aeiaii aea?aoe ioieoe Tools ® Environment Options…
® caeeaaeeo Preferences ? ca aeiiiiiaith ieoee iinoaaeoe iicia/eo Oe a
iiey Show compiler oa Minimize on run. Oaeo ae iicia/eo iio??aii
iinoaaeoe a iie? Break on exception. Oiai, uia iiaeia aoei caienoaaoe a
i?ia?ai? eiiaioa?? oa e?oa?i? ?yaeee oe?a?inueeith iiaith, o?aaa ca
oaeeie ae ioieoaie aea?aoe caeeaaeeo Display ? a ?yaeeo Editor Font c?
niaaeiiai nieneo o?eoo Courier New Cyr.

?aaeaeoi? eiaeo

?aaeaeoi? eiaeo ?icoaoiaaiee a ie?aiiio aueiu, yea iiaeia cae?eoe oa
a?aee?eaaoe iacaeaaeii a?ae aieiaiiai oa ?ioeo a?eii. O oeueiio a?ei?
a?aeia?aaeathoue oa ?aaeaaothoue oaenoe i?ia?ai.

I?aai?o/ oa cieco a?ae oanoo ? noaiaea?oi? nioae eiai ia?aaeyaeo. Caa?oo
iaae oaenoii cia?aaeai? caeeaaeee aeey iicia/aiiy oaee?a. Eiaeia
caeeaaeea i?noeoue ?i’y a?aeiia?aeiiai iiaeoey. Aeey ia?aieeaiiy a?eia
ia iio??aiee iiaeoeue aeinoaoiuei eeaoeiooe ieoeith ia eiai caeeaaeoe?.

O ieaei?e /anoei? a?eia ? ?yaeie noaio. A?i i?noeoue ?ioi?iaoe?th i?i
i?noea eo?ni?a ia aeoeai?e noi??ioe? (ia?oa iiea e?ai?o/), ae?oaa iiea
a?aeia?aaea?, /e aoa ci?uaiee oaeno o oeueiio a?ei? c iiiaioo
inoaiiueiai caiai’yoiaoaaiiy, o?ao? iiea iia?aeiiey? i?i ?aaeei iaai?o
neiaie?a ia eeaa?aoo??: Insert – onoaaeaiiy, Overwrite – ci?ia, Real
Only – oaeno ia iiaeia ci?ithaaoe. Ia?aieeaiiy i?ae ?aaeeiaie Insert oa
Overwrite aeeiiothoue eeaauoath Ins.

E??i oiai, ?yaeie noaio i?ecia/aiee aeey aeaaaeaiiy iia?aeiieaiue
eiii?eyoi?a i?i iiieeee a i?ia?ai?, a oaeiae aeey aaaaeaiiy oaenoo i?ae
/an aeeiiaiiy eiiaiaee Search ® Incremental Search.

Nioao e?ai?o/ a?ae oaenoo aeei?enoiaothoue aeey a?aeie?aieaiiy ?yaee?a,
ia yeeo aoaeooue ?icoaoiaai? i?noey coieiee i?ia?aie. Aeey oeueiai
aeinoaoiuei eeaoeiooe ieoeith ia nioc? iaai?ioe iio??aiiai ?yaeea.
Iiaoi?ia eeaoeaiiy ieoeith ci?ith? i?noea coieiee.

?aaeaeoi? eiaeo iiaea i?aoethaaoe ni?eueii c iaeaaiaeaeoaa/ai Delphi.
Iaeaaiaeaeoaaiiy aea? ciiao o?anoaaoe i?ia?aio aaciina?aaeiuei o a?ei?
?aaeaeoi?a ? a?aeia?aaeaoe a iueiio anth iioi/io ?ioi?iaoe?th.

?aaeaeoi? eiaeo Delphi aeeiio? cia/io /anoeio ?iaioe i?ia?ai?noa.
Cie?aia, i?ae /an ia?aianaiiy o a?eii oi?ie iiaeo eiiiiiaio?a o eean
oi?ie aaoiiaoe/ii aeiaea? a?aeiia?aei? iiey, a a i?iaeo? – a?aeiia?aei?
iiaeoe?. O aeiaaeeo, eiee aei eiiiiiaioe aeiaeathoue i?ia?aio
ii?aoeueiaoaaiiy iiae??, o a?ei? ?aaeaeoi?a eiaeo c yaey?oueny ia i?noe?
iaeaooiueiai ia?oiai iia?aoi?a.

Caoaaaeeii, ui ?aaeaeoi? eiaeo iiaeia aeei?enoiaoaaoe aeey ?aaeaaoaaiiy
aoaeue-yeeo oaenoiaeo oaee?a, iai?eeeaae, oaee?a ao?aeieo aeaieo
i?ia?aie, ? iaa?oue oaee?a, ia iia’ycaieo c oe??th i?ia?aiith.

A?eii oi?ie

A?eii oi?ie a Delphi iiaeia o?aeooaaoe ye nai???aeiee aoae?aaeueiee
iaeaeai/ee, ia yeiio a?aeiia?aeii aei ieaio ?icoaoiaothoue eiiiiiaioe
iaeaooiuei? i?ia?aie.

Oi?ia oea a?eii Windows, iiaoaeiaaia iaeiei ?c aeiionoeieo noee?a.
Caa?oo iaae a?eiii ? nioaa c caaieiaeii ? noaiaea?oieie eiiieaie
ea?oaaiiy a?eiii. ?aooa i?inoi?o a?eia oi?ie ? ?iai/ith ae?eyieith, ui
iciae na?aaeiaeua. N?oea i?ecia/aia aeey ae??aithaaiiy eiiiiiaio i?ae
/an ?o ?ici?uoaaiiy ia ieiuei? oi?ie.

Aiaeii/an c? noai?aiiyi iiaiai i?iaeoo aaoiiaoe/ii noai?th?oueny iiaa
oi?ia, yea c’yaeyoeiaoueny i?ae /an aeeiiaiiy aioiai? i?ia?aie. Oaeo
oi?io iaceaathoue aieiaiith oi?iith i?iaeoo. sseui ae i?iaeo iio?aao?
aeae?eueeio oi?i, oi iiao noaiaea?oio oi?io iiaeia aeiaeaoe eiiaiaeo
File ® New Form, a oaaeii oi?ie aea?aoe a ae?aeiaiaiio a?ei? eiiaiaeith
File ® New ® Forms. Oaaeii i?noeoue aioiaee iaa?? aeaiaio?a ea?oaaiiy
aeey oeiiaeo aeiaaee?a ?ic?iaee i?iaeo?a. Delphi aea? ciiao noai?thaaoe
aeani? oaaeiie oa caa??aaoe ?o ?acii c? noaiaea?oieie.

?icaeyiaii aieiai? aoaie ?iaioe c eiiiiiaioaie a ?iai/?e ae?eyioe?
a?eia oi?ie. Aeoeaia a eiie?aoiee iiiaio eiiiiiaioo (oa, ui ia? oieon)
aeae?eaia eiioo?iith ?aieith c iaeaiueeeo /i?ieo eaaae?aoee?a ii
ia?eiao?o. Oieon i?ae eiiiiiaioaie ia?ai?uothoue ieoeith aai eeaa?oath
Tab.

Aeae?eueea eiiiiiaio?a, ?icoaoiaaieo ia oi?i?, iiaeia ia’?aeiaoe a
a?oio. Aeey oeueiai o?aaa iaoeniooe ia EEI ? ia?anoiooe ?? oae, uia
ae?eyiea, iaiaaeaia oo?eoiaith e?i??th, ui oyaiaoueny ca ieoeith,
caoiieea iio??ai? eiiiiiaioe. I?ney a?aeioneaiiy eeaa?o? ieoee an?
ia’?aeiai? a a?oio eiiiiiaioe aoaeooue aeae?eai? eiioo?iith ?aieith
eiaeai, iaeiae n??iai eieuei?o, naia ?aiea cao?eniaaia eeoa ii eooeao
eiaeiiai eiiiiiaioo. Uia a?aei?ieoe ia’?aeiaiiy eiiiiiaioo, aeineoue
eeaoeiooe ieoeith a aoaeue-yeiio a?eueiiio a?ae eiiiiiaioo i?noe?
?iai/i? ae?eyiee a?eia oi?i.

Aeey aeeo/aiiy eiiiiiaioe c oi?ie iio??aii ia?aaanoe ia ia? oieon ?
iaoeniooe ia eeaa?oo Del aai aea?aoe c aieiaiiai iaith eiiaiaeo Edit ®
Delete. Iio??aii aeeo/eoe an? a?ae?aco eiiiiiaioe, ia’?aeiai?
iiia?aaeiuei a a?oi?. Aeeo/aio eiiiiiaioio aai a?oio a?aeiiaeththoue
eiiaiaeith Edit ® Undelete.

O iaaeao ?iai/i? ae?eyiee a?eia ia?anoaaiiy eiiiiiaioo iaec?o/i?oa
ieoeith ia e?ao eeaa?oo. Aeey oi/iiai ?icoaooaaiiy eiiiiiaioo o a?ei?
aeei?enoiaothoue eiia?iaoe?th eeaa?o ea?oaaiiy eo?ni?ii oa eeaa?o? Ctrl.
Ci?ieoe ?icoaooaaiiy eiiiiiaioe iiaeia oaeiae oeyoii caaeaiiy
a?aeiia?aeieo eii?aeeiao ?? e?aiai aa?oiueiai eooa a ?iniaeoi?? ia’?eo?a
(aeanoeaino? Left, Top).

?ici?? eiiiiiaioo iaec?o/i?oa ci?ithaaoe oaeiae ieoeith. Aeey oeueiai
nia?oo eiiiiiaioo ?iaeyoue aeoeai?oith. Aeae? ia?anoaathoue ieoeith ia
iaeei c ia?ea?ieo /i?ieo eaaae?ao?a, ?icoaoiaaieo ii ia?eiao?o. Eo?ni?
iaaoaa? aeaeyaeo aeaiiai?yieaii? no??eee. Cao?enoaaaoe EEI,
ia?anoaathoue ieoeith a iio??aiiio iai?yi? ? a?aeioneathoue eeaa?oo.
Oi/io ci?io ?ici???a aeeiiothoue eiia?iaoe??th eeaa?o ea?oaaiiy eo?ni?ii
oa eeaa?o? Shift. E??i oiai, ?ici??e iiaeia aecia/eoe a?aeiia?aeieie
aeanoeainoyie (Height, Width) a ?iniaeoi?? ia’?eo?a.

?ici??e oa ?icoaooaaiiy an?o eiiiiiaio?a o a?ei? iiaeia iaeii/anii ?
i?iii?oe?eii ci?ieoe. Aeey oeueiai aeei?enoiaothoue eiiaiaeo aieiaiiai
iaith Edit ® Scale, cacia/eaoe ci?io ianooaao o a?aenioeao.

sseui o a?ei? oi?ie aaea ?icoaoiaai? aeae?eueea eiiiiiaio?a, oi ?o
iiaeia ae??aithaaoe ye uiaei iaeii?. Aeey oeueiai canoiniaothoue
eiiaiaeo aieiaiiai iaith Edit® Align aai iae?o?o ae??aithaaiiy, yeo
aeeeeeathoue eiiaiaeith View ® Alignment Palette. Oey iae?o?a ? ie?aiei
a?eiii, yea iiaeia ?icoaooaaoe ia ae?ai? a c?o/iiio i?noe? ia o?eaaeee
/an. Ae??aithaaiiy aeeiiothoue aeey ie?aieo eiiiiiaio?a, a oaeiae aeey
a?oi. Eiiiiiaioe a a?oi? ae??aiththoueny noiniaii oiai eiiiiiaioo, yea
iio?aieea a a?oio ia?oith.

Iaae eiiiiiaioaie oa ?oi?ie a?oiaie iiaeia aeeiioaaoe iia?aoe??
ae??caiiy, eii?thaaiiy a aooao iai?io, anoaaeaiiy c aooaoo iai?io.
Iaeiae eii?thaaiiy oa ae??caiiy iiaeeeaa eeoa aeey oaeeo a?oi
eiiiiiaioo, ye? iathoue ni?eueiiai “?iaee/a” (oi?io aai
eiiiiiaioo-eiioaeia?).

?iniaeoi? ia’?eo?a

?iniaeoi? ia’?eo?a ? ?ino?oiaioii na?aaeiaeua ?ic?iaee Delphi, yeee aea?
ciiao iiai?noth aecia/eoe aeaeyae oa iiaaae?ieo eiiiiiaioo, ui
?icoaoiaai? ia oi?iao i?iaeoo, a oaeiae naii? oi?ie. Ca eiai aeiiiiiaith
iiaeia caaeaaaoe iio??ai? cia/aiiy aeanoeainoae eiiiiiaioo (ia’?eo?a), a
oaeiae ?aaeoe??th ia noaiaea?oi? iiae??. ?iniaeoi? ia’?eo?a ?icoaoiaaiee
a ie?aiiio a?ei?, yea noai?th?oueny aaoiiaoe/ii i?ae /an caaaioaaeaiiy
Delphi.

A?eii ?iniaeoi?a ia’?eo?a ia? nienie eiiiiiaio?a iioi/ii? oi?ie, a
oaeiae aea? noi??iee: aeanoeainoae Properties oa iiae?e Events.

Aeai? c’yaeythoueny ia noi??ieao ?iniaeoi?a ia’?eo?a eeoa ca

iayaiino? a?aee?eoiai oaeeo c oaenoii oi/a a iaeiiai iiaeoey a
?aaeaeoi?? eiaeo.

O aa?oi?e /anoei? ?iniaeoi?a ?ici?uaiee nienie eiiiiiaio?a a aeoaa?oiiio
ii?yaeeo, ye? ?icoaoiaai? ia aeoeai?e oi?i?, aeeth/ath/e naio oi?io.
Iiaa/eoe nienie iiaeia, iaoenioaoe ia eiiieo nieneo eiiiiiaio?a. sseui
aea?aoe yeee-iaaoaeue eiiiiiaio ?c nieneo ieoeith, oi eiiiiiaio noa?
aeoeaiei, a iaeaea? noi??iee ?iniaeoi?a ia’?eo?a caiiaiyoueny cia/aiiyie
?? iioae?eiaaieo aeanoeainoae oa ?iaiaie i?ioeaaeo? ii?aoethaaiiy
iiae?e, o a?ei? oi?ie a?aeiia?aeii eiiiiiaio aoaea aeie?aieaia
eiioo?iith ?aieith. sseui a nieneo iaia ?iai?, oi oea icia/a?, ui
noi??iee ?iniaeoi?a ia’?eo?a i?noyoue aeanoeaino? oa iaoiaee
ii?aoethaaiiy iiae?e a?oie ia’?aeiaieo eiiiiiaio?a.

Aeaeeia ?i’y aeoeaiiai eiiiiiaioo iiaoaeiaaia c aeaio /anoei: aeania
?iai? eiiiiiaioo oa ?iai? oeio (eeano), aei yeiai aiia iaeaaeeoue.

Noi??iea aeanoeainoae neeaaea?oueny c aeaio noiaioe?a: e?aee c iacaaie
?iai aeanoeainoae eiiiiiaioo, a i?aaee c ?oi?ie cia/aiiyie. Aeey
iioi/ii? aeanoeaino? a i?aaiio noiaioe? noa? aeoeaiei iiea ?aaeaeoi?a,
aeaeyae yeiai caeaaeeoue a?ae eiie?aoii? aeanoeaino?. sseui iiea
?aaeaeoi?a ia i?noeoue i?yeeo iicia/ie, oi oea aeanoea?noue, cia/aiiy
yei? o?aaa aaanoe c eeaa?aoo?e. sseui ae iiea ia? eiiieo cia/aiue
ia?ae?/aiiai oeio (c? no??eeith aiec), oi cia/aiiy iiaeia aea?aoe c?
nieneo aeiionoeieo iaia?aae aecia/aieo cia/aiue. Iiaa/eoe nienie iiaeia,
yeui iaoeniooe ia oeth eiiieo. Aeaye? aeanoeaino? (iai?eeeaae, Font aai
Icon) aeey aeai?o cia/aiue iathoue ae?aeiaiaa a?eii. A iie? ?aaeaeoi?a
aeanoeainoae o oeueiio aeiaaeeo aeaeii eiiieo c o?ueiia e?aieaie. I?ney
iaoeneaiiy ia ia? c’yaeoueny ae?aeiaiaa a?eii, a yeiio o?aaa caaeaoe ii
/a?c? aeae?eueea ??cieo cia/aiue, ui noino?oueny o??? aeanoeaino?, a
iio?i eiai cae?eoe.

Aeanoeaino? iiaeooue aooe i?inoeie oa eiiieaenieie.

Eiiieaeni? – oea aeanoeaino?, ye? neeaaeathoueny c iaai?o ?ioeo
aeanoeainoae, aeey eiaeii? c yeeo caaeaii naia cia/aiiy. ?o iicia/athoue
ciaeii <<+>>. Iaa?? aeanoeainoae a?aeiia?aeii iiaea neeaaeaoeny ye c
i?inoeo, oae ? c eiiieaenieo. Aeey ia?aaeyaeo iaai?o aeanoeainoae
iio??aii aea?/? eeaoeiooe ieoeith ia ?iai? eiiieaenii? aeanoeaino?,
i?ney /iai a noiaioe? ?iai aeanoeainoae cae?eoe aeiaeaoeiaee nienie, a
ciae ia?aae ?iaiai ci?ieoueny ia << - >>. Uia cae?eoe aeiaeaoeiaee
nienie, o?aaa aea?/? eeaoeiooe ieoeith ia ?iai? eiiieaeoe?? aeanoeaino?.

Noi??iea iiae?e oaeiae ia? aeaa noiaioe?. E?aee – c ?iaiaie noaiaea?oieo
iiae?e, ia ye? iiaea ?aaaoaaoe eiiiiiaioo, a i?aaee – c ?iaiaie
i?ioeaaeo? (iaoiae?a) ii?aoethaaiiy iiae?e, ye? ?aae?cothoue ?aaeoe?th
eiiiiiaioo.

Noaiaea?oi? iiae?? aeieeathoue i?ae /an noai?aiiy oa cieuaiiy
eiiiiiaioo, ci?ie ?? aeaeeiino?, iaoeneaiiy ia eeaa?o? eeaa?aoo?e,
eeaoeaiiy ieoeith oiui.

Aaaaoi eiiiiiaio?a iiaeooue ?aaaoaaoe ia niaoeeo?/i?, oa?aeoa?i? eeoa
aeey oeeo iiae?e. Eiaei?e noaiaea?oi?e iiae?? a?aeiia?aea? o?eniaaia
?i’y iaoiaeo (i?ioeaaeo?e) ii?aoethaaiiy.

Ii/aoeiai i?aaee noiaaaoeue ? ii?iaei?e, oiaoi eiiiiiaioo ia ?aaao? ia
aeiaei? iiae??. Aeey aecia/aiiy ?aaeoe?? eiiiiiaioo ia iiae?th iio??aii
ia?aaenoe eo?ni? ia iiea ?aaeaeoi?a iiae?? a i?aaiio noiaioe? oa aea?/?
eeaoeiooe EEI. I?ney oeueiai a noiaioe? ?iai c’yaeoueny ?i’y iaoiaeo
ii?aoethaaiiy, a aei a?eia a?aeiia?aeiiai iiaeoey a ?aaeaeoi?? eiaeo
aaoiiaoe/ii aeiaeanoueny aaciaee (ii/aoeiaee) oaeno oe??? i?ia?aie, ?
eo?ni? ?icoaoo?oueny ia i?noe? iaeaooiueiai ia?oiai iia?aoi?a.
A?aeiia?aei? caaieiaee iaoiae?a oae naii aeiaeathoue aei iieno eeano
oi?ie, ia ye?e ?icoaoiaaia eiiiiiaioe. Ii/aoeiaee oaeno i?ia?aie ia aea?
aeiaeiiai iia?aoi?a, ioaea, oaeoe/ii? ?aaeoe?? eiiiiiaioo ia ae?th ia
aoaea aeioe, aeiee ia aoaeooue caienai? a oaeno? iio??ai? iia?aoi?e.

Aeiionoeieo ?iai iaoiae?a ii?aoethaaiiy o??? ae iiae?e iiaea aooe ?
aeae?eueea, oiae? iio??aia ?i’y iiaeia aea?aoe c? nieneo, yeee
a?aee?eaathoue ca aeiiiiiaith eiiiee. Iaoiaeai ii?aoethaaiiy iiae?e
iiaeia aeaaaoe ? aeani? ?iaia, iaeiae aac iaeaaeiiai aeina?aeo oeueiai
?iaeoe ia aa?oi.

sseui aeae?eueea ??cieo eiiiiiaio?a iiaeooue ?aaaoaaoe ia iaeii?ioiio
iiae?th, oi iiaeia caaeaoe aeey an?o ieo iiae?aio ?aaeoe?th noai?aiiyi
eeoa iaeiiai iaoiaeo ii?aoethaaiiy. Oea iniaeeai aeooaeueii, yeui
eiiiiiaioe iaeiioeii?, iai?eeeaae, a?oia eiiiie aai a?oia iicia/ie. Aeey
oeueiai oae? eiiiiiaioe o?aaa nii/aoeo ia’?aeiaoe a a?oio (aeea. aeua).
O nieneo eiiiiiaio?a o aa?oi?e /anoei? a?eia i?ney oeueiai ia aoaea
aeiaeiiai ?iai?. Oaia? aecia/aiiy ?aaeoe?? iiae?th aoaea noinoaaoeny
a?ae?aco an?o eiiiiiaio?a a?oie.

?aaaoaaiiy ia iiae??

Iia?aoe?eia nenoaia Windows o oe?eiio oa Delphi cie?aia iiaoaeiaai? ia
eiioeaioe?? iiae?? oa ?oiueiai ii?aoethaaiiy. Iiae?y – oea iaaia
neooaoe?y i?ae /an ?iaioe (i?eeeaaeii? i?ia?aie, eiii’thoa?a,
iia?aoe?eii? nenoaie), yeo o?enothoue, aiia oi?io? iia?aeiieaiiy i?i
nai? aeieeiaiiy, ? yeo ii?aoeueiao? i?ia?aia /e nenoaia, ui ai?? oea
?iaeoe. I?ia?aia /e nenoaia iiaeii? aooe a?aeiia?aeii iaeaooiaai? ia
iiaeeeaa ii?aoethaaiiy iaaieo iiae?e. Iaeei c i?eioeei?a i?ia?aioaaiiy
aeey Windows – ?ic?iaea i?ia?ai, aeeiiaiiy yeeo ?i?oe?ththoue iiae??.
sseui iaia iiae?e, oi iaia e aeeiiaiiy. Ioaea, aaaeeeaeie ? i?aaeeueiee
iaa?? iiae?e, iia’ycaieo c i?ia?aiiith nenoaiith, oiaoi caaea/ath, oa
i?aaeeueia aca?iiae?y i?ia?ai ?aaaoaaiiy ia iiae??. Cacia/eii, ui
ii?aoethaaiiy iiae?e o caaaeueiiio aeiaaeeo iiaea a?aeaoaaoeny
ia?aeaeueii, ui i?iaeiaaeo? i?iaeaio neio?iiiith /e aneio?iiiiai
aeeiiaiiy i?ia?ai.

O Delphi noaiaea?oii aecia/aii nienie iiae?e ye? iiaea aeei?enoiaoaaoe
i?ia?ai?no, aeae?ath/e ?o /a?ac noi??ieo iiae?e ?iniaeoi?a ia’?eo?a.
Ieae/a iaaaaeaii ei?ioeo oa?aeoa?enoeeo iiaeeeaeo iiae?e. Iienaii eeoa
o? c ieo, ye? aeieeathoue /ano?oa a?ae ?ioeo, ? ? oa?aeoa?ieie aeey
aaaaoueio eiiiiiaio?a. Iacae an?o iiae?e ii/eiathoueny i?ao?enii ON,
i?ney yeiai ? ei?iaeea iacaa iiae??. Iacae cao?eniaai? ? ci?ithaaoe ?o
iaiiaeia. C iiaeyaeo iiae Ianeaeue iiae?y – oea aeanoea?noue (property)
i?ioeaaeo?iiai oeio. Aeaii oaeiae oi?iaeueia icia/aiiy iio??aieo
i?ioeaaeo?ieo oei?a.

Ia?aiao? Sender o caaieiaeao i?ioeaaeo?ieo oei?a aecia/a? oie ia’?eo /e
aeaiaio i?ia?aie, yeee ? aeaea?aeii iiae??, oiaoi i?noea, aea iiae?y
aeieeea. sseui iio??aii, ia?aiao? Sender iiaeia aeei?enoaoe aeey
ooi/iaiy ia’?eoa – aeaea?aei iiae??, aai ia?aiao??a ? iioi/iiai noaio
ia’?eoa.

s OnActivate – iiae?y aeieea? aeey oi?ie i?ia?aie eiaeiiai ?aco a
iiiaio, eiee oi?ia noa? aeoeaiith e io?eio? oieon oaaaeaiiy.

TNotifyEvent = procedure ( Sender: TObject ) of object;

property OnActivage: TNotifeEvent;

s OnCreate – iiae?y aeieea? oiae?, eiee oi?io noai?ththoue oia?oa ia
ii/aoeo aeeiiaiiy i?ia?aie. Aeei?enoiaothoue aeey aeeiiaiiy i?aeaioia/eo
iia?aoe?e: ia?aa??ee iayaiino? oaee?a, noai?aiiy a iai’yo? ?iai/eo
no?oeoo? aeaieo oiui. sseui aeanoea?noue aeaeeiino? oi?ie ? aa?ieiaiith
(property Visible ® true), oi iiae?? aeieeathoue o oaeiio ii?yaeeo:
OnCreate ® OnShow ® OnAktivage ® OnPaint.

property OnCreate: TNotifyEvent;

s OnClick – iiae?y aeieea? aeey aoaeue-yeiai aeaeeiiai aeaiaioa ia oi?i?
(eiiiee, iaiae?, nienee, oaaeeoe? oiui) a iiiaio, eiee aeac?aiee ieoee ?
iaae aeaiaioii ? ie eeaoea?ii EEI. Iaeiae o?aaa iai’yoaoe, ui oey iiae?y
iiaea aeieeoe ? ca ?ioeo oiia, iai?eeeaae, i?ae /an iaoeneaiiy ia
eeaa?oo Enter, eeaa?oo i?iioneo, a?aeie?aieaiiy yeiainue aeaiaioa nieneo
/e oaaeeoe? eeaa?oaie c? no??eeaie oiui. Ia?ae?e neooaoe?e, ca yeeo
aeieea? iiae?y OnClick, iaaaaeaiee o aeia?aeeia?e nenoai? Delphi. Oeth
iiae?th /anoi aeei?enoiaothoue aeey aeeiiaiiy iio??aieo ae?e o i?ia?ai?
o a?aeiia?aeue ia eeaoeaiiy ieoeith ia aeaeeiiio aeaiaio?.

Aeaoaeueio ?ioi?iaoe?th i?i an? iiae?? eiaeii? eiiiiiaioe iiaeia
io?eiaoe c aeia?aeeiai? nenoaie Delphi, iai?eeeaae, oae. A ?iniaeoi??
ia’?eo?a ?ici?uothoue eo?ni? ia noi??ioe? iiae?e Events a noiaioe? ?iai
i?ioeaaeo? ia eeaa?oo F1. Delphi a?aeooeo? iio??aiee ?icae?e ? iiaea?
eiai oaeno. Aeey iiaa?iaiiy a nenoaio aeineoue cae?eoe a?eii
aeia?aeeiai? nenoaie aai ia?aeoe a na?aaeiaeua Delphi /a?ac iaiaeue
caaea/ Windows. (Aeia?aeea nenoaie i?aoeth? ye ie?aia caaea/a Windows).

O aeaeyae? noaie iieacaii caaaeuei? i?ioeane, ye? a?aeaoaa?oueny i?ae
/an ii?aoethaaiiy iiae??. E?ai?o/ – /anoeia i?ia?aie, yeo oi?io? Delphi
aaoiiaoe/ii aeey ca’yceo c iia?aoe?eiith nenoaiith Windows. *a?ac oeth
/anoeio Windows iaaeneea? iia?aeiieaiiy i?i aeieeiaiiy iaaieo iiae?e, ?,
yeui aecia/ai? i?ioeaaeo?e (iaoiaee) ?o ii?aoethaaiiy, oi ?i ia?aaea?
ea?oaaiiy. I?ney aeeiiaiiy i?ioeaaeo?e ii?aoethaaiiy iiae?e ea?oaaiiy
ianooiieo iiae?e ea?oaaiiy ia?aoiaeeoue iacaae o Windows, oi/i?oa – ia
oeeee aeyaeaiiy ianooiieo iiae?e. O ?ac? aaaaoi?aciai? iiyae aeayei?
iiyaa aeayei? iiae?? a?aeiia?aeio e?euee?noue ?ac?a aoaea aeeeeeaia oa
ae i?ioeaaeo?a ii?aoethaaiiy, oea aaaeeeai ?icoi?oe ? i?aaeeueii
ieaioaaoe (i?ia?aioaaoe) ?acoeueoao oaeiai aaaaoi?aciaiai aeeiiaiiy

?iaioa an??? i?ia?aie cae?i/o?oueny c iiyaith iiae?e, yea aaaea aei
cae?eooy aieiaii? oi?ie, iai?eeeaae, o aeiaaeeo eeaoeaiiy ieoeith ia
eiiioe? cae?eooy oi?ie.

Aeniiaie

Ia?niiaeuei? eiii’thoa?e ca i?ecia/aiiyi, oaeoe/ii ia iathoue
iaiaaeoaaiue, a ?oi? iiaeeeaino? aecia/ai? i?ia?aiaie, ye?
ii?aoeueiaothoue aoaeue-yeo ?ioi?iaoe?th. Uia iaea?aeaoe ca aeiiiiiaith
eiii’thoa?a ei?eniee ?acoeueoao, o?aaa iaoe a?aeiia?aeio i?ia?aio.

Nueiaiaei? ? aeoaea aaaaoi aioiaeo nenoai oa iaeao?a. Iaeiae aoaeue-yeee
iaeao /e i?ia?aia c iiiaioo nai?? iiyae ii?aeueii noa???, oiaoi
c’yaeythoueny iia? i?iiiceoe?? uiaei iie?ioaiiy ?oi?o iiaeeeainoae, a
nai? caaea/? o?ainoi?io?oueny o iia?, iaia?aae ia ia?aaeaa/ai?.
A?aeiia?aeii aei oeueiai iiaeeo?eothoue iaeaoe oa i?ia?aie –
c’yaeythoueny ?oi? iia? aa?n??. E??i oiai, no/ani? iaeaoe oyae?thoue aei
oi?aa?nae?cio, ?oi? ?ic?iaee iaiaaathoueny caaacia/eoe i?aeo?eieo
yeiiiaa oe?oiai eiea caaea/. Naia ii nia? oea iiceoeaia, iaeiae eiee
iio??aii nueiaiaei? ?ica’ycaoe iaeio caaea/o, caao?a – ?ioo, a
i?neycaao?a – ua ?ioo, ? an? aiie iaiaei??i?, oi aeieea? iio?aaa
aeei?enoiaoaaoe aeae?eueea ??ciiiai?oieo iaeao?a. Oea iiaea aeyaeoenue
aeineoue neeaaeiei.

?aaeeeaeueiei aeoiaeii c neooaoe?? ? naiino?eia ?ic?iaea i?ia?ai aeey
?ica’ycoaaiiy eiie?aoieo caaea/. Aaaeeeaeie o oeueiio aeiaaeeo ? iaaeee
oa aeina?ae i?ia?ai?noa, eiai ai?iiy neeaaeaoe aoaeoeai? oa iaae?ei?
i?ia?aie. C iiyaith iia?aoe?eii? nenoaie Windows i?eioeeiiai ci?ieeeny
iniiai? canaaee noai?aiiy i?ia?ai, ye? oaia? iiaeooue iaoe aeineiiaeee ?
no/aniee a?ao?/iee ?ioa?oaen, iiaeeeaino? i?e?aeiaiiy oa aeei?enoaiiy
noaiaea?oieo ooieoe?e Windows, i?aeo?eioaaoe ?iaioo a eieaeueieo
ia?aaeao, iai?ithaaoeny aeaieie c ?ioeie i?ia?aiaie a i?ioean?
aeeiiaiiy. Aaciina?aaei? i?ia?aioaaiiy o Windows, iiaeeeaa ia aac?
i?ia?aiieo iaeao?a, ye? oea i?aeo?eiothoue, iai?eeeaae, Borland Pascal
for Windows aai Borland C++. Iaeiae aeey ?iaioe c oaeeie iaeaoaie o?aaa
aeia?a ciaoe ia no?eueee iiao Pascal aai C++, ne?eueee Windows, a
oi/i?oa – a?ae?ioaee ooieoe?e Windows A??, ye? ? a?ii?caeeeie ? aeineoue
caieooaieie.

C iiyaith iiaiai iaeaoa Delphi ?ic?iaea i?eeeaaeieo i?ia?ai cia/ii
ni?inoeeany. Delphi iiaoaeiaa ia iiaeo canaaeao, iia’ycaieo c
iia?aoe?eiith nenoaiith Windows, ia’?eoii-i???iooaaiei i?ia?aioaaiiyi,
oaoiieia??th a?coaeueiiai i?iaeooaaiiy, oaoiieia?? ee??io/na?aa?,
aeei?enoaiiy eiiiiiaioo oiui. Iaeaaaeeea?oei ? oa, ui a na?aaeiaeu?
Delphi iiaeia noai?eoe oe?eeii no/ani? oa aoaeoeai? i?ia?aie aeey ?iaioe
a iia?aoe?ei?e nenoai? Windows, iaa?oue ia ciath/e aeaoaeae /e
iniaeeainoae Windows. ?ioei aeoaea aaaeeeaei aeinyaiaiiyi Delphi ?
oaoiieia?y a?coaeueiiai i?iaeooaaiiy. I?ia?aie aoaeothoue ia aac?
noaiaea?oeciaaieo eiiiiiaio?a.

Aieiaieie ?iai/eie aa?n?yie nueiaiaei? ? Delphi-3 oa Delphi-4. Aa?n?y
Delphi-2 oaae oe?eeii i?enoiniaaia aei aeei?enoaiiy iiaeeeainoae
iia?aoe?eii? nenoaie Windows. Delphi iiaea i?aoethaaoe a iia?aoe?eieo
nenoaiao

Windows 3.1, Windows98, Windows NT. Cae/aeii, aea? inoaii? ? no/anieie
oa iathoue a?eueoa iiaeeeainoae, ye? iiaeia aeei?enoaoe i?ae /an
?ic?iaee nai?o i?ia?ai.

Aeey ?iaioe c nenoaiith Delphi o?aaa iaoe iaaiee ??aaiue caaaeueii?
i?aeaioiaee c i?ia?aioaaiiy oa iaaeee ?ic?iaee i?ia?ai, ciaoe iiao
Object Pascal, iaoe ii/aoeia? iaaeee ?iaioe a nenoai? Windows, oiaoi
ciaoe i?i oae? aeaiaioe, ye i?eoia?aie, eiiiee, a?eia, iaith, iaeii/ania
aeeiiaiiy, noaiaea?oi? ae?aeiae, ooeaiiy oaee?a o a?ei?, ?iaioa c
ieoeith oiui. Ca a?aeaoeaie oao?aoe?a, Delphi iiaeia a?aeianoe aei
iaeiiai c iaea?eueoeo aeinyaiaiue no/anii? eiii’thoa?ii? ?iaeono???, ui
cia/ii iieaaoo? i?ioean i?ia?aioaaiiy oa ?iaeoue eiai oe?eaaei ?
i?e?iiei.

Похожие записи