Code: Select all
function press_on_browse(nKey,self)
msginfo(nkey)
do case
case nkey = VK_F2 .and. ::lInsertButton
::Insert()
case nkey = VK_F3 .and. ::lDeleteButton
::Delete()
case (nkey = VK_F4 .or. nKey = VK_RETURN) .and. ::lModifyButton
::Modify()
case nkey = VK_F5 .and. ::lSearchButton
::Search()
case nkey = VK_F6 .and. ::lPrintButton
::Print()
case nkey = VK_ESCAPE
::oContainer:End()
end case
return
Muchas Gracias.