Questions tagged [delphi-5]

Delphi 5 is a specific version of Delphi. It was released in August 1999. Use this tag for issues related to development in Delphi, version 5.

Delphi 5 is a specific version of Delphi.

Delphi 5 codename is Argus.

Delphi 5 was preceded by Delphi 4 and succeeded by Delphi 6.

395 questions
0
votes
1 answer

SQLite and/or Zeos causing crash with win8

just copying a system (been working for years on win7) over to win8 and everything runs (9 other programs) except the two apps that use SQLite3. This was built using D5ent and ZEOS 6.6. Can't go to Zeos 7 as it will not compile in D5 and I really…
user2220358
  • 123
  • 3
  • 10
0
votes
1 answer

Listbox multiselect losing focus with OnKeyUp

I have Two listboxes and both with Multiselect:=True. I have a popup menu that Copy/Paste to/from the Clipboard for the selected items. All works as intended. I wanted to add keyboard CtrlC (Copy) and Ctrl+V (Paste) but after selecting items, then…
user2373289
  • 51
  • 1
  • 2
  • 5
0
votes
2 answers

Listbox "Click" not registering - how to fix?

I have two Listbox on a form that are populated at runtime. I have an OnClick event that changes the color (plus a bunch of other things) of the "Selected" listbox so that I know which one is active for the user. It all works just fine if the user…
user2373289
  • 51
  • 1
  • 2
  • 5
0
votes
1 answer

Please help how to send images from client to server?

This is my server's coding procedure TForm1.IdTCPServerExecute(AThread: TIdPeerThread); var InputString: string; ACommand: string[1]; AFileName: string; ATempFileName: string; AFileStream: TFileStream; begin InputString :=…
Artisan
  • 4,042
  • 13
  • 37
  • 61
0
votes
1 answer

Wizard style: How to close the current modal dialog and open the next modal dialog in the button handler?

My application has an administration dialog that can be reached via a login dialog (both modal). On the login dialog, the user enters his password, then clicks ok. In the ok button handler, I am calling Self.Close(), then AdminForm.ShowModal(). The…
Reto Höhener
  • 5,419
  • 4
  • 39
  • 79
0
votes
1 answer

How can I use a DBLookupComboBox to select a foreign key value without immediately changing the target table? (Delphi 5 Pro)

Basic Scenario: User clicks 'edit item' Edit dialog opens A combobox 'item type' should be populated with items form a table 'item_type'. The combobox should display 'item_type.name', but also know about 'item_type.id' User edits other item stuff…
Reto Höhener
  • 5,419
  • 4
  • 39
  • 79
0
votes
1 answer

Why AddGantt or AddGanttColor returns the same index for different invocations?

For some reason for certain cases when adding gantts to a TGanttSeries instance using method AddGanttColor or AddGantt the same index is returned for two different calls. For example, the following snippet illustrates the case where the last two…
01es
  • 5,362
  • 1
  • 31
  • 40
0
votes
2 answers

Is there a Delphi 5 compiler (dcc32.exe) or IDE switch/option to change the language of the executable?

I'm maintaining an old Delphi 5 program, built with Delphi 5 Professional German. The problem is that all dialogs and error messages of the created executable appear in German, even on an English Windows with location set to something like the US or…
Reto Höhener
  • 5,419
  • 4
  • 39
  • 79
0
votes
2 answers

Custom painting of a gantt in TGanttSeries

I've got a need to draw gantts that consist of two subsections -- one painted with a brush that has a custom bitmap, and another simply coloured in some specified colour. These subsections have variable length, which makes it impossible to have a…
01es
  • 5,362
  • 1
  • 31
  • 40
0
votes
2 answers

D5 library folder (not the Library Paths)

just had a crash with an SSD (a days work went missing!) and have had to go back to a HDD. I have just installed D5 on the HDD and would like to try and find the Library Paths file so I can just copy it all across. There are about 40 Path-entries in…
user2373289
  • 51
  • 1
  • 2
  • 5
0
votes
1 answer

Using bookmarks with filtered query

I need help with the following problem. I have a dbgrid, the underlying query is filtered. I want to apply a new filter but stay at the same row number in the dbgrid. Here is my code: with qrProperties do begin ... MyPoint:=GetBookmark; …
Rick77
  • 241
  • 3
  • 21
0
votes
0 answers

DBGrid and force the DBMemo to SetFocus on MouseWheel

I have two Controls on a form, a TDBGrid and a TDBMemo both linked to the same DataSource. When the user scrolls the DBGrid th Row with focus displays the contents of a letter in the memo. All good. I am getting complaints about an annoyance, which…
user2175495
0
votes
2 answers

DGRid showing Selected but no Bookmark

Just found a weirdness with D5 and/or Zeos. I have a TDBgrid and DataSet. I have a "Delete" function to delete selected Rows of the DBGrid. If I Ctlr-Left-click to select Row (or Rows) it all works fine, but... if I use the Vertical Scrollbar…
user2220358
  • 123
  • 3
  • 10
0
votes
2 answers

Delphi 5 DB Aware ComboBox ItemIndex Not Updating

So I have a DBAware combobox and my problem is this. If I do: ComboBox.ItemIndex := 0; Then even though visually it shows an item in the combobox being selected, the following still returns true. Query.FieldByName('field').IsNull Basically what…
0
votes
1 answer

I need a DBGrid OnAfterCellClick

I have three DBGrids and three Tables, and two of them are linked with Master Fields and work as expected. When the user clicks on grid-1, it shows three items in grid-2. When the user clicks on grid-2, I want to use Locate to select the Row in…
user2175495