on 03-27-2007 5:34 PM
Hi all
i wish to cause a matrix to add rows when pressing on the down arrow key. can you provide me with the lines of code which achieve this requirement?
appreicate the help
Yoav
Hi Yechiel,
I think you can capture the moment of the pressing the down arrow key. in that moment, you can utilize this code to add the line. I used DBDataSource. it's most easy and simple way to handle matrix, I think. I can't remember the character code of down arrow. But I think, you can find it easily.
oForm.DataSources.DBDataSources.Item("@DBS_CBP2").InsertRecord(position)
oForm.DataSources.DBDataSources.Item("@DBS_CBP2").Offset = oForm.DataSources.DBDataSources.Item("@DBS_CBP2").Offset + 1
oMatrix.AddRow()
Regards,
Hyunil Choi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.