Forum: General
04-24-2009, 11:06 AM
|
Replies: 1
Views: 953
RE: quickreport
Quick Report is standard component. Just call the Free method to destroy
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: General
04-23-2009, 03:51 PM
|
Replies: 4
Views: 1,287
RE: SynEdit Question...
Yes, you may customize the default colors/fonts only but not keywords (depends from language)
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: General
04-23-2009, 09:42 AM
|
Replies: 4
Views: 1,287
RE: SynEdit Question...
Each highlight have the own implementation/rules for text highlighting. For example, code for Delphi and html will be drawn by different rules. But properties in Object Inspector are same.
The...
|
Forum: General
04-23-2009, 09:40 AM
|
Replies: 2
Views: 1,129
RE: crosstabs/statistical routines
In past we used the DecisionCube and ole-automation for MS Excel (there are pivot tables)
Now we use the PivotCube in our projects
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: General
04-23-2009, 09:39 AM
|
Replies: 9
Views: 1,210
RE: Help With Online Chatting program?
Just spli this sample project on two parts - TServerSocket in server side and TClientSocket in client side
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: General
04-22-2009, 09:28 PM
|
Replies: 9
Views: 1,569
RE: Delphi 64
You may use the FreePascal - there is 64 compiler
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: General
04-22-2009, 09:27 PM
|
Replies: 9
Views: 1,210
RE: Help With Online Chatting program?
I sent the sample to you privately by email
PS: this project have both server and client part in same project
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: General
04-22-2009, 05:07 PM
|
Replies: 6
Views: 2,285
RE: Bring my app to the top
Do you call the Excel from main form? If not, call the BringToFront for your form instead main form.
As alternative, try to call the
Application.BringToFront;
With best regards, Mike Shkolnik...
|
Forum: VCL
04-22-2009, 04:34 PM
|
Replies: 1
Views: 3,860
|
Forum: General
04-22-2009, 04:18 PM
|
Replies: 9
Views: 1,210
RE: Help With Online Chatting program?
I already answered on same question a week ago:
Check the sample project in {Delphi}\DEMOS\Internet\Chat directory
If you have no such directory, post your email address and somebody will send...
|
Forum: General
04-22-2009, 01:25 PM
|
Replies: 6
Views: 2,285
|
Forum: General
04-22-2009, 10:19 AM
|
Replies: 6
Views: 2,285
RE: Bring my app to the top
xls := CreateOLEObject('Excel.Application');
...
xls.Visible := True
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: General
04-22-2009, 09:44 AM
|
Replies: 7
Views: 1,194
RE: Problem with debugging 1 unit
We have the large unit (4-5Mb, 100 000 lines, >200 classes and interfaces) with generated code from database
This unit I can't debug in Delphi 7 but have no any problem with debug in BDS 2007
...
|
Forum: General
04-22-2009, 09:40 AM
|
Replies: 7
Views: 1,194
RE: Problem with debugging 1 unit
We have the large unit (4Mb, 100 000 lines, >200 classes and interfaces) with generated code from database.
This unit can't be debuuged in Delphi 7 but in D2007 I have no problems with debug.
...
|
Forum: General
04-22-2009, 08:17 AM
|
Replies: 7
Views: 1,194
RE: Problem with debugging 1 unit
I had the same problem with large unit in Delphi 7.
You have two ways to solve a problem:
- split the unit on a few small parts
- move/upgrade to Delphi 2007
No other methods.
With best...
|
Forum: General
04-22-2009, 08:15 AM
|
Replies: 1
Views: 952
RE: Like Strings in Delphi
var
i: Integer;
strInListBox: string;
begin
strInListBox := yourListBox.Items[yourListBox.ItemIndex];
IndexFound := -1;
for i := 0 to 11 do
if Pos(LangList[i], strInListBox) > 0...
|
Forum: General
04-21-2009, 10:45 PM
|
Replies: 1
Views: 779
|
Forum: General
04-20-2009, 07:07 PM
|
Replies: 3
Views: 1,493
|
Forum: General
04-17-2009, 08:39 AM
|
Replies: 22
Views: 3,731
RE: Access Violation
Are you sure that dmc variable is not nil? Check in debugger.
Also - what database do you use? In what server this statement (select current_date) is valid?
With best regards, Mike Shkolnik...
|
Forum: DB-Aware
04-16-2009, 09:03 PM
|
Replies: 8
Views: 2,432
|
Forum: DB-Aware
04-16-2009, 08:15 PM
|
Replies: 8
Views: 2,432
RE: show Like words in database in dbgrid
Add the loPartialKey flag in Locate method:
if ADOTable1.Locate('name',edit3.Text ,[loPartialKey]) then begin
...
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: DB-Aware
04-16-2009, 08:14 PM
|
Replies: 17
Views: 2,936
|
Forum: General
04-16-2009, 06:33 PM
|
Replies: 5
Views: 1,179
RE: reg. query
Show your SQL-statement with filter expression.
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: DB-Aware
04-16-2009, 06:33 PM
|
Replies: 17
Views: 2,936
RE: The search results in the DBGrid2
Are you sure that Edit3.text contain the string which is stored in your records (name or tell fields)?
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: DB-Aware
04-16-2009, 06:02 PM
|
Replies: 17
Views: 2,936
RE: The search results in the DBGrid2
Use the next code for OnClick event for your Button2:
ADOTable1.Filtered := False;
ADOTable1.Filter := Format('(Name = "%s") OR (Tell = "%s")',[Edit3.Text, Edit3.Text]);
ADOTable1.Filtered :=...
|
Forum: DB-Aware
04-16-2009, 09:21 AM
|
Replies: 2
Views: 2,503
RE: DBGrid, OnCalcFields and ApplyUpdates
You do not need call the Post in OnCalcFields event. All what you need is to return the value for calculated field(s):
Dataset.FieldByName('yourFieldName').AsString := 'yourValue';
With best...
|
Forum: General
04-16-2009, 07:57 AM
|
Replies: 1
Views: 743
RE: More Searched Word in database
The Locate() method will return the first occurence always. If you need search the next (second, third etc), you need iterate thru dataset and compare the values:
procedure...
|
Forum: General
04-16-2009, 07:52 AM
|
Replies: 2
Views: 906
RE: Performance of ADO Components
Do you have the bad performance to execute the sql-statement (long time to execute) or to fetch the records from server to client?
If first (long time to execute sql), then create the indexes,...
|
Forum: General
04-16-2009, 07:48 AM
|
Replies: 1
Views: 913
|
Forum: General
04-16-2009, 07:47 AM
|
Replies: 1
Views: 898
RE: print preview from database
Just create the report form (QucikReport or Rave Reports) and call the Preview method for these reports in your OnClick events for buttons
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: DB-Aware
04-14-2009, 10:52 AM
|
Replies: 2
Views: 2,165
RE: Creating Tree view nodes using TdxDBGrid
In TdxBDGrid you can't display the hierarchy. There you may show the grouping but not hierarchy.
For your task you need use the TdxDBTreeList
With best regards, Mike Shkolnik...
|
Forum: General
04-09-2009, 03:11 PM
|
Replies: 2
Views: 784
|
Forum: General
04-09-2009, 01:29 PM
|
Replies: 3
Views: 1,245
RE: Monitor files in a directory?
This information is available from driver only. From application you can't access this info.
Some time ago I wrote the Delphi tool (GUI) with similar task where I used the FileMon driver from...
|
Forum: General
04-08-2009, 11:18 PM
|
Replies: 1
Views: 4,541
|
Forum: General
04-08-2009, 11:06 AM
|
Replies: 4
Views: 1,459
|
Forum: General
04-08-2009, 09:28 AM
|
Replies: 4
Views: 1,459
|
Forum: General
04-07-2009, 04:19 PM
|
Replies: 5
Views: 2,414
RE: size of RichEdit
You need use the EM_FORMATRANGE message for richedit:
var
fmtRange: TFormatRange;
...
FillChar(fmtRange, SizeOf(fmtRange), 0);
with fmtRange do
begin
hDC :=...
|
Forum: General
04-07-2009, 03:02 PM
|
Replies: 5
Views: 1,094
|
Forum: General
04-07-2009, 03:00 PM
|
Replies: 5
Views: 2,414
RE: size of RichEdit
Do you need the width/height in pixels? Or what size do you ask?
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: General
04-07-2009, 12:02 PM
|
Replies: 4
Views: 1,741
|
Forum: General
04-07-2009, 09:57 AM
|
Replies: 4
Views: 1,335
RE: Filter is not working
For null value use:
ndsLoadFunctionSecurityCache.Filter := '(FunctionName IS NULL)';
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: General
04-07-2009, 09:55 AM
|
Replies: 4
Views: 1,543
RE: TDataset filter
Always use the brackets:
TDataset.filter := '(Field1 = 5) and (Field2 = 10)'
With best regards, Mike Shkolnik
http://www.scalabium.com
|
Forum: General
04-07-2009, 08:50 AM
|
Replies: 4
Views: 1,741
|
Forum: General
04-07-2009, 08:47 AM
|
Replies: 3
Views: 1,614
RE: reg. reso;ution
The form have the ScaleBy method which you may call to scale your form to adjust the current resolution.
As alternative you may apply the Scaled property in True - VCL will do it without your code...
|
Forum: General
04-07-2009, 08:34 AM
|
Replies: 2
Views: 947
RE: Hmmm... No results.
Use the next code:
procedure TForm1.RefreshLangExecute(Sender: TObject);
var I : Integer;
begin
Listbox1.Clear;
With ADOTable2 do
begin
Open;
First;
|
Forum: General
04-06-2009, 11:38 AM
|
Replies: 8
Views: 2,013
|
Forum: General
04-06-2009, 08:31 AM
|
Replies: 8
Views: 2,013
|
Forum: General
04-05-2009, 09:56 PM
|
Replies: 8
Views: 2,013
|
Forum: General
04-05-2009, 07:00 PM
|
Replies: 8
Views: 2,013
|
Forum: General
04-01-2009, 11:12 PM
|
Replies: 5
Views: 4,767
RE: MD5 Digest to String
If you use the MD5 from FranGois PIETTE, check the GetMD5 and StrMD5 functions in this unit
With best regards, Mike Shkolnik
http://www.scalabium.com
|