Chat
This commit is contained in:
@@ -458,6 +458,7 @@ Public Class frmMessenger
|
||||
lblChatName.Text = "-"
|
||||
' Dim scrollMax = (MyFlowLayoutPanel1.VerticalScroll.Value = MyFlowLayoutPanel1.VerticalScroll.Maximum)
|
||||
MyFlowLayoutPanel1.SuspendLayout()
|
||||
MyFlowLayoutPanel1.Visible = False
|
||||
MyFlowLayoutPanel1.Controls.Clear()
|
||||
If CHAT IsNot Nothing Then
|
||||
CHAT.READ_ALL_MESSAGES()
|
||||
@@ -469,11 +470,11 @@ Public Class frmMessenger
|
||||
'MyFlowLayoutPanel1.AutoScrollPosition = New Point(MyFlowLayoutPanel1.Width, MyFlowLayoutPanel1.Height)
|
||||
' If MyFlowLayoutPanel1.Controls.Count > 0 Then MyFlowLayoutPanel1.ScrollControlIntoView(MyFlowLayoutPanel1.Controls(MyFlowLayoutPanel1.Controls.Count - 1))
|
||||
|
||||
|
||||
MyFlowLayoutPanel1.ResumeLayout()
|
||||
' If scrollMax Then
|
||||
MyFlowLayoutPanel1.VerticalScroll.Value = MyFlowLayoutPanel1.VerticalScroll.Maximum - 1
|
||||
|
||||
MyFlowLayoutPanel1.Visible = True
|
||||
MyFlowLayoutPanel1.VerticalScroll.Value = MyFlowLayoutPanel1.VerticalScroll.Maximum
|
||||
MyFlowLayoutPanel1.Refresh()
|
||||
|
||||
If CHAT.chat_name <> "" Then 'GRUPPENCHAT
|
||||
lblChatName.Text = CHAT.chat_name
|
||||
|
||||
Reference in New Issue
Block a user