delphi-4

Stringlist sort progress bar

谁都会走 提交于 2019-12-25 02:03:28
问题 I have a TListBox that can have a very long stringlist when loaded so I have the operator initiate a Sort by clicking a button. Sometimes the sort can take close to a minute and the operator is left wondering what's happening. Is there any way I can use a TProgressBar to show that something is happening? If so, how? OR Can I Grey (visually disabled) the screen at the start and then color back to white when the sort is completed? If so, how? Thanks 回答1: I believe that your fundamental problem

Loading Data into 420 Buttons or a simular object

感情迁移 提交于 2019-12-25 01:43:57
问题 I have a program that needs to display a seating plan for a theatre company. It want it to be able to easily display all of the seats of which there are 420. These are made up by 14 rows with 30 seats in each. I want to be able to save these back into a file. Dat or Inifile, though Inifile would be more hassle free as I already have created for settings. I want to be able to click on the seat that is show on the screen and it bring up all the information about the person who is sitting there,

Program Errors when trying to change forms

痴心易碎 提交于 2019-12-25 01:06:57
问题 I firstly created a form that will show settings. Then i created a login box that will load a password from an ini file. I originally thought that it was an error with loading the ini file. Though I have isolated it to when I load the settings form. Here is the code for all of them. The code for the settings screen: unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, inifiles; type TForm1 = class(TForm) SaveButton: TButton; AEditA:

How to install Delphi 4 in windows 7(32 bit)

…衆ロ難τιáo~ 提交于 2019-12-12 04:10:04
问题 I am trying to instal Delphi4 in windows 7. I am new to using delphi. When I tried to insatl it, following error was thrown. " config.nt. the system file is not suitable for running ms-dos and microsoft windows applications " I looked up it in google and tried following steps. I tried to check weather all the 3 files config.nt, autoexec.nt, command.com in the system32 folder. They were all present. Than I tried to write all the files getting content for each files from google and saved them

What icon resources are relevant to windows 8?

半城伤御伤魂 提交于 2019-12-11 04:37:16
问题 What icon resources are most relevant to windows 8? I have currently the largest icon in res file 48x48 x256 colors, should I have a larger one for Win8? 回答1: Nothing has changed in this area, at least for desktop apps, since Vista. In other words, you are already 5 years out-of-date. ;-) The guidelines that were introduced for Vista remain valid. For application icons the guidelines say: Application icons and Control Panel items: The full set includes 16x16, 32x32, 48x48, and 256x256 (code