mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 15:00:28 +02:00
LazDataDesktop: fixed "EResNotFound: Resource "ddconnection" not found" exception, patch by Reinier, bug #26228
git-svn-id: trunk@45207 -
This commit is contained in:
parent
31225a494f
commit
922feb68b1
@ -154,7 +154,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
P:=TPortableNetworkGraphic.Create;
|
P:=TPortableNetworkGraphic.Create;
|
||||||
try
|
try
|
||||||
P.LoadFromLazarusResource(ImageNames[i]);
|
P.LoadFromResourceName(HInstance,ImageNames[i]);
|
||||||
FImgList.Add(P,Nil);
|
FImgList.Add(P,Nil);
|
||||||
finally
|
finally
|
||||||
P.Free;
|
P.Free;
|
||||||
|
@ -169,7 +169,7 @@ begin
|
|||||||
FExportSB.Top:=4;
|
FExportSB.Top:=4;
|
||||||
FExportSB.Height:=22;
|
FExportSB.Height:=22;
|
||||||
FExportSB.Width:=22;
|
FExportSB.Width:=22;
|
||||||
P.LoadFromLazarusResource('qrybtn_export');
|
P.LoadFromResourceName(HInstance,'qrybtn_export');
|
||||||
FExportSB.Glyph.Assign(P);
|
FExportSB.Glyph.Assign(P);
|
||||||
FExportSB.Flat:=True;
|
FExportSB.Flat:=True;
|
||||||
FExportSB.OnClick:=@DoExport;
|
FExportSB.OnClick:=@DoExport;
|
||||||
@ -179,7 +179,7 @@ begin
|
|||||||
FCodeSB.Top:=4;
|
FCodeSB.Top:=4;
|
||||||
FCodeSB.Height:=22;
|
FCodeSB.Height:=22;
|
||||||
FCodeSB.Width:=22;
|
FCodeSB.Width:=22;
|
||||||
P.LoadFromLazarusResource('qrybtn_code');
|
P.LoadFromResourceName(HInstance,'qrybtn_code');
|
||||||
FCodeSB.Glyph.Assign(P);
|
FCodeSB.Glyph.Assign(P);
|
||||||
FCodeSB.Flat:=True;
|
FCodeSB.Flat:=True;
|
||||||
FCodeSB.OnClick:=@DoCode;
|
FCodeSB.OnClick:=@DoCode;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<CONFIG>
|
<CONFIG>
|
||||||
<ProjectOptions>
|
<ProjectOptions>
|
||||||
<Version Value="9"/>
|
<Version Value="9"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user