Turn on Default button next to the format drop down if selected format is not the default. Fixed positioning of OK and Cancel buttons

This commit is contained in:
2016-04-18 20:24:59 +00:00
parent 309ac8f303
commit 425afb365b
6 changed files with 735 additions and 652 deletions

View File

@@ -151,9 +151,12 @@ namespace VEPROMS
ppCmbxFormat.ValueMember = "FullName";
ppCmbxFormat.DataSource = FormatInfoList.SortedFormatInfoList;
if (_FolderConfig.FormatSelection != null)
{
ppCmbxFormat.SelectedValue = _FolderConfig.FormatSelection;
ppBtnDefaultFmt.Visible = true; //bug fix B2016-102 make the default button visable if other the the default format is being used
}
else
ppCmbxFormat.SelectedIndex = -1;
ppCmbxFormat.SelectedIndex = -1; // default format
// Get the saved settings for this user
//
// This setting tells us if we should display the default values on this property page