Input and Output Interfaces Chapter 4 Input and Output Interfaces Windows Programming, C.-S. Shieh, KUAS EC, 2005
Windows Programming, C.-S. Shieh, KUAS EC, 2005 VCL Components We concern VCL components’ Properties Design Time, Run-Time Only Methods Events Make good use of online help. Get third-party VCL components. Windows Programming, C.-S. Shieh, KUAS EC, 2005
Windows Programming, C.-S. Shieh, KUAS EC, 2005 VCL Components (cont) 4.1 TForm 4.2 TLabel 4.3 TButton 4.4 TEdit Windows Programming, C.-S. Shieh, KUAS EC, 2005
Windows Programming, C.-S. Shieh, KUAS EC, 2005 TMemo Prosperities Lines (TStrings) Methods Clear() Windows Programming, C.-S. Shieh, KUAS EC, 2005
Windows Programming, C.-S. Shieh, KUAS EC, 2005 TStrings Methods Add(), SaveToFile(), LoadFromFile() Windows Programming, C.-S. Shieh, KUAS EC, 2005
Windows Programming, C.-S. Shieh, KUAS EC, 2005 TCanvas Properties Font (TFont) Methods TextOut() Windows Programming, C.-S. Shieh, KUAS EC, 2005
Windows Programming, C.-S. Shieh, KUAS EC, 2005 TFont Properties Size (int), Color (TColor) Windows Programming, C.-S. Shieh, KUAS EC, 2005
Windows Programming, C.-S. Shieh, KUAS EC, 2005 Useful Functions Time(), Date() StrToInt(), StrToFloat() IntToStr(), FloatToStr() ShowMessage() InputBox() Application->MessageBox() Windows Programming, C.-S. Shieh, KUAS EC, 2005