Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 500
Search took 0.53 seconds.
Search: Posts Made By: Jasser
Forum: General 11-20-2019, 10:16 AM
Replies: 1
Views: 2,730
Posted By Jasser
See those two links they may help you: ...

See those two links they may help you:

https://www.swissdelphicenter.ch/en/showcode.php?id=2162
https://www.swissdelphicenter.ch/en/showcode.php?id=1498
Forum: General 04-21-2018, 01:56 PM
Replies: 3
Views: 1,295
Posted By Jasser
See those links: ...

See those links:

http://www.swissdelphicenter.ch/en/showcode.php?id=1473
http://www.swissdelphicenter.ch/en/showcode.php?id=1629
Forum: General 10-25-2017, 02:05 PM
Replies: 6
Views: 3,821
Posted By Jasser
Hi, Are talking about run-time or...

Hi,

Are talking about run-time or design-time? Could you explain more?
Forum: General 10-24-2017, 02:32 PM
Replies: 4
Views: 2,535
Posted By Jasser
See...

See http://www.swissdelphicenter.ch/en/showcode.php?id=998
Forum: General 08-27-2017, 03:06 PM
Replies: 4
Views: 3,138
Posted By Jasser
See ...

See
http://www.swissdelphicenter.ch/en/showcode.php?id=1722
Forum: General 05-14-2017, 03:18 PM
Replies: 5
Views: 4,255
Posted By Jasser
Try "OnItemIndex".

Try "OnItemIndex".
Forum: General 05-14-2017, 02:32 PM
Replies: 5
Views: 4,255
Posted By Jasser
I don't have Delphi right now but move your code...

I don't have Delphi right now but move your code to "OnItemSelect" event (if I can remember the right name).
Forum: General 04-10-2017, 12:22 PM
Replies: 3
[SOLVED] DOS Output
Views: 3,083
Posted By Jasser
I don't think this can be done in Real Time.

I don't think this can be done in Real Time.
Forum: General 04-06-2017, 09:00 AM
Replies: 2
Views: 3,545
Posted By Jasser
Below are some code that you may use: ...

Below are some code that you may use:

http://www.swissdelphicenter.ch/en/showcode.php?id=92
http://www.swissdelphicenter.ch/en/showcode.php?id=1183...
Forum: General 04-06-2017, 08:59 AM
Replies: 2
Views: 3,545
Posted By Jasser
The latest Delphi versions comes with new...

The latest Delphi versions comes with new components that provide more functionality that the old ones.

What version of Delphi are you using?
Forum: General 04-06-2017, 08:55 AM
Replies: 1
Views: 3,571
Posted By Jasser
Try to get the drive type and remove CD drive...

Try to get the drive type and remove CD drive from the list. To get the drives types see the below link:

http://www.swissdelphicenter.ch/en/showcode.php?id=92
Forum: General 02-09-2017, 07:31 AM
Replies: 9
Views: 2,977
Posted By Jasser
How about using TADOQuery to search the data. ...

How about using TADOQuery to search the data. Use the below SQL clause inside the TADOQuery :

SELECT UserName, PassWord FROM TheTableName WHERE UserName = :TheUserNameThatWasEntered
Forum: General 12-05-2016, 12:07 PM
Replies: 4
Views: 2,728
Posted By Jasser
See...

See http://www.swissdelphicenter.ch/en/showcode.php?id=149


Simply keep calling the function in that link in maybe a timer or a thread.
Forum: General 10-20-2016, 07:20 AM
Replies: 4
Views: 2,321
Posted By Jasser
What does do when it start? Try to debug...

What does do when it start?


Try to debug it line by line to see which code takes long. That is the simplest method to achieve that.
Forum: General 10-12-2016, 09:32 AM
Replies: 6
Views: 3,145
Posted By Jasser
Using the code in the link that Norrit's post: ...

Using the code in the link that Norrit's post:

You may need to add a TImage component and TADOQuery to your entry form then when you click the open dialog button your code should be something like...
Forum: General 10-09-2016, 12:58 PM
Replies: 3
Views: 2,190
Posted By Jasser
See the below link: ...

See the below link:

http://delphi.about.com/od/indy/a/email-send-indy.htm


In your case it should be something like this:


IdSMTP1.Host := 'Put the host name here';
IdSMTP1.Port := 25;
Forum: General 10-05-2016, 04:51 PM
Replies: 3
Views: 1,896
Posted By Jasser
I think this is the best way. Just make...

I think this is the best way.


Just make sure you have the right indexes to support your query.

