Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
22888 | Dec 28,2004 03:17 PM UTC | Dec 29,2004 06:54 AM UTC | WinForms | 1 |
![]() |
Tags: GridControl |
Private Sub Form1_Load(sender As Object, e As System.EventArgs) Me.gridControl1.TableStyle.CellType = "FormulaCell" Me.gridControl1(1, 1).Text = "4" Me.gridControl1(1, 2).Text = "= A1 * 2" AddHandler Me.gridControl1.SaveCellInfo, AddressOf grid_SaveCellInfo End Sub ''Form1_Load Private Sub grid_SaveCellInfo(sender As Object, e As GridSaveCellInfoEventArgs) If Not (e.Style.FormulaTag Is Nothing) Then Console.WriteLine("compute value at ({0},{1}) = {2}", e.RowIndex, e.ColIndex, e.Style.FormulaTag.Text) End If End Sub ''grid_SaveCellInfo
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.