|
-
Jan 25th, 2000, 10:00 PM
#1
Thread Starter
Member
My Flexgrid is working beautifully. However, how can I set a specific column width? In addition, is it possible to click on a row, then click a command button and open a new form and display that particular record?
-
Jan 26th, 2000, 06:48 AM
#2
Sure.
MSFlexGrid1.ColWidth(0) = 150
This will change the width of the first column in the MsFlexGrid.
For your second question:
Code:
Dim i As Integer
Load Form2
With MSFlexGrid1
For i = 0 To .Cols - 1
Form2.Text1(i).Text = .TextMatrix(.Row, i)
Next
End With
Form2.Show
Assuming tht Form2 has control array of Text1 (textboxes)
------------------
Serge
Programmer Analyst
[email protected]
[email protected]
ICQ#: 51055819
-
Jan 28th, 2000, 12:21 PM
#3
Thread Starter
Member
I'm not sure I understand how this snippet of code works...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|