IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

June Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyPascal and Delphi Coding Board   Print This     

Delphi Object PASCAL Topic Most Active Threads

Object PASCAL language including OOP, classes, interfaces, types, methods, functions, procedures, etc.
 Show:
New Activity New Threads Oldest Unanswered Most Active Most Read
  


25 Threads:

Add New ThreadRandom Thread

Thread 25 of 25
Thread Starter  

rt
Questions, questions
Which takes precedence - the section in the project file where it gives a list of forms to be automatically created at startup or my choice of form creation via the project option selection bit? Think! , , The majority of examples in the online help use "Free" in some context when closing forms, yet hidden away in the depths of the very same online help it also says to use "Release" in preference to "Free" when closing forms as it allows for all actions to finsh before closing. I doubt if I will ever find that particular bit again, but does some clever type know the reasoning\answer? Think!
18 years ago
15 replies. Last post:

Rick Carter
{Too Long!}
18 years ago
Nothing New Since Your Last Visit
2195
Hits

Thread 24 of 25
Thread Starter  

epicurean
BDE Configuration
{Too Long!}
17 years ago
13 replies. Last post:

Mollie.H
{Too Long!}
43 days ago
Nothing New Since Your Last Visit
19175
Hits

Thread 23 of 25
Thread Starter  

Me
N00b in need of help
How to hide an application from the list with the start-menu-button on it (no, im not english)?
18 years ago
11 replies. Last post:

duffling
HI ME..., , Just a thought , you may find that your learning small chunks of delphi this way thou , as opposed to learning it from the ground up .., , just a something to think about.
18 years ago
Nothing New Since Your Last Visit
3141
Hits

Thread 22 of 25
Thread Starter  

Angel
QReport Query SQL
Now I will readily admit that I aren't the brightest candle in the shop window when it comes to SQL, so I need help (Im looking at you Mr Wehrly!)., , My report splits into four groups, each group containing a list of items for that group and their current value. I list my data using QRDBEdits and it works fine. However, I would like to exclude any items where the figure is "0.00". I figure to do this I need a QRExpr instead of the QRDBEdit but I dont know how to make it work properly with the SQL code. In delphi, I would write something like this., , if Currency((Query2.Debit - Query2.Credit)) <> 0 then , , but how to do it in Sql???, , Answer this for me and Ill get around to sending Mike my picture for the avatars. Im growing my beard as we speak!
18 years ago
10 replies. Last post:

Angel
Hmmm, I wonder whether or not you get nasty cold winters in California. I thought it was hot all year round? , , Please bear in mind that I have gleaned this information from the TV show baywatch and not from actual fact!, , In fact, I seem to remember that baywatch was pretty much a beard free zone!
18 years ago
Nothing New Since Your Last Visit
3024
Hits

Thread 21 of 25
Thread Starter  

rt
Dates
Is it possible when using a standard MaskEdit box to get the system date to appear as a default, or is there some other cunning method to do a similar thing?, rt
17 years ago
10 replies. Last post:

rt
{Too Long!}
17 years ago
Nothing New Since Your Last Visit
2281
Hits

Thread 20 of 25
Thread Starter  

hyp3n0zy5
Bizarre date/time logics
Can anyone give me an explanation as to why the following first assert fails? (i use D7), , var dt1, dt2: TDateTime;, begin, dt1 := Now;, dt2 := IncHour(dt1, 1);, Assert(HoursBetween(dt1, dt2) = 1, '1st assert!');, , dt1 := Now;, dt2 := IncHour(dt1, 2);, Assert(HoursBetween(dt1, dt2) = 2, '2nd assert!');
15 years ago
8 replies. Last post:

Wes
I cast a vote, too. The bug(s) are very well documented in this QC report, and good fixes have been suggested.  This is difinitely an area that needs attention.
11 years ago
Nothing New Since Your Last Visit
6286
Hits

Thread 19 of 25
Thread Starter  

Jarmulowicz
Pascal Database Toolbox (TAccess)
Is there a Delphi component that can read the old Borland Database Toolbox files - it was a superb fast DOS database and I want to develop a reader for some old data going back to 1978!, , Thanks, , Michael Jarmulowicz
18 years ago
8 replies. Last post:

Anonymous
S.V.P Je cherche une UNIT TACCESS.PAS qui sera compatible avec BDS 2006.Merci bien. --- saidelhani
6 years ago
Nothing New Since Your Last Visit
9849
Hits

Thread 18 of 25
Thread Starter  

Matt Verratti
waiting for video to complete
In my program, when the form first loads, I have a procedure that plays a video file. I want to wait until the file is done playing, then bring up another form. Currently my onActivate procedure looks like this:, , begin, mediaplayer1.play;, ********************************, form1.visible := False;, form2.visible := True;, end;, , The line of (*) is where I think I need to put some kind of a wait command. I have explored the delphi help topics on "mediaplayer.wait", and the "waitfor" command with no luck. , , Any ideas? Thanks in advance!
18 years ago
7 replies. Last post:

