Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Several Questions

Posted on 1997-05-16
2
Medium Priority
?
186 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
2 Comments
 
LVL 2

Accepted Solution

by:
alona041797 earned 100 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

824 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