'전체보기' 상태일 때만 그룹헤더의 [Null Balance] 팝업 정보가 표시되도록 변경
This commit is contained in:
@@ -1721,12 +1721,17 @@ namespace vmsnet.HMI
|
||||
열번호 = 0;
|
||||
줄번호 = 0;
|
||||
}
|
||||
|
||||
if (grp.Showinfo) infogrp = grp;
|
||||
else DrawGroup(g, grp, new Point(0, 0), new SizeF(WINDOW.ITEMWIDTH, WINDOW.ITEMHEIGHT), WindowRect, 열번호, 줄번호, false, visible);
|
||||
//else
|
||||
//{
|
||||
DrawGroup(g, grp, new Point(0, 0), new SizeF(WINDOW.ITEMWIDTH, WINDOW.ITEMHEIGHT), WindowRect, 열번호, 줄번호, false, visible);
|
||||
//}
|
||||
|
||||
idx += 1;
|
||||
}
|
||||
if (infogrp != null)
|
||||
DrawGroup(g, infogrp, new Point(0, 0), new SizeF(WINDOW.ITEMWIDTH, WINDOW.ITEMHEIGHT), WindowRect, infogrp.열번호, infogrp.줄번호, false, true);
|
||||
|
||||
if (infogrp != null) DrawGroup(g, infogrp, new Point(0, 0), new SizeF(WINDOW.ITEMWIDTH, WINDOW.ITEMHEIGHT), WindowRect, infogrp.열번호, infogrp.줄번호, false, true);
|
||||
|
||||
//end group
|
||||
//}
|
||||
@@ -1778,7 +1783,7 @@ namespace vmsnet.HMI
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
base.OnPaint(e);
|
||||
//this.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
|
||||
try
|
||||
{
|
||||
@@ -2036,26 +2041,29 @@ namespace vmsnet.HMI
|
||||
else Mouseinfo.Hand = true; //잡은형태
|
||||
}
|
||||
|
||||
//마우스가 현재 그룹헤더에 존재하는지확인 (헤더에 올경우 특정 정보를 표시)
|
||||
if (!Mouseinfo.Hand && !Mouseinfo.Move)
|
||||
{
|
||||
int tpidx = Check_GroupHeader(e, true);
|
||||
if (tpidx != -1)
|
||||
if (this.FullScreen)
|
||||
{ /* 작성자: 이재웅, 작성일: 2024-12-04, 작성내용: '전체보기' 상태일 때만 그룹헤더의 [Null Balance] 팝업 정보가 표시되도록 변경 */
|
||||
|
||||
//마우스가 현재 그룹헤더에 존재하는지확인 (헤더에 올경우 특정 정보를 표시)
|
||||
if (!Mouseinfo.Hand && !Mouseinfo.Move)
|
||||
{
|
||||
Mouseinfo.Hand = true;
|
||||
this.GROUPS[tpidx].Showinfo = true;
|
||||
//this.showHeaderInfo = true;
|
||||
int tpidx = Check_GroupHeader(e, true);
|
||||
if (tpidx != -1)
|
||||
{
|
||||
Mouseinfo.Hand = true;
|
||||
this.GROUPS[tpidx].Showinfo = true;
|
||||
//this.showHeaderInfo = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//마우스가 현재 그룹에 존재하는지?
|
||||
if (!Mouseinfo.Hand && !Mouseinfo.Move)
|
||||
{
|
||||
int tpidx = Check_Group(e);
|
||||
if (tpidx != -1)
|
||||
//마우스가 현재 그룹에 존재하는지?
|
||||
if (!Mouseinfo.Hand && !Mouseinfo.Move)
|
||||
{
|
||||
Mouseinfo.Hand = true;
|
||||
int tpidx = Check_Group(e);
|
||||
if (tpidx != -1)
|
||||
{
|
||||
Mouseinfo.Hand = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user