Delphi Programming Guide
Delphi Programmer 

Menu  Table of contents

Part I - Foundations
  Chapter 1 – Delphi 7 and Its IDE
  Chapter 2 – The Delphi Programming Language
  Chapter 3 – The Run-Time Library
  Chapter 4 – Core Library classes
  Chapter 5 – Visual Controls
  Chapter 6 – Building the User Interface
  Chapter 7 – Working with Forms
Part II - Delphi Object-Oriented Architectures
  Chapter 8 – The Architecture of Delphi Applications
  Chapter 9 – Writing Delphi Components
  Chapter 10 – Libraries and Packages
  Chapter 11 – Modeling and OOP Programming (with ModelMaker)
  Chapter 12 – From COM to COM+
Part III - Delphi Database-Oriented Architectures
  Chapter 13 – Delphi's Database Architecture
  Chapter 14 – Client/Server with dbExpress
  Chapter 15 – Working with ADO
  Chapter 16 – Multitier DataSnap Applications
  Chapter 17 – Writing Database Components
  Chapter 18 – Reporting with Rave
Part IV - Delphi, the Internet, and a .NET Preview
  Chapter 19 – Internet Programming: Sockets and Indy
  Chapter 20 – Web Programming with WebBroker and WebSnap
  Chapter 21 – Web Programming with IntraWeb
  Chapter 22 – Using XML Technologies
  Chapter 23 – Web Services and SOAP
  Chapter 24 – The Microsoft .NET Architecture from the Delphi Perspective
  Chapter 25 – Delphi for .NET Preview: The Language and the RTL
       
  Appendix A – Extra Delphi Tools by the Author
  Appendix B – Extra Delphi Tools from Other Sources
  Appendix C – Free Companion Books on Delphi
       
  Index    
  List of Figures    
  List of tables    
  List of Listings    
  List of Sidebars  

 
Previous Section Next Section

Index

S

