Solved

Several Questions

Posted on 1997-05-16
2
168 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 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now