Solved

Several Questions

Posted on 1997-05-16
2
183 Views
Last Modified: 2010-04-04
   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.
0
Comment
Question by:sccheung
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
alona041797 earned 50 total points
ID: 1336370
1. Use the paint method to repaint the form after updating it, and then do a Yeild (or is it spelled Yield ?)
2. You can declare an array of any object, just don't forget to create the objects before accessing them in the array.
3. There is a freeware component for this on the DSP - http://sunsite.icm.edu.pl/delphi/
4. Again, freeware component(s) available from the DSP or http://delphi32.com/
5. I need more information: what line did the error occur, give me the entire code of "onmeasureitem"
0
 

Author Comment

by:sccheung
ID: 1336371
Edited text of question
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question