I downloaded Delphi 7. I launch it, there opens a window for editing Unit1.pas. Further I click File-> New-> Application. Flies the same. If you want, look at the screenshot of this window:
Closed due to the fact that the issue is too general for the participants Pavel Mayorov , user194374, fori1ton , Kromster , Bald Jul 6 '16 at 4:52 .
Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .
|
1 answer
So it should be, there is also a form designer. This is a module of the main form, in it and write the code of your program (handlers of various events from controls). And if you want to see the source, then so: Project -> ViewSource .
- In which part exactly should I write the program code? private, public or implementation - delphikettle
- 2In general, in the implementation section of the modules - Implementation - here you need to describe the procedures and functions, and their names - depending on the level of visibility: Private - only this module can be used, Public - the procedure can be used everywhere (from this program). - DelphiM0ZG
- oneAnd, in general, as I understand it, you need: <a href=" masterlite.delphicomponent.ru/"> here </ a >. There's a video course for dummies. - DelphiM0ZG
- In general, as in Pascal. And how, for example, to display some text in this window? For example, how do I execute this code here: var buttonSelected: Integer; begin // Display a dialog with confirmation buttonSelected: = MessageDlg ('Confirmation', mtError, mbOKCancel, 0); // Show the type of the selected button if buttonSelected = mrOK then ShowMessage ('OK was pressed'); if buttonSelected = mrCancel then ShowMessage ('Cancel was pressed'); end; - delphikettle
|
ShowMessage('Hello World');
- I_CaR