I am new to Delphi programming. I face several problems when
programming with Delphi. Do anyone knows the solution?
1. In my newly written program (In Delphi). In my setup program, I tell the computer to update the progressbars, percentage completed and the file being copied regularly. But when I run it, I found that only the progress bar is updated. The percentage and filename is only updated at the end of the program. If I add ShowMessage('Hello')" after each update of the three things, I find that all the three things are updated successfully. Why?
2. Is there any array of TObject? For example, array of TcomboBox, array of TSpinEdit, array of TCheckBox.
3. How to encrypt and decrypt a file?
4. How to compress a file?
5. I found that a demo program in Delphi displays all the names of the fonts. The name of the fonts are displayed using the corresponding font. The style property is "lbownerdrawvariable". It use a list box to display these things. But I got error in the "onmeasureitem" event when
I use ComboBox instead of listbox. It is "EInvalidOperation". I found that in the "preferences" in Netscape Communicator Preview 4, there is a ComboBox doing the thing which I want to do successfully.