cancel
Showing results for 
Search instead for 
Did you mean: 

use Escape key

Former Member
0 Kudos

How to escape the grids that we open on the click of another control???? Means i want to impelement the funtions send to back or bring to front..somewhat like this..

Thanks in advance

Pari

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Are about "Go Back" button functionality on the form?

Sierdna

Former Member
0 Kudos

hi pari,

If pVal.BeforeAction = True And pVal.FormUID="FormUID" And pVal.CharPressed = 27 And pVal.EventType = SAPbouiCOM.BoEventTypes.et_KEY_DOWN Then

Try

'If the Second Matrix exists in other form then u can use either form close or visible=false

'it is better to use form close because u r opening the form on the double click of first matrix.

SBO_Application.Forms.Item("FormUID").Close()

'OR

SBO_Application.Forms.Item("FormUID").Visible = False

Catch ex As Exception

SBO_Application.StatusBar.SetText(ex.Message, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)

End Try

End If

regards,

varma.

Former Member
0 Kudos

Hi..

see this path ur system

:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET

Regards..

Billa 2007

Former Member
0 Kudos

from which application i can get help regarding this??

Pari

Former Member
0 Kudos

Hi..

folder name grid.

Regards..

Billa 2007

Former Member
0 Kudos

there is nothing what i want...actually i'm using a matrix...and on the double click of thif matrix a new matrix opens...now i want that when i press escape key the second matrix shud hide....