You may need to involve the DB administrator to help you on best way to run an SQL query.
...
Forum: General 10-05-2016, 12:21 PM
Replies: 3
Views: 1,896
Posted By Jasser
By building an SQL statement based on the values...

By building an SQL statement based on the values entered in the TEdit's. Similar to the code that you use in the filter.
Forum: General 10-02-2016, 02:42 PM
Replies: 12
Views: 3,394
Posted By Jasser
In your case the field (In RED) should be "pret"....

In your case the field (In RED) should be "pret".

Put the code in the form that has the table/component "comenzi".
Forum: General 10-02-2016, 02:38 PM
Replies: 4
Views: 1,826
Posted By Jasser
I do not see any reason for using two data...

I do not see any reason for using two data modules unless maybe if you are using different types of databases in the same application then you can use one data module for each database components.
Forum: General 10-02-2016, 07:26 AM
Replies: 12
Views: 3,394
Posted By Jasser
Use the same code that I posted before. On the...

Use the same code that I posted before. On the other hand, you can use a TLabel or TEdit to show the sum. I prefer to use a TLabe.
Forum: General 10-02-2016, 07:23 AM
Replies: 4
Views: 1,826
Posted By Jasser
<<Do I have to add those 4 new components on...

<<Do I have to add those 4 new components on another Data Module>>

No...put them all on the same Data Module.
Forum: General 09-28-2016, 09:21 AM
Replies: 22
Views: 5,873
Posted By Jasser
I can see what you are writing. You must be...

I can see what you are writing. You must be having a problem with your browser.
Forum: General 09-28-2016, 08:50 AM
Replies: 12
Views: 3,394
Posted By Jasser
Then you have to loop the dataset to get the...