Scott
Our pleasure, Matt!, , ----------------------------------, put a nickel in your pickle and a dime in your lime.
18 years ago
Nothing New Since Your Last Visit
2602
Hits

Thread 17 of 25
Thread Starter  

MerLiN
Help with Animated Forms
Hi,, I want to make my app disappear when the user double clicks on the title bar (just like a Linux app) so all that remains is the title bar, and when they double click on the title bar again the window animates back to its former self., Can anybody help me with this?, , Merlin
17 years ago
7 replies. Last post:

merlin
{Too Long!}
17 years ago
Nothing New Since Your Last Visit
3448
Hits

Thread 16 of 25
Thread Starter  

dibefog
Arrays of char
example: 'ciao', , it is possible?!? : , , array[1]:='c';, array[2]:='i';, array[3]:='a';, array[4]:='o';, , -----------------------------------, , there is a function that get the seconds from the start of pc?, , sorry but i don't know english very well!!!!!, help me!!! I I
17 years ago
6 replies. Last post:

dibefog
thank you but i found it! Big Grin! Big Grin! , the function is: " gettickcount ", it count the milliseconds from the boot of windows., thank you for the help!!!
17 years ago
Nothing New Since Your Last Visit
2893
Hits

Thread 15 of 25
Thread Starter  

Don Simmonds
Findfirst File extensions oddity?
Can anybody please explain why Findfirst, when searching for *.htm will also find .html etc. and what please is the workaround. Was this designed for dos only when there were only three letters?, The real problem is that many web sites include duplicate files one for each of the extensions. Passing the output of Findfirst to a Stringlist with duplicates trapped will not of course solve the problem., Hopefully thanks., Don Roll Eyes
18 years ago
Nothing New Since Your Last Visit
2232
Hits

Thread 14 of 25
Thread Starter  

C.Oberhaus
Streaming compression
Hi all (again), , I've been needing to compress large chunks of data (currently stored as a 3D array of mostly integers) before saving them out to disk., , I've experimented with Streams and a neat function(s) I found on the net using the zlib compression tool to (de)compress the stream., , This all works fine - but only on small streams!! Once the stream gets bigger than about 5MB I get errors (out of memory?) even though my mem manager says plenty of mem left! , , Therefore - anybody know how to compress large amounts of data on the fly (streaming) or know anything about memory limits on streams? I've heard of 10MB+ strings...could that be an option (instead of streams?)., , ANy help greatly appreciated
19 years ago
6 replies. Last post:

C.Oberhaus
Thanks heaps for your help!, , I'll try it as soon as I can and get back to you!, , Pea
19 years ago
Nothing New Since Your Last Visit
1673
Hits

Thread 13 of 25
Thread Starter  

Outsiderz
Command line argument
I was wondering how i can make my program respond to something passed on the command like, ie: "MyProgram.exe c:\files\File.mpg" I was told elsewhere that, ParamStr is what i would have to use, but i dont understand quite how to use it, and anywhere else i asked for help, they ignored me Big Grin! , , Confused Confused Confused
18 years ago
5 replies. Last post:

darrenG
Try the following to prove the command line is OK., , procedure TForm1.FormShow(Sender: TObject);, begin , if (ParamCount > 0) and FileExists(ParamStr(1)) then , ShowMessage(ParamStr(1));, end; , , This should display the 1st commmand line agruement in a OK dialog box, thats all. If this works then the problem is with the WinMedia1 object opening the file or the file doesn't exists.
18 years ago
Nothing New Since Your Last Visit
1670
Hits

Thread 12 of 25
Thread Starter  

Rox
String Lists
Hi guys... I have this question. I'm doing this parser class using stringlists and if i add a string that is in a stringlist to another stringlist and then call Clear on the first stringlist, will the strings in the second stringlist also be deleted, since they are all pointers realy? If enyone has an idea how this works, please give me a hint.
18 years ago
5 replies. Last post:

roxdegabba
Hehe, well, my wife will be crashing on wedding night and i'm going to divorce her instantly... Who needs a wife anyway :)
18 years ago
Nothing New Since Your Last Visit
1869
Hits

Thread 11 of 25
Thread Starter  

epicurean
Delphi/paradox multi-user app
I'm looking for a tutorial on how to set-up delphi to access paradox 4.0 tables in a multi-user environment. Using Delphi 6 enterprise on a novel network. I've searched hi and low and can't find any information. Any suggestions would be greatly appreciated! Thanks in advance.
17 years ago
5 replies. Last post:

rt
AI, nice to see you, metaphorically speaking, back again Big Grin! , rt
17 years ago
Nothing New Since Your Last Visit
6671
Hits

Thread 10 of 25
Thread Starter  

dibefog
Break a loop
Can i terminate a (long) for,while,repeat loop when i'm tired to waiting for the end ,with a click on a button? , , And can i resume it after?, , thank you!!
17 years ago
4 replies. Last post:

