Return true
i.e.,
Function KeyDown(Key As String) As Boolean
if asc(key) = 3 then 'my keyboard ENTER key
DoExec()
return true
end if
WindowModified(true)
return false
End Function
How would you go about supressing the return/enter keys from making
a new line in a multiline Edit field?
I am guessing you trap it in the keydown event for the edit field
but what then?
Martin
---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>
Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>
Subscribe to the digest: <mailto:realbasic-nug-digest at lists dot realsoftware
dot com>
--
Cheers,
Dr Gerard Hammond
Bioinformatic Analyst
Garvan Institute of Medical Research, Sydney, Australia.
What do you call a fish with no eyes? A fsh.
---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>
Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>
Subscribe to the digest:
<mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.
|