Then you have to loop the dataset to get the total (It's not as good as using SQL). You can reach that using "AfterPost" event. Do the following:

1- Take a Bookmark of the record.
2- Go to the...
Forum: General 09-27-2016, 08:54 AM
Replies: 12
Views: 3,394
Posted By Jasser
I assume whenever the data in the dataset is...

I assume whenever the data in the dataset is added/updated/deleted the total of the column will change. Therefore, it can be done in different ways depending on the type of the Dataset.

In my...
Forum: General 09-27-2016, 08:33 AM
Replies: 12
Views: 3,394
Posted By Jasser
Ok.. What is the type of the DataSet...

Ok..

What is the type of the DataSet connected to the grid (Table/Query or memory table...etc) please give full details?
Forum: General 09-27-2016, 06:36 AM
Replies: 12
Views: 3,394
Posted By Jasser
Is this going to editable grid or read only grid?

Is this going to editable grid or read only grid?
Forum: General 09-26-2016, 03:24 PM
Replies: 7
[SOLVED] File Search
Views: 1,924
Posted By Jasser
OOP is not really necessary all the times for...

OOP is not really necessary all the times for simple tasks. Some time the performance price comes with it.
Forum: General 09-26-2016, 10:56 AM
Replies: 7
[SOLVED] File Search
Views: 1,924
Posted By Jasser
I've being using this procedure (which I wrote...

I've being using this procedure (which I wrote myself) for more than 12 years ago. However, I can easily customize it to search the whole drive, but never needed to do that.
Forum: General 09-26-2016, 08:04 AM
Replies: 7
[SOLVED] File Search
Views: 1,924
Posted By Jasser
If you want to include the file path with the...

If you want to include the file path with the name of the file then use the below procedure with the same previous example:


Procedure GetFileList(aFiles : TStringList; sPath : string; sMask :...
Forum: General 09-26-2016, 07:47 AM
Replies: 7
[SOLVED] File Search
Views: 1,924
Posted By Jasser
Use the below function which load certain files...

Use the below function which load certain files with certain mask into a TStringlist:

Procedure GetFileList(aFiles : TStringList; sPath : string; sMask : string = '*.*');
var
iIndex ...
Forum: General 09-05-2016, 10:08 AM
Replies: 7
Views: 10,914
Posted By Jasser
"Clear" will delete ALL lines not only the empty...

"Clear" will delete ALL lines not only the empty ones. Try the next line:


Memo1.Lines.Text := StringReplace(Memo1.Lines.Text,Char(13)+Char(10)+Char(13)+Char(10),'',[rfReplaceAll]);

Or
...
Forum: General 08-24-2016, 07:28 AM
Replies: 6
Views: 2,075
Posted By Jasser
Your original question is: <<how to copy...

Your original question is:

<<how to copy line by line from one memo to another memo or into richedit.>>


And now you are asking how to copy them all once!!!

Why do you keep asking...
Forum: General 07-24-2016, 06:04 AM
Replies: 1
[SOLVED] lastchoice
Views: 1,595
Posted By Jasser
First name the edit boxes like this (Edi1, Edit2,...

First name the edit boxes like this (Edi1, Edit2, Edit3,....Edit9) and then use "OnCreate" and "OnClose" events of the form to save and load the values as shown below:


procedure...
Forum: General 07-24-2016, 05:53 AM
Replies: 1
Views: 1,714
Posted By Jasser
I think it's better to post this question and any...

I think it's better to post this question and any other questions related to Intraweb in the below link:

https://forums.embarcadero.com/forum.jspa?forumID=93
Forum: General 07-20-2016, 06:43 PM
Replies: 5
Views: 1,722
Posted By Jasser
I left Delphi 7 long time ago... There...

I left Delphi 7 long time ago...


There and should things may changed since that time.


However, you could use updated components from the same company!
Forum: General 07-20-2016, 03:13 PM
Replies: 5
Views: 1,722
Posted By Jasser
I don't think you can.

I don't think you can.
Forum: General 07-07-2016, 06:27 PM
Replies: 5
[SOLVED] Path space
Views: 1,743
Posted By Jasser
Again...misleading question!!!

Again...misleading question!!!
Forum: General 07-07-2016, 03:39 PM
Replies: 5
[SOLVED] Path space
Views: 1,743
Posted By Jasser
The file must have an extension.

The file must have an extension.
Forum: General 07-02-2016, 10:02 PM
Replies: 8
Views: 2,184
Posted By Jasser
See...

See http://delphi.about.com/od/windowsshellapi/a/dll_basics.htm
Forum: General 07-02-2016, 08:31 PM
Replies: 8
Views: 2,184
Posted By Jasser
See my last post. It's so easy. Better/easier ...

See my last post. It's so easy. Better/easier than using streams.
Forum: General 07-02-2016, 08:24 PM
Replies: 8
Views: 2,184
Posted By Jasser
However, you can save it to an external file and...

However, you can save it to an external file and later load it again.

Memo1.Lines.SaveToFile('C:\MyFile.txt');

//and later load it again:

Memo1.Lines.LoadFromFile('C:\MyFile.txt');
Forum: General 07-02-2016, 08:09 PM
Replies: 8
Views: 2,184
Posted By Jasser
I don't think you can save it back.

I don't think you can save it back.
Forum: General 06-30-2016, 08:32 PM
Replies: 23
[SOLVED] Progress
Views: 3,672
Posted By Jasser
Are you trying to type only 100 letters inside...

Are you trying to type only 100 letters inside the richedit?
Forum: General 06-30-2016, 05:42 PM
Replies: 23
[SOLVED] Progress
Views: 3,672
Posted By Jasser
Robert, What exactly are you doing with the...

Robert,

What exactly are you doing with the progress bar and the rich edit?

Give a complete explanation of what you are trying to achieve. Forget about the code. Tell us your needs only.
Forum: General 06-30-2016, 12:20 PM
Replies: 23
[SOLVED] Progress
Views: 3,672
Posted By Jasser
Switch the two lines: richedit...

Switch the two lines:


richedit .seltext:=('waiting '+ edit.text); //<<== this line first.
application.Processmessages; <<== this line comes as the second
Forum: General 06-30-2016, 11:12 AM
Replies: 23
[SOLVED] Progress
Views: 3,672
Posted By Jasser
This code should work...but as Norrit said...

This code should work...but as Norrit said how/where are you using it?
Forum: General 06-29-2016, 11:09 AM
Replies: 6
[SOLVED] reading after:
Views: 1,713
Posted By Jasser
@Norrit ;) Best Regards,

@Norrit ;)

Best Regards,
Forum: General 06-29-2016, 09:18 AM
Replies: 6
[SOLVED] reading after:
Views: 1,713
Posted By Jasser
Use the belwo function to search for the key...

Use the belwo function to search for the key names to get the values:

Function GetKeyValue(oSL : TStringlist; const sKeyName : String) : String;
var
i : Integer;
begin
Result...
Forum: General 06-28-2016, 12:19 PM
Replies: 1
Views: 2,505
Posted By Jasser
Set the "Style" prporty to "csOwnerDrawFixed" and...

Set the "Style" prporty to "csOwnerDrawFixed" and then use "OnDrawItem" event like this:

procedure TForm6.ComboBox2DrawItem(Control: TWinControl; Index: Integer; Rect: TRect; State:...
Showing results 1 to 50 of 500

 
Forum Jump

All times are GMT. The time now is 08:08 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.