fixed a focus bug dealing with an accessory page
This commit is contained in:
@@ -910,17 +910,17 @@ namespace VEPROMS
|
||||
infotabTags.Visible = true;
|
||||
//vlnStackTrace.ShowStack("enter tc_ItemSelectedChanged {0}", _CurrentItem);
|
||||
}
|
||||
else if (args.MyStepItem.MyItemInfo.IsSection || args.MyStepItem.MyItemInfo.IsProcedure)
|
||||
{
|
||||
// if the current item is a section or procedure, user cannot
|
||||
// insert a transition or ro:
|
||||
infotabTransition.Visible = false;
|
||||
infotabRO.Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
//vlnStackTrace.ShowStack("enter tc_ItemSelectedChanged {0}", _CurrentItem);
|
||||
infotabRO.Visible = infotabTransition.Visible = infotabTags.Visible = true;
|
||||
if (args.MyStepItem.MyItemInfo.IsSection || args.MyStepItem.MyItemInfo.IsProcedure)
|
||||
{
|
||||
infotabRO.Visible = infotabTransition.Visible = false;
|
||||
infotabTags.Visible = true;
|
||||
}
|
||||
else
|
||||
infotabRO.Visible = infotabTransition.Visible = infotabTags.Visible = true;
|
||||
|
||||
//vlnStackTrace.ShowStack("enter tc_ItemSelectedChanged {0}", _CurrentItem);
|
||||
// When infotabTags is set to Visible, the matching panel also needs to be set to visible
|
||||
// the other panels will appear as they are selected by the user.
|
||||
infotabControlPanelTags.Visible = true;
|
||||
|
Reference in New Issue
Block a user