Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1176
change wingrid font size
posted

is there a way to change the grid and font size, i have two users that need eye glasses and a larger font on the grid would be helpfull

any ideas ?

Thanks.

Parents
No Data
Reply
  • 1176
    Verified Answer
    posted

    found it, thanks


        Private Sub ZoomIn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ZoomIn.Click
            If dgvLandedCost.DisplayLayout.Override.CellAppearance.FontData.SizeInPoints < 35 Then
                dgvLandedCost.DisplayLayout.Override.CellAppearance.FontData.SizeInPoints = IIf(dgvLandedCost.DisplayLayout.Override.CellAppearance.FontData.SizeInPoints < 10, 10, dgvLandedCost.DisplayLayout.Override.CellAppearance.FontData.SizeInPoints) + 2
            End If
        End Sub

        Private Sub ZoomOut_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ZoomOut.Click
            If dgvLandedCost.DisplayLayout.Override.CellAppearance.FontData.SizeInPoints >= 10 Then
                dgvLandedCost.DisplayLayout.Override.CellAppearance.FontData.SizeInPoints = dgvLandedCost.DisplayLayout.Override.CellAppearance.FontData.SizeInPoints - 2
            End If
        End Sub

Children
No Data