NevilleRichards
A simple way of breaking-out of a long loop would be to have a pause button which sets a boolean pause variable, and include a test for that pause variable in the while loop (given one of the instructions which enables things to work while the loop is in progress).
17 years ago
Nothing New Since Your Last Visit
4352
Hits

Thread 9 of 25
Thread Starter  

rOobert
operations on pointers... GDI+ translating...
{Too Long!}
18 years ago
4 replies. Last post:

RobertRobichet
{Too Long!}
18 years ago
Nothing New Since Your Last Visit
2953
Hits

Thread 8 of 25
Thread Starter  

hyp3n0zy5
Creating simple PDF files
Is there a free unit, component or tutorial for creating PDF files? I only need very basic features. Just be able to insert some simple text and pictures in a PDF., If somebody has experience with a good commercial PDF product, i also like to hear. But for what i need, i hope there's something free.
15 years ago
4 replies. Last post:

Wes
{Too Long!}
12 years ago
Nothing New Since Your Last Visit
4444
Hits

Thread 7 of 25
Thread Starter  

ParaDelphi
Does Delphi support code contracts?
I was reading a bit about class contracts in Prism, does Delphi 2009 support class contracts? I've looked everywhere.
11 years ago
4 replies. Last post:

Paul.S
thanks. i have not been back in a while but wanted to say thanks for the info.,
10 years ago
Nothing New Since Your Last Visit
4310
Hits

Thread 6 of 25
Thread Starter  

Tim Oakley
eConvertError on StrtoDate won't recover
{Too Long!}
16 years ago
4 replies. Last post:

toakley
{Too Long!}
16 years ago
Nothing New Since Your Last Visit
6676
Hits

Thread 5 of 25
Thread Starter  

Me
ini files
How to save settings to a file?, If in an ini-file, how should it look?
18 years ago
4 replies. Last post:

Me
ok this is not about ini-files, but I don't want to start any more topics..., , How to check screen resolution?
18 years ago
Nothing New Since Your Last Visit
1806
Hits

Thread 4 of 25
Thread Starter  

Matt Verratti
Code to launch applications?
I have searched all through the help files included with Delphi with no luck! I am using Delphi 4 and 5, and what I need to do is pretty simple: I want a button to launch notepad with a specific file. , , Can someone either give me a sample of code that does this, or at least point me to a resource that will explain how to do it. Like I said, I searched through all the Delphi help files with no luck, but maybe I was using the wrong terminology.
18 years ago
4 replies. Last post:

impactde
Thanks Angel! You have helped me more in 10 minutes than anyone else I have communicated with during the past 7 days.
18 years ago
Nothing New Since Your Last Visit
1708
Hits

Thread 3 of 25
Thread Starter  

Matt Verratti
is this possible?
Is there a way to open a document without specifying an application to use? , , Or a way to indicate that the "default viewer" be used for the given file type? , , I guess I am trying to find a way around using the "find" function to search the user's hard drive for a particular application. I am trying to open a PDF document, and I am finding that different versions of Adobe Acrobat have different names for their exe files (some are 'acrobat.exe' and some are acrobat5.exe, etc). That is why I want to be able to say "Open this pdf with the default PDF viewer"., , Any ideas?
18 years ago
4 replies. Last post:

impactde
Thanks Scott! , That works perfectly.
18 years ago
Nothing New Since Your Last Visit
1733
Hits

Thread 2 of 25
Thread Starter  

mark duff
HELP! with file IO problem
Hello , im a realitive newbie with delphi and, am in need of some help with this.., , i wish to open an untyped file in delphi 6 , it has an *.dat extension and contains some text strings and other data inside ,, i need to be able to search thru this file for a given string , and retreive data as strings from anywhere in the file .., , I am using the blockread function and so far have managed to do this with a standard textfile, but not with the Dat file i need to read , my method was to blockread into a array of char, and to search the array for the text .. this works ok but the array is mostly blank when read from the *.dat file.., i can do this very easily in VB but not in delphi, and im stuck! .. if someone cant point me in the right direction it would help me a lot.., , any method that works suits me althou i would like to learn to use filestreams and memorystreams also.., thanks., Mark
18 years ago
4 replies. Last post:

Scott
{Too Long!}
18 years ago
Nothing New Since Your Last Visit
1900
Hits

Thread 1 of 25
Thread Starter  

WhiteWolve
How to get the subdirectories?
I have been searching a lot for a way to get the subdirectories of any directory. I haven't found a way yet so I hope you can help me.
19 years ago
4 replies. Last post:

Scott
The recursive call to [b]GetSubDirList[/b] doesn't trigger the Windows Event Handler until it returns from the last call. So "[b]Application.ProcessMessages[/b]" triggers the event handler to repaint the lines in the list box as they are being written.
18 years ago
Nothing New Since Your Last Visit
3800
Hits

New Thread
Sales Website: www.prestwood.com Or visit our legacy sales site: 
legacy.prestwood.com


©1995-2020 Prestwood IT Solutions.   [Security & Privacy]