I have 4 consecutive panels with 3 splitters in the middle. The 1st / 2nd / 3rd pane: align = alLeft, the 4th pane: align = alClient .
[1] | [2] | [3] | [4]
Now the user wants, then
I have 4 consecutive panels with 3 splitters in the middle. The 1st / 2nd / 3rd pane: align = alLeft, the 4th pane: align = alClient .
[1] | [2] | [3] | [4]
Now the user wants, then
I have this code:
TServer = class
private
fOnMsgFromServer: TProc< String, String, String>;
public
procedure RegisterOnMsgFromServer(aCallBack: TProc);
procedure Execute;
end;
procedure TS
In a multi-monitor environment, I want to be able to get the current monitor and active monitor to save the information when I close the form, and when I reopen the form in the future, the form wil
1. Make the minimize button gray:
setwindowlong(handle,gwl_style,getwindowlong(handle,gwl_style) and not ws_minimizebox);
2. Make the maximize button gray:
setwindowlong(handle,gwl_style,getwindowl
I have a column with only “Yes” and “No” values.
I think if the column value is “Yes”, only the cell background color will be red
Otherwise “No” and the background color is yellow
But this code co
I transferred my project from Delphi to Lazarus. In a form, I have a private method with a parameter var Active: Boolean. It’s okay in Delphi, but Lazarus gives an error : Repeat the identifier “Ac
I am developing an application that runs on multiple databases, many of which have their own way to refer to reserved words as field names, such as
such as< /p>
select `key` from mytable or
I have the following simple code to convert a clipboard image to bmp and then to png:
if Clipboard.HasFormat (CF_PICTURE) then
begin
bitmap := TBitmap.Create;
png := TPNGImage.Create;
try
We hope to migrate from Delphi 7.0 to Delphi 2009 in order to keep pace with modern IDEs and current technologies. Our target platform is .NET. What is the best way to achieve this goal? I will
I want to know if there is an exception/error, which will cause your code to jump to an except block but will not be processed by the E: exception.
try
i := StrToInt(s);
{…do a lot more..