Solved

Several Questions

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 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

19 Experts available now in Live!

Get 1:1 Help Now