mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 20:38:20 +02:00
ide: add check if TFrame doesnot exits on palette (lcl and ide has been compiled with different frame defines)
git-svn-id: trunk@16086 -
This commit is contained in:
parent
5199022d0c
commit
669af5fc10
@ -894,7 +894,8 @@ var
|
|||||||
FrameComp: TRegisteredComponent;
|
FrameComp: TRegisteredComponent;
|
||||||
begin
|
begin
|
||||||
FrameComp:=IDEComponentPalette.FindComponent('TFrame');
|
FrameComp:=IDEComponentPalette.FindComponent('TFrame');
|
||||||
FrameComp.OnGetCreationClass:=@FrameCompGetCreationClass;
|
if FrameComp <> nil then
|
||||||
|
FrameComp.OnGetCreationClass:=@FrameCompGetCreationClass;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCustomFormEditor.SetSelection(
|
procedure TCustomFormEditor.SetSelection(
|
||||||
|
@ -711,7 +711,7 @@ const
|
|||||||
SBS_SIZEBOX = 8;
|
SBS_SIZEBOX = 8;
|
||||||
SBS_SIZEGRIP = $10;
|
SBS_SIZEGRIP = $10;
|
||||||
|
|
||||||
SIF_Range = 1;
|
SIF_RANGE = 1;
|
||||||
SIF_PAGE = 2;
|
SIF_PAGE = 2;
|
||||||
SIF_POS = 4;
|
SIF_POS = 4;
|
||||||
SIF_DISABLENOSCROLL = 8;
|
SIF_DISABLENOSCROLL = 8;
|
||||||
|
Loading…
Reference in New Issue
Block a user