Advertisement
Guest User

Untitled

a guest
Dec 6th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Function CellBackgroundPaint(g As Graphics, row As Integer, column As Integer) Handles CellBackgroundPaint as Boolean
  2.   #pragma Unused column
  3.   Dim x As Integer
  4.   Dim x1 As Integer
  5.   Dim y As Integer
  6.   Dim j As Integer
  7.   Dim ix As Integer
  8.   Dim iy As Integer
  9.   Dim indx As Integer
  10.   Dim p As picture
  11.   Dim xLeft As Integer
  12.   Dim xRight As Integer
  13.   Dim isRoot As Boolean
  14.   Dim icon_size As Integer
  15.   Dim theNode As treeNODE
  16.   Dim theIcon As picture
  17.   Dim cbType As Integer
  18.   Dim child_count As Integer
  19.   Dim s As String
  20.   //
  21.   If column<>0 Then Return True
  22.   //
  23.   // Adjust Column Width
  24.   //
  25.   x=Self.column(0).WidthActual+2
  26.   If (x<Self.width) Or (zRightJustified And x>Self.width) Then
  27.     Self.column(0).WidthActual=Self.width-2
  28.   End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement