JBGrid


A grid is a user interface control that ...

Contents

Purpose

...

Samples

Public Sub Form_Load()
 
   JBGrid1.Cols = 3
   JBGrid1.Rows = 5
 
   JBGrid1.Header(0) = "First Name"
   JBGrid1.Header(1) = "Last Name"
   JBGrid1.Header(2) = "Age"
 
   Dim row As Long
   For row = 0 To JBGrid1.Rows
      JBGrid1.TextMatrix(row, 0) = "firstname_" & row
      JBGrid1.TextMatrix(row, 1) = "lastname_" & row
      JBGrid1.TextMatrix(row, 2) = "age_" & row
   Next
 
   JBGrid1.ColWidth(0) = 80
   JBGrid1.ColWidth(1) = 80
   JBGrid1.ColWidth(2) = 80
 
End Sub

Differences to VB6

Topic1 Topic2 Topic3
Item1 Item2 Item3

Reference

Retrieved from "http://www.jabaco.org/wiki/JBGrid"

This page has been accessed 7,969 times. This page was last modified on 8 June 2009, at 11:54.



This page has been accessed 7,969 times. This page was last modified on 8 June 2009, at 11:54.