safe code, 908–909
safecall calling convention, 471, 664
SafeLoadLibrary function, 408
SameValue function, 89
sample1embedded.xml file, 865–866
SampProv driver, 617
Save Code Template dialog box, 451
Save method in MDI applications, 314
SaveDialog component, 288
SavePictureDialog component, 288
SavePoint property, 515
SaveStatusForm unit, 331, 333
SaveToFile method, 128, 510–511, 645
SaveToStream method
in TBlobField, 139
in TStream, 137
saving
application status information, 331–332
compiler options, 28–29
desktop settings, 5–6
DFM files, 19
docking status, 238
SAX (Simple API for XML), 850–853, 853, 872–873
SaxDemo1 example, 850–853, 853, 872
scalability and cursor location, 630
Scale example, 275–276
ScaleBy method, 275–276
Scaled property, 275–276
scaling forms, 274–277
schema information
in ADO, 622–623, 623
in Jet, 628
in XML, 849–850
SCHEMA.INI file, 627
SchemaObject parameter, 578
SchemaPattern parameter, 578
SchemaTest example, 579, 579
SchemaType parameter, 578
ScktSrvr.exe application, 650
scope in Automation, 476–477
screen
refreshing, 266–267, 660
size of, 299
Screen example, 299–302, 300
Screen object, 299–302, 300
ScreenSnap property, 269
scripts
for adapters, 797–798
for Rave, 731–732, 732
server-side, 791–793, 792
Scroll1 example, 271–272, 272
Scroll2 example, 273–274, 273
ScrollBar component, 172
ScrollBox component, 173
scrolling forms, 270–271
automatic, 272–273
coordinates in, 273–274, 273
example, 271–272, 272
messages for, 377
SDI (Single Document Interface), 310
sealed keyword, 924–925
search actions, 224
search application for HTTP, 751–754
search engines, 785–786, 786
search path setting, 347
search results, 9–10
search utility, 33
searches, case-insensitive, 602–603
searching window lists, 308–309
second-level message handlers, 369
secondary forms, 280
adding, 280
creating, 281–282
SecondaryShortCut property, 222
SecondOfWeek function, 91
Section component, 723–724
security
client/server programming for, 557
in COM+, 494, 496
in Web pages, 493
SelAttributes property, 164
SelCount property, 167
SELECT statement, 628–629
SelectDirectory function, 103
Selected property, 167
SelectedColor property, 419
SelectedRows property, 542
selecting components
in Form Designer, 18
referenced by properties, 20
SelectNextPage method, 204
Self keyword, 46–47
self pointer, 70, 125
SelItem property, 379
semicolons (;)
for connection strings, 620
in SELECT, 628
Sender object, 228
sending data
database requests, 547–549, 548
to Excel tables, 479
mail, 748
over socket connections, 744–747, 747
to Word, 479
SendList program, 748, 749
SendMessage function, 304
SendResponse method, 784
SendStream method, 784
SendToDb example, 548–549, 548
separators for toolbars, 213
sequences
diagrams for, 433–434, 433
in Oracle, 565
server constraints, 657–658
server-side cursors, 629, 636
server-side programming, 564–565
server-side scripts, 791–793, 792
server-side support components for DataSnap, 653
server socket connections, 740
ServerAddress property, 745
ServerGUID property, 655
ServerName property, 655
servers
Automation, 470, 470
code for, 472–473
in components, 477–478, 477
registering, 473–474
type-library editor for, 470–472, 471
service providers, 618
Services file, 740
Session component, 793
SessionCount property, 246
sessions
in Web applications, 821–823, 823
in WebSnap, 805–806, 807
SessionService component, 805–806
Set methods in TAXForm1, 491
set operations on lists, 128
Set_Value method, 473
SetAbort method, 497
SetBookmarkData method, 696–697
SetBookmarkFlag method, 696
SetBounds method
in TControl, 159
in TMdArrow, 361
in TMdRecordView, 680
SetCapture function, 264
SetChangeFormFont method, 344
SetComplete method, 497
SetData method, 414, 702
SetDataField method
in TMdDbProgress, 672–673
in TMdDbTrack, 676
SetDataSource method
in TMdDbProgress, 672
in TMdDbTrack, 676
SetDirection method, 359–360
SetFieldData method
in TMdDataSetOne, 702–703
in TMdDirDataset, 706
SetFirstName method, 353
SetForegroundWindow function, 307, 309
SetLabel method, 354
SetLines method, 379–380
SetLinesPerRow method, 684
SetMemoryManager function, 84, 334
SetMoreData method, 384
SetOleFont method, 478
SetOleStrings function, 478
SetOptionalParameter method, 668
SetPen method, 363
SetPropValue method, 419
SetRecNo method, 698
SetRoundMode function, 90
SetSchemaInfo method, 578–579, 579
SetShareData method, 414
SetSubComponent method, 351, 357–358
SetText method, 356
SetTextLineBreakStyle function, 85
setTimeout function, 823
Settings page, 836
SetValue method
in TDate, 51
in TSoundProperty, 390
SetViewer method, 356
SetWindowLong function, 298, 317
SetWindowOrgEx function, 274
SetYear method, 51
SharedConnection component, 653
ShareMem unit, 95–96, 405–406, 409
sharing data with memory-mapped files, 413–414, 415
ShellExecute function, 212, 750
shift-state modifiers, 262
shortcut keys, 16
ShortCut property, 222
Show Compiler Progress option, 30
Show Component Captions setting, 19
Show method, 280, 286, 820
ShowApp example, 297–298
ShowColumnHeaders property, 191
ShowException method, 75–76
ShowForm method, 606
ShowFrame method, 329
ShowHints property, 183
ShowInfoProc function, 426–427
Showing property, 159
ShowMainForm property, 297
ShowMessage function, 289, 403
ShowMessageFmt method, 289
ShowMessagePos method, 289
ShowModal method, 280, 282, 285, 411
ShowSender method, 106
ShowStatus method, 751, 754
ShowStringForm method, 252
ShowTotal method, 305–306
Sign function, 89
signals in Qt, 162
Simple API for XML (SAX), 850–853, 853, 872–873
Simple Mail Transfer Protocol (SMTP), 740
Simple Object Access Protocol (SOAP), 876, 889–892
Simple Security Controller option, 726
SimpleDataSet component, 573–574, 576
SimpleMemTest unit, 335–336
SimpleObjectBroker component, 667
SimplePanel property, 217
SimpleRoundTo function, 90
SimpleText property, 217, 751
Single Document Interface (SDI), 310
single-instance secondary forms, 281–282
single instancing, 463
single page access rights, 808
single-threaded Apartment model, 463
Single threading model, 463
Single type, 478
size
components, 19
controls, 159
executables, 82–83
fonts, 276–277
forms, 269
screen, 299
Size property, 136
sLineBreak constant, 85
SmallImages property, 189
SmallInt type, 478
Smith-Ferrier, Guy, 615
SMTP (Simple Mail Transfer Protocol), 740
SMTP component, 748
SN SDK, 916
Snap To Grid option, 18
SnapBuffer property, 269
snapping to screen, 269
SOAP (Simple Object Access Protocol), 651, 876, 889– 892
SOAP-based solutions, 651
SOAP headers, debugging, 887–888, 888
Soap Server Data Module, 889
SoapConnection component, 889
SoapDataClient example, 891
SoapDataServer example, 890
SoapEmployee example, 886–887, 887
SoapEmployeeIntf unit, 883
SOAPServerIID property, 891
socket programming, 737–739
connections in, 740
for database data, 744–747, 747
domain names in, 739
high-level protocols in, 740
Indy components in, 741–744, 744
IP addresses in, 739
ports in, 739–740
SocketConnection component, 652
sort by directive, 573
SortFieldNames property, 573
sorting in ListView, 191
SortType property, 191
Sound button, 371–372
sound properties editor, 388–392, 390–391
SoundDown property, 388
soundex algorithm, 91–92
SoundUp property, 388
source code files, 27–28, 38–39
Source Doc Generation page, 445
Source Doc Import page, 445
Source Options page, 10, 15
special characters in XML, 834
special keys, messages for, 376
speed
in Automation, 476
in library selection, 155
Splash example, 290, 292
splash screens, 289–292, 290
Splash1 example, 290–291
Splash2 example, 291–292
Split1 example, 180, 180
Split2 example, 181
SplitH example, 181
SplitLong method, 786
Splitter component, 180
splitting forms, 180–181, 180
SQL Links drivers, 507
SQL Monitor tool, 33
SQLClientDataSet component, 574
SQLConnection component, 569–572, 571, 575, 589
SQLDataSet component, 573, 803
SqlMon.exe tool, 33
SQLMonitor component, 574, 576–577, 577
SQLOLEDB driver, 617
SQLTimeStampToStr function, 574
stacks, 131–132, 398
Standalone mode in IntraWeb, 815
Starkey, Jim, 561–562
startDocument event, 850, 852
startElement event, 850, 852, 872
StartID property, 830
StartTransaction method, 589–590
state diagrams, 434
state of windows, 268–269
State property
in CheckBoxList, 169
in datasets, 524–525, 701
state-setter commands, 173
StateImages property, 189
static binding, 63
static cursors, 630–631
static linking, 397–398
static members, 925–926
static methods, 70
StaticListAction component, 248–249
StaticSynchronize method, 305
Statistics page, 773
status
of ClientDataSet records, 585, 585
of datasets, 524–525
status bars, 217–219, 218, 718–719
StatusBar component, 217
StatusFilter property, 586
stdcall calling convention
for DLLs, 399
for Web services, 880
stdcall directive, 402
StdConvs unit, 91, 96
StdCtrls unit, 152
StdVCL library, 478
Stop on Delphi Exceptions options, 74
store and paint approach, 266
stored directive, 344
stored procedures, 564–565
StoreDefs property, 511
StoredProc component, 507
StoredProcName property, 573
StoreRAV property, 719
Str function, 83
StrDemo example, 92
StreamDSDemo example, 703–704, 704
streaming, 135
classes for, 137–138
compressing, 145–146, 145
custom, 142–145
TReader and TWriter, 139–140
TStream, 135–137
vs. code generation, 113–114
files, 138–139
persistency in, 140–142, 141
string lists
in Automation, 478
for combo boxes, 169
for CSS, 797
for memo lines, 164
for properties, 52
StringFromGuid2 function, 459
StringReplace method, 512
strings
comparisons with, 91–92
conversions with, 86–87, 187–188
in Delphi for .NET Preview, 920–921
exporting from DLLs, 404–406
for lists, 128–129
memory for, 58
opaque, 538
unit for, 91–93
URL, 752
in XML, 837
StringToColor function, 188
StringToFloatSkipping method, 370–371
StringToGUID function, 459
StringValuesList component, 794
StripParamQuotes property, 760
strong name assemblies, 916
StrToBool function, 86
StrUtils unit, 91–93
stub routines, 70
style sheets, 764–765, 797, 859
StyleRule property, 797, 859
styles and Style property
in Application, 219
for CLX, 219–220, 220
in ColorBox, 169
in ComboBox, 168
for forms, 254
borders, 254–256, 254
windows, 257–259, 258
in InetXPageProducer, 859
for list boxes, 187
in ModelMaker, 452
in TMdFontCombo, 343
in TToolButton, 213
Styles string list, 797
StylesDemo program, 219–220, 220
StylesFile property, 797, 859
subclassing, 317–318
subcomponents, publishing, 350–352, 352
SubMenuImages property, 174
Support function, 87
SupportCallbacks property, 652
SupportedBrowsers property, 814
Supports function, 424
Supports transactions option, 495
surrogate keys, 559
symbols
code completion for, 15
defining, 156
in diagrams, 435
synchronization classes, 86
Synchronize method
in TFindWebThread, 751
in TThread, 305–306
SyncObjs unit, 148
Syntax Helper option, 488
syntax of XML, 834–835
SysConst unit, 85–86
SysInit unit, 84–85
system colors, 160
system data in IBX, 599–600, 599
system-level interfaces, 615
system tables, 578
System unit, 84–85
SysUtils unit, 85–88, 102–104, 103–104

 
Previous Section Next Section


 


 

Delphi Sources


Copyright © 2004-2024 "Delphi Sources" by BrokenByte Software. Delphi Programming Guide
ร๐๓๏๏เ ยส๎ํ๒เ๊๒ๅ   Facebook   ั๑๛๋๊เ ํเ Twitter