There are a few of ways you could do this. First of all is the application you are trying to set the window to the topmost an application that you wrote. If it is you can locate the window using the Windows API FindWindow passing in the Classname (TMyForm) getting back the windows handle...
That is not illegal! This falls under Compaq insight manager and uses a standard api created for managing resources. SMS uses this standard called Windows Management Instrumentation (WMI) to collect information about the hardware on a machine. You can find out more information on...
I have not noticed much difference in speed using ADO vs. BDE but you may want to check the column indexes on the tables you are querying. You might find that by adding a couple of indexes in the correct columns you could significantly increase the processing time. The main benefit I see to...
Checking GDI resources is done differently depending upon the operating system you are using. Are you using 95/98/Me or NT/2000?
Brett Parkhurst
brettparkhurst@uswest.net
There is a property on the TTreeview SelectOnRightClick (I believe that is the property) that turns on support for selecting a node when the node is right clicked on.
Brett Parkhurst
brettparkhurst@uswest.net
The Delphi32.dsk file is the exact file that you need to delete to fix this problem. It must store the IDE window settings and deleting it will cause the IDE window to appear again and will recreate the Delphi32.dsk file.
It is in the \Delphi5\Bin directory
Brett Parkhurst...
Unfortunately, Delphi applications are very big in size and can utilize a ton of memory depending on many different things. First of all is if you are using database connections. They tie up quite a bit of memory. I myself have many applications that tie up into the 20mb range and have...
It sounds like what you are actually looking for is something similiar to Netmeeting. Is there a reason you want to develop an application instead of looking into a third party application that already does this?
Brett Parkhurst <p>Brett Parkhurst<br><a...
Answers to each question:
1.) Button1.Font.Color := clRed;
2.) Animation1.OnClick
3.) Each time you update the label with a character in the loop that updates the character perform the following:
Label1.Repaint;
Application.ProcessMessages;
If you do not add an Application.ProcessMessages at...
To actually do this correctly you must use a timer event based on the system clock. I have written a function that will move any component from where it is to an ending TRect. You define the ending TRect (where you want the component to move to) and this function will move it to that location...
Because of the way that Paradox keeps track of database record and table locking each client must be pointing to the same PDOXUSER.NET file. I suggest putting this file on a network and pointing everyone's BDE configuration parameter to that file. This will solve the problem once and for all...
The following code could be put into a function to return you the filesize of a file.
var
SearchRec: TSearchRec;
begin
if FindFirst(ExpandFileName(FileName), faAnyFile, SearchRec) = 0 then
Result := SearchRec.Size
else Result := -1;
//close the searchrec
FindClose(SearchRec);
end...
I am not sure exactly what your code looks like but you always need to perform an edit on the dataset before you update a field and then post it. The following code is used to update a field:
with ADOTable1 do begin
Edit;
FieldByName('Field').Value := NewValue;
Post;
end;
Unless the...
I am not sure what your logic is in the OnClick event but I have not been able to reproduce your problem. Try building a new test application and put down a radio group, add two items and in the OnClick event put the following code:
ShowMessage(IntToStr(RadioGroup1.ItemIndex));
This should...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.