Usually created in the IDE application form, to create a form in this way, the form contains only one parameter has a constructor Owner. Owner refers to a form created by the owner of the pointer (usually the owner of the application object or form object). Owner can be Null. To other parameters passed to the form, create another constructor, and use the new operator to enable the form, the next example shows an additional form class constructor, it contains an extra parameter whichButton . This new constructor form themselves in to join the class.
This is a self-compiled constructor, pass an additional parameter whichButton. This constructor uses whichButton parameter to set the form's Caption property of Label control.
Constructor to create multiple instances of the form, choose the most suitable choice for the constructor. For example, the following form, call the button handler nClick create an instance of the use of additional parameters TResultsForm:
Recommended links:
Let the old computer "rejuvenation"
YUV to AVI
MPEG to MOV
Infomation Cursors And Fonts
DV To AVI
Rising Claims The Former Executives Was Leaked 2.31 Million
RUP Anti-pattern
Flexible USE of beautifully button style
I pirated your personal fight Daolian Thunder Sohu
John XINHUA Introduction Of Guangxi Sugar Set EAM2008
Lucent TECHNOLOGIES Qingdao Company
How to convert mpg to epson p-2000
Expert Printer
"The Sims 3" fun things continue to occur
Good Chat And Instant Messaging
DOS, also USE flash tips
Launchers And Task Managers Wizard
No comments:
Post a Comment