布尼夫平面按钮:选定的属性问题(取消选择本身)



当我单击按钮时,bt.selected = True有效,但是当我移动鼠标光标时,按钮取消选择.. 我该怎么办?

我正在使用 Bunifu 1.5.3 和 Devexpress 框架

      Private Sub btnNavi_Dashboard_Click(sender As Object, e As EventArgs) Handles btnNavi_Dashboard.Click, btnNavi_AddStudent.Click, btnNavi_Dept.Click, btnNavi_Sched.Click, btnNavi_StudentInfo.Click, btnNavi_ViewAcct.Click
          Dim bt As BunifuFlatButton = DirectCast(sender, BunifuFlatButton)
          bt.selected = True
      End Sub

将 IsTab 属性启用为 true

Private Sub btnNavi_Dashboard_Click(sender As Object, e As EventArgs) Handles btnNavi_Dashboard.Click, btnNavi_AddStudent.Click, btnNavi_Dept.Click, btnNavi_Sched.Click, btnNavi_StudentInfo.Click, btnNavi_ViewAcct.Click
          Dim bt As BunifuFlatButton = DirectCast(sender, BunifuFlatButton)
          bt.selected = True
          bt.isTab= True
      End Sub

相关内容

  • 没有找到相关文章

最新更新