Article ID: 191641
Article Last Modified on 5/12/2003
CREATE TABLE Ztest (A c(1), B c(1))
INSERT INTO Ztest (A,B) VALUES ('A', 'B')
USE 'Ztest'
F1 = CREATE('oForm')
F1.SHOW
* F1.gridcontrol.Deleted && Remove comment to see grid's Deleted
&& event fire.
READ EVENTS
DEFINE CLASS oForm AS FORM
ADD OBJECT GRIDcontrol AS myGRID
PROC INIT
DELETE
PROC DESTROY
CLEAR EVENTS
ENDDEFINE
DEFINE CLASS myGRID AS GRID
RECORDSOURCE='Ztest'
RECORDSOURCETYPE=1
PROC DELETED
LPARAMETERS nRecNo
WAIT WIND "Deleted Event Fired"
ENDDEFINE
F1.gridcontrol.Deleted
Run the example again. Note that the grid's Deleted event fires when
explicitly called with code.
Additional query words: kbVFp600bug kbVFp500abug kbVFp300bbug kbOOP
Keywords: kbbug kbnofix kbcode KB191641