Solved

Several Questions

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month5 days, 3 hours left to enroll

635 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