Opkman: Hide "Create" button, the functionality is replaced by button "Submit".

git-svn-id: trunk@53922 -
This commit is contained in:
balazs 2017-01-11 05:40:09 +00:00
parent 7529e42389
commit 54fde57388
2 changed files with 3 additions and 1 deletions

View File

@ -390,6 +390,7 @@ object CreateRepositoryPackagefr: TCreateRepositoryPackagefr
ParentShowHint = False
ShowHint = True
TabOrder = 1
Visible = False
end
object bSubmit: TButton
Left = 248

View File

@ -164,8 +164,9 @@ begin
bCancel.Hint := rsCreateRepositoryPackageFrm_bCancel_Hint;
bSubmit.Visible := ATyp = 0;
cbJSONForUpdates.Visible := ATyp = 0;
pnB.Height := bCreate.Height + 1;
pnB.Height := bSubmit.Height + 1;
pnB.Top := (pnButtons.Height - pnB.Height) div 2;
bCreate.Visible := ATyp = 1;
FVSTPackages := TVirtualStringTree.Create(nil);
with FVSTPackages do