mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 16:29:38 +02:00
lcl: set default values for properties of TMenuItem
git-svn-id: trunk@18012 -
This commit is contained in:
parent
5f3e254b15
commit
bbd473e2ef
@ -101,6 +101,8 @@ begin
|
||||
FCommand := UniqueCommand;
|
||||
FImageIndex := -1;
|
||||
FBitmapIsValid := True;
|
||||
FRightJustify := False;
|
||||
FShowAlwaysCheckable := False;
|
||||
|
||||
FImageChangeLink := TChangeLink.Create;
|
||||
FImageChangeLink.OnChange := @ImageListChange;
|
||||
|
@ -258,11 +258,11 @@ type
|
||||
stored IsImageIndexStored default -1;
|
||||
property RadioItem: Boolean read FRadioItem write SetRadioItem
|
||||
default False;
|
||||
property RightJustify: boolean read FRightJustify write SetRightJustify;
|
||||
property RightJustify: boolean read FRightJustify write SetRightJustify default False;
|
||||
property ShortCut: TShortCut read FShortCut write SetShortCut
|
||||
stored IsShortCutStored default 0;
|
||||
property ShowAlwaysCheckable: boolean read FShowAlwaysCheckable
|
||||
write SetShowAlwaysCheckable;
|
||||
write SetShowAlwaysCheckable default False;
|
||||
property SubMenuImages: TCustomImageList read FSubMenuImages
|
||||
write SetSubMenuImages;
|
||||
property Visible: Boolean read FVisible write SetVisible
|
||||
|
Loading…
Reference in New Issue
Block a user