Experience in developing Delphi programmer

xiaoxiao2021-03-30  213

Experience in the development of a Delphi programmer readme: Sabine Source: CCID forum Published: 2006.01.10

[Java Zone] [Safety Zone] [Network Management Zone] [Linux Zone] [Enter Forum] [IT blog]

Generally, a programmer developing task is just a module in a project neutron project. A module is almost 5-6 forms of forms of the volume of about 2000 rows. In fact, this amount of task and graduation design are not up, it should be completed, but the development time is less, about 6-12 days of working day, not 1-2 months in the school, and other students help. So the developer's development tool, grammar, framework and library. In addition, the system platform can be understood and the algorithm requirements can be understood, know what is going on. The programmer can work proactively, not passive work. Can take the initiative to find information, ask your colleagues, and ask your colleagues to give the task unknown. I am mainly engaged in the development task of the database system front desk, so it is mainly used to use the database common components. In fact, the task of the reception of the data system is to be the most severe and always suffer from the user. Generally I developed the steps: 0 Understand Task Requirements 1 First Implementing Function 2 Exercise 3 Exercise 3 Implementing User-friendly 4 Solving User-friendly performance issues After handing over the data volume, the user is not to solve! At present, the task is tight, doing database front desk is nothing more than new deletion modifications save query statistics! The following components are used to TEdit TComboBox TListView TTreeView TCheckListBox TLabel TDBGrid TImage TMemo TButton TDBChart TPanel TMaskEdit TDateTimePicker TPageControl 1 code style only during the interview, your coding style will have an impact on the interviewer. Posters style is, of course, to comply Beautiful condition. Although there are many companies that have a style of style, I feel very bored. There is no need to force the style. Since everyone is Borland tools, it is best to follow the Borland style. 2 Component Properties Settings 1) TLABEL: AutoSize = Flase; 2) TEDIT Setup MaxLength Value default input method value 3) TcomboBox If only allows for the selection style: = csdropdownlist; sORTED: = true; when adding data to Items, this fontcombo-> items-> beginupdate () ; // prevent repainTs uncle done fontcombo-> items-> add ("xxx"); // fontcombo-> items-> endupdate (); // reenable Painting This No matter how much TLISTVIEW TTREEVIEW TDBGIR has similar data display shield function 4) TTreeView without modifying the text of the node to ReadOnly RowSelect = true; 5) TListView ViewStyle vsReport to ReadOnly RowSelect = true; if not modified 6) TPageControl PageControl1.ActivePageIndex in FormShow or Create event: = 0; 7) TDATETIMEPICKER DATEFORMAT: = DFLONG If you copy the time to Edit, edit.text: = DateTimeFormate ("YYYY-MM-DD", DateTimePicker1.date) 8) TButton To set the Cancel ModalResult Hint 3 interface layout The same components are put together And surrounded by Align, align with left and right. And the components of other containers are aligned, this is a lot of novices ignored it! Because Borland alignment tools can only give the parental container, the final giving a neat beauty. Interface layout rule 1): Complete the same or Compared with the Frame box, the common button is used to support shortcuts.

转载请注明原文地址:https://www.9cbs.com/read-130591.html

New Post(0)