mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:59:31 +02:00
examples: fix testall example (issue #0013679)
git-svn-id: trunk@19903 -
This commit is contained in:
parent
9c665c7bc8
commit
298c34c425
@ -950,7 +950,7 @@ BitBtn1 := TBitBtn.Create(Self);
|
||||
Font.Pitch := fpDefault;
|
||||
Font.Size := 10;
|
||||
Font.Style := BitBtn1.Font.Style+[fsBold];
|
||||
Glyph.LoadFromLazarusResource('topendialog');
|
||||
LoadGlyphFromLazarusResource('topendialog');
|
||||
//height := 28; Has to be set before Glyph
|
||||
//HelpContext := 0; Identifier not found
|
||||
Hint := 'Settings for BitBtn1 >>';
|
||||
@ -2250,7 +2250,7 @@ SpeedButton1 := TSpeedButton.Create(Self);
|
||||
Hint := 'SpeedButton1';
|
||||
Color := clBtnFace;
|
||||
ShowHint := True;
|
||||
Glyph.LoadFromLazarusResource('laz_open');
|
||||
LoadGlyphFromLazarusResource('laz_open');
|
||||
Visible := True;
|
||||
end;
|
||||
|
||||
@ -2269,7 +2269,7 @@ SpeedButton2 := TSpeedButton.Create(Self);
|
||||
Hint := 'SpeedButton1';
|
||||
Color := clBtnFace;
|
||||
ShowHint := True;
|
||||
Glyph.LoadFromLazarusResource('laz_save');
|
||||
LoadGlyphFromLazarusResource('laz_save');
|
||||
Enabled := True;
|
||||
Visible := True;
|
||||
end;
|
||||
@ -2288,7 +2288,7 @@ SpeedButton3 := TSpeedButton.Create(Self);
|
||||
Hint := 'SpeedButton1';
|
||||
Color := clBtnFace;
|
||||
ShowHint := True;
|
||||
Glyph.LoadFromLazarusResource('item_font');
|
||||
LoadGlyphFromLazarusResource('item_font');
|
||||
Enabled := True;
|
||||
Visible := True;
|
||||
end;
|
||||
@ -2307,7 +2307,7 @@ SpeedButton4 := TSpeedButton.Create(Self);
|
||||
Hint := 'SpeedButton4';
|
||||
Color := clBtnFace;
|
||||
ShowHint := True;
|
||||
Glyph.LoadFromLazarusResource('tcolordialog');
|
||||
LoadGlyphFromLazarusResource('tcolordialog');
|
||||
Enabled := True;
|
||||
Visible := True;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user