Bryan - Gendev
Programmer
I am using Ramani's grid class in my prg files to create grids. I have other classes to respond to mouse clicks in a particular column.
I can only use one class definition for a column so my question is - can I have more than one procedure in a class as below?
An example for one column below
<code>
With .Column10
.ControlSource = 'EDITING_.NEWPATH'
.Header1.Caption= 'NewPath'
.AddObject("mycmd","gs_newpath")<<<<<<<<<<<<
.Sparse = .F.
.CurrentControl = "mycmd"
.ReadOnly = .F.
.Width = 60
Endwith
Define Class gs_newpath As TextBox <<<<<<<<<<<
Procedure DblClick
... some work here
endproc
Procedure Click
... some work here
endproc
enddefine
</code>
Thanks in anticipation
GenDev
I can only use one class definition for a column so my question is - can I have more than one procedure in a class as below?
An example for one column below
<code>
With .Column10
.ControlSource = 'EDITING_.NEWPATH'
.Header1.Caption= 'NewPath'
.AddObject("mycmd","gs_newpath")<<<<<<<<<<<<
.Sparse = .F.
.CurrentControl = "mycmd"
.ReadOnly = .F.
.Width = 60
Endwith
Define Class gs_newpath As TextBox <<<<<<<<<<<
Procedure DblClick
... some work here
endproc
Procedure Click
... some work here
endproc
enddefine
</code>
Thanks in anticipation
GenDev