Is there a way to get a form that pops up in 7.6 to close with a mouse
click after opened with a mouse click?
The command I am using is below:
-- NABDispy.ent
-- This entry eep is for displaying the new customer special
-- instructions form as of 11-5-08 - Steve Breen
-- assumes that the variable this_custnub2 is generated on form entry
set var vlastkey0 = (lastkey(0))
if vlastkey0 = '[mousebutton1]' then
recalc
recalc var
screen restore off
edit using NABInfo where custnub2 = .This_Custnub2
screen restore on
skip 2
endif
if vlastkey0 in ('[shift][tab]', '[up]') then
skip -1
else
skip 1
endif
return
Thanks for the help
Stephen Breen
<mailto:[email protected]>