PapaOne
asked on
About FarPoint's Spread Clipboard
Hi,
I want to know if it's possible to clip the datacell just before the user makes a change in a vaSpread control... something like BeforeChangeDataCell( ). Because, I'm trying give the possibility to the user to cancel is modification without makes an SQL Query.
thanks.
I want to know if it's possible to clip the datacell just before the user makes a change in a vaSpread control... something like BeforeChangeDataCell( ). Because, I'm trying give the possibility to the user to cancel is modification without makes an SQL Query.
thanks.
ASKER
hmmm... I was not clear! I'm trying againt.
Okay, we got a spread's grid and one button on a form. The button give the possibility to the user to retrieve the old value who was in the cell before the modification (i.e. cancel the modification).
Example: When the user push the "Escape key" to void his modificaitions in the cell, the cell retreive is old value.
All I want is catch this cell value.
Is that possible to tell to the spread to catch the cell value just before the user makes change (automatically)?
thks!
Okay, we got a spread's grid and one button on a form. The button give the possibility to the user to retrieve the old value who was in the cell before the modification (i.e. cancel the modification).
Example: When the user push the "Escape key" to void his modificaitions in the cell, the cell retreive is old value.
All I want is catch this cell value.
Is that possible to tell to the spread to catch the cell value just before the user makes change (automatically)?
thks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
or try this
Private Sub Spread_EnterRow(ByVal Row As Long, ByVal RowIsLast As Long)
End Sub
Private Sub Spread_EnterRow(ByVal Row As Long, ByVal RowIsLast As Long)
End Sub
ASKER
or I try this,
when the user click on the cell, the cell value will be copied in the celltag! And if the user need the old value, he just have to bring back the value of the celltag.
that it!
so thks for all!
when the user click on the cell, the cell value will be copied in the celltag! And if the user need the old value, he just have to bring back the value of the celltag.
that it!
so thks for all!
Command1.Caption = "Copy"
Command2.Caption = "Cut"
Command3.Caption = "Paste"
End Sub
Private Sub Command1_Click()
fpSpread1.ClipboardCopy
fpSpread1.ClearSelection
End Sub
Private Sub Command2_Click()
fpSpread1.ClipboardCut
fpSpread1.ClearSelection
End Sub
Private Sub Command3_Click()
fpSpread2.ClipboardPaste
End Sub
try doing it in user change