To create the "Front" form, follow the steps below:
- File->New->Form – Delphi for Win32
- Object Inspector->Properties->Miscellaneous->Name->FormFront
- Object Inspector->Properties->Miscellaneous->Position->poDesigned
- Object Inspector->Properties->Layout->Autosize->True
- Object Inspector->Properties->Layout->Autoscroll->False
- Object Inspector->Properties->Layout->Scaled->False
- Object Inspector->Properties->Visual->BorderIcons->biMinimize->False
- Object Inspector->Properties->Visual->BorderIcons->biMaximize->False
- Object Inspector->Properties->Visual->BorderStyle->bsNone
Then to add the picture of the closed game, follow the steps below:
- Tool Palette->Supplement->TImage
- Object Inspector->Properties->Miscellaneous->Name->ImageFront
- Object Inspector->Properties->Localizable->Picture->Load->Front.jpg
- Object Inspector->Properties->Layout->Autosize->True
- Object Inspector->Events->Input->OnClick->ImageFrontClick
Here is the end result:
No comments:
Post a Comment