Forum: General
11-25-2019, 01:58 PM
|
Replies: 2
Views: 2,280
|
Forum: General
11-01-2019, 01:58 PM
|
Replies: 5
Views: 6,157
|
Forum: General
08-23-2019, 06:14 PM
|
Replies: 3
Views: 9,179
|
Forum: General
06-12-2019, 12:43 PM
|
Replies: 2
Views: 13,494
Is Form2 guaranteed to exist when you close...
Is Form2 guaranteed to exist when you close Form1? Can Form2 be closed on its own? How many instances of Form2 can be open at the same time?
The answer to these questions will determine the best...
|
Forum: General
05-28-2019, 04:41 PM
|
Replies: 1
Views: 13,827
|
Forum: General
04-24-2019, 01:16 PM
|
Replies: 5
Views: 16,714
Since you want all the applications to have a...
Since you want all the applications to have a unique message number for MRS_WinIdentify, you should be registering the message using the windows RegisterWindowMessage function from all your...
|
Forum: General
03-17-2019, 03:35 PM
|
Replies: 7
Views: 9,409
|
Forum: General
03-15-2019, 01:01 PM
|
Replies: 7
Views: 9,409
if not (key in...
if not (key in [#48..#57,VK_BACK,VK_TAB,VK_CLEAR,VK_RETURN,VK_DELETE,VK_END,VK_HOME,VK_INSERT,VK_ESCAPE]) then
key = #0;
You'll most likely still want most other special keys to work within your...
|
Forum: General
02-25-2019, 09:35 PM
|
Replies: 7
Views: 9,409
|
Forum: General
09-30-2018, 11:11 PM
|
Replies: 1
Views: 7,542
|
Forum: General
09-19-2018, 12:50 PM
|
Replies: 2
Views: 7,405
|
Forum: General
09-06-2018, 11:32 PM
|
Replies: 4
Views: 5,595
|
Forum: General
08-31-2018, 12:43 PM
|
Replies: 5
Views: 7,729
If you are connecting to a remote database, I...
If you are connecting to a remote database, I wouldn't keep an active connection to the database. Do the connection, run the operation (query, update, insert) and disconnect.
If you still want to...
|
Forum: General
08-21-2018, 12:39 AM
|
Replies: 4
Views: 4,639
|
Forum: General
08-20-2018, 05:36 PM
|
Replies: 4
Views: 4,639
|
Forum: DB-Aware
08-14-2018, 03:49 PM
|
Replies: 1
Views: 19,441
|
Forum: General
08-09-2018, 12:43 PM
|
Replies: 2
Views: 2,715
Here...
Here (https://en.wikibooks.org/wiki/Algorithm_Implementation/Checksums/Verhoeff_Algorithm#Pascal/Delphi) is an implementation of the verhoeff algorithm in Delphi.
You could call this function from...
|
Forum: General
07-12-2018, 12:50 PM
|
Replies: 8
Views: 2,440
The code you have above will fail miserably if...
The code you have above will fail miserably if you have a multi-user database (such as MySQL, Oracle, MSSQL, Postgres). Even if it's not currently designed as a multi-user interface, you would have...
|
Forum: VCL
07-02-2018, 08:11 PM
|
Replies: 4
Views: 2,630
the split code would be something like this...
the split code would be something like this (untested)
procedure TForm1.SplitFile(const TheFile: String);
var
maxSplitPart: Integer;
InFS: TFileStream;
OutFS: TFileStream;
I: Integer;...
|
Forum: VCL
07-02-2018, 01:16 AM
|
Replies: 4
Views: 2,630
I believe that D7 can handle files that large...
I believe that D7 can handle files that large using TFileStream. To ensure, Check the definition of a TFileStream property such as Position and ensure it is defined as an Int64. (I don't have D7...
|
Forum: General
06-12-2018, 05:09 PM
|
Replies: 6
Views: 1,952
|
Forum: VCL
06-11-2018, 07:13 PM
|
Replies: 2
Views: 2,453
I believe the first issue can be fixed by...
I believe the first issue can be fixed by changing
ItmIndx := lstProdOD.items[lstProdOD.ItemIndex]; //you are always selecting the SAME item, ItemIndex returns the index of the selected row
to
...
|
Forum: General
05-04-2018, 03:24 PM
|
Replies: 1
Views: 1,364
I assume you actually mean overload, not...
I assume you actually mean overload, not override. Overload allows two (or more) functions/procedures to have the same name but having different signatures (parameter list). A DLL exports its...
|
Forum: General
04-26-2018, 01:03 PM
|
Replies: 11
Views: 2,107
|
Forum: General
04-15-2018, 01:40 AM
|
Replies: 2
Views: 1,451
|
Forum: General
04-15-2018, 01:36 AM
|
Replies: 2
Views: 1,214
simply use the DBGrid's OnMouseUp (don't use...
simply use the DBGrid's OnMouseUp (don't use OnMouseDown) to check if the X value of the Mouse Click is within the gutter of the DBGrid.
procedure TForm1.DBGrid1MouseUp(Sender: TObject; Button:...
|
Forum: General
01-31-2018, 04:00 PM
|
Replies: 6
Views: 1,942
|
Forum: General
11-13-2017, 08:19 PM
|
Replies: 2
Views: 2,565
what you need is StringToColor...
what you need is StringToColor (http://docwiki.embarcadero.com/Libraries/XE3/en/Vcl.Graphics.StringToColor)
There's also ColorToString...
|
Forum: General
11-02-2017, 08:03 PM
|
Replies: 6
Views: 3,821
|
Forum: General
11-01-2017, 02:33 PM
|
Replies: 8
Views: 3,401
|
Forum: General
10-31-2017, 07:10 PM
|
Replies: 8
Views: 3,401
|
Forum: General
10-30-2017, 07:47 PM
|
Replies: 5
Views: 2,671
|
Forum: General
10-26-2017, 02:37 PM
|
Replies: 3
Views: 2,199
|
Forum: General
10-24-2017, 02:10 PM
|
Replies: 4
Views: 2,536
|
Forum: General
10-05-2017, 02:37 PM
|
Replies: 2
Views: 2,004
|
Forum: General
09-12-2017, 04:09 PM
|
Replies: 3
Views: 3,256
|
Forum: General
09-11-2017, 04:19 PM
|
Replies: 3
Views: 3,256
|
Forum: General
08-25-2017, 07:57 PM
|
Replies: 4
Views: 3,138
What you are looking for is a global keyboard...
What you are looking for is a global keyboard hook and you would have to implement that in a DLL and call the DLL from your application. Just google
global keyboard hook example
and there are...
|
Forum: General
08-07-2017, 07:22 PM
|
Replies: 2
Views: 5,197
Don't use a FDTable, use a query component...
Don't use a FDTable, use a query component instead and select the substring of gms_verb.
substr(gms_verb, 1, <#of char to return>)
set the sql property of the query to something like:
select...
|
Forum: General
06-07-2017, 02:44 PM
|
Replies: 19
Views: 7,396
Not sure which version of Delphi you're using,...
Not sure which version of Delphi you're using, but if you have XE2 or better, are you sure you have the correct dlls. If you are compiling for x64, then you need the x64 version of the dlls, or x86...
|
Forum: General
06-05-2017, 04:04 PM
|
Replies: 3
Views: 5,776
How to you intend to implement something like...
How to you intend to implement something like this? You have an INFINITE number of idle moments within your application (not quite infinite but you get the idea), do you intend to launch an...
|
Forum: General
05-26-2017, 04:05 PM
|
Replies: 19
Views: 7,396
|
Forum: General
04-10-2017, 03:12 PM
|
Replies: 3
Views: 3,085
|
Forum: General
02-27-2017, 02:07 PM
|
Replies: 5
Views: 3,142
Your function is flawed.
A function MUST...
Your function is flawed.
A function MUST return a value.
1) if '(FldDest.DataType=ftBoolean)' evaluates FALSE, then your function never sets Bool thus FldDest.AsBoolean:=Bool; is...
|
Forum: VCL
02-19-2017, 08:10 PM
|
Replies: 4
Views: 2,727
|
Forum: VCL
02-17-2017, 01:55 PM
|
Replies: 4
Views: 2,727
|
Forum: General
02-06-2017, 02:58 PM
|
Replies: 2
Views: 2,457
|
Forum: General
02-01-2017, 08:14 PM
|
Replies: 7
Views: 2,153
Yes it can handle these features - but so can...
Yes it can handle these features - but so can RichEdit...
TRichView can save the file to rtf, and it also can save the file as a rvf format that TRichView defines. As to exporting to PDF, they...
|
Forum: General
02-01-2017, 01:52 PM
|
Replies: 7
Views: 2,153
|
Forum: General
01-13-2017, 04:18 PM
|
Replies: 7
Views: 3,133
|