Hi
I am using docking (VCL) in Delphi 7. In my main form, two other forms are docked: One vertically at the left edge, one horizontally at the bottom edge.
Problem: The form docked at the bottom edge takes the full width of the form, limiting the height of the form that is docked at the left edge.
I would like the opposite behaviour: ...
Hi,
Print Range (From Page: x To Page: y) doesn't work, the printer always print all pages!
Any workaround or solution will be appreciated.
Thanks in advance.
...
My dll have been bigger multiplied up many times than early for some reason. I'm beginning to size up the situation:
A source hasn't changed.
Debug information everywhere turned off.
Dll use package "Pack", but not include in Runtime Packages options.
I've compared new dll with old version dll thought the instrumentality of PE Explore...
I need to show a popup window before a query execution, show the time elapsed while the sql query is being executed, and close that window when the query ends.
Actually I do something like this
var
frm : tFrmPopupElapsed;
// this form has a TTimer and a TLabel to show the elapsed time
// but the label is not updated, I tried usin...
I would like a button to change a label between being visible and not visible when clicked. I Tried the following code, but it doesnt work:
Var:
Hidden : Boolean;
Begin
If Hidden = True
Then
Begin
Label6.Visible := True;
Hidden := False;
End;
If Hidden = False
Then
Begin
Label6.Vi...
How i can parse and extract the parameters from an SQL Query using delphi?
example :
from this query
SELECT * FROM MyTable
WHERE Field1=:Param1
AND Field2=:Param2
AND (Field3=:Param3 OR Field4=:Param4)
i want to obtain
Param1
Param2
Param3
Param4
Thanks in advance.
...
I have a delphi 7 form:
and my code:
when I run this form in Windows 7, I see:
In design time, form had polish letters in first label, but it doesn't have them in runtime. It looks ok on Vista or Windows XP. When I set caption of second label in code, everything works fine and characters are properly encoded.
First 5 codes of t...
Hello everyone,
I am using the TSaveDialog component to save a file from a button click. However, I am having trouble with saving on an existing file name. Generally, when you want to save over an existing file in Windows, a message box pops up asking you if you really want to overwrite the file. This is not the case with the TSaveDialo...
I have to resurrect an ancient Delphi 7 application, which means I have to use the D7 IDE. Upgrading the project to a more recent version of Delphi unfortunately isn't an option.
My new D7 installation's Run menu is missing Attach to Process. Aside from the missing menu item, the debugger works fine (I can debug normal Delphi executab...
Im trying to write a server/service that broadcasts a message on the lan ever second or so, Kind of like a service discovery.
The message needs to be received by
multiple client programs that could be
on the same machine or different
machines. But there could be more than
one program on each machine running at
the same time...
i am looking for an Delphi component to connect to an ORACLE database server in an direct way without install the oracle client.
i knew the Oracle Data Access (ODAC) from DevArt. there are any other component with this capability?
ODAC offers two connection modes to
the Oracle server: connection through
the Oracle Call Interface...
I have two files, one with webservice description (wsdl), second with data structures used in webservice (xsd). I have nothing more, webservice doesn't work yet. I need to merge them into one, because Delphi 7 WSDL Importer doesn't handle included xsd files to well. Where can I find tool to do it?
EDIT
I copied xsd content into <types>...
I am trying to store a set of values in delphi, but i want to be able to address them using their name, instead of an assigned number.
For example, an array of 'OldValues' would let me do
OldValue[1] := InflationEdit.Text;
Ideally however, i would like to have a value stored in 'Data.Inflation.OldValue' for example. For each identi...
Data.XX.NewValue := Data.XX.SavedValue;
Data.XX.OldValue := Data.XX.SavedValue;
I need to do the above a large number of times, where XX represents the value in the class. Pretending there were 3 items in the list: Tim, Bob, Steve. Is there any way to do the above for all three people without typing out the above code three times?
...
I need a Timer in a 'no form' Delphi unit (there's still a main unit with a form), so I do this:
unit ...
interface
type
TMyTimer = Class(TTimer)
public
procedure OnMyTimer(Sender: TObject);
end;
var
MyTimer: TMyTimer;
implementation
procedure TMyTimer.OnMyTimer(Sender: TObject);
begin
...
end;
initialization
MyTime...
Hello everyone.
How can I remove the . and .. from a path in Delphi (not using .NET).
I need a function, so I can pass it something like 'c:\program files..\program files...', and I want the function to return to me 'c:\'.
Can Delphi do that on its own? Or do I need to do it myself?
...
Hi,
I am trying hard to align MDIChild form to the left of the parent MDIForm setting Align:=alLeft at design time. On the Parent MDIForm is toolbar aligned to alTop. Apparently aligned MDIChild is higher than parents client area (I do not know why), that's why vertical scrollbar appears on parent form. The problem is, that I want this ...
Hi All,
I have been trying to set up local debugging for my ASP.NET app in Delphi and am getting the error above. I have used the aspnet_regiis.exe tool with the following:
Aspnet_regiis.exe -s W3SVC/1/ROOT/DevTest
but this hasn't helped. It added it to IIS as an application but I am still getting the error:
The project cannot be de...
Regarding: http://stackoverflow.com/questions/2288461/delphi-virtualstringtree-classes-objects-instead-of-records
Does the memory increases or something?
PS: I am using Delphi 2007.
...
I have an interface:
type IXMLSerializable = interface
function SaveToXML : DOMString;
function SaveToXMLDocument : IXMLDocument;
procedure LoadFromXML(AXML : DOMString);
end;
It is used to serialize some settings of forms or frames to xml.
Simple implementation:
SaveToXMLDocument:
function TSomething.SaveToXMLDocument: IXMLD...