I hope this is a simple question. I use the following code to show a browse window to allow a user to pick a choice:
DEFINE WINDOW wzlocate FROM 1,1 TO 30,20;
SYSTEM GROW CLOSE ZOOM FLOAT FONT "MS Sans Serif",8
MOVE WINDOW wzlocate CENTER
on key label rightmouse keyboard "{Ctrl+END}"
BROWSE FIELDS date ;
WINDOW wzlocate NOEDIT NODELETE ;
NOMENU TITLE 'Choose-Left click, Close-Right click'
on key label rightmouse
RELEASE WINDOW wzlocate
This is simple code from my 2.6 days. Problem is, in visual, when you right click, it selects the record you are on as well as closes my window. In 2.6, the right click just closed the window. With my users use to the 2.6 workings, I wanted so see if I could get visual to work the same way.
Thanks
DEFINE WINDOW wzlocate FROM 1,1 TO 30,20;
SYSTEM GROW CLOSE ZOOM FLOAT FONT "MS Sans Serif",8
MOVE WINDOW wzlocate CENTER
on key label rightmouse keyboard "{Ctrl+END}"
BROWSE FIELDS date ;
WINDOW wzlocate NOEDIT NODELETE ;
NOMENU TITLE 'Choose-Left click, Close-Right click'
on key label rightmouse
RELEASE WINDOW wzlocate
This is simple code from my 2.6 days. Problem is, in visual, when you right click, it selects the record you are on as well as closes my window. In 2.6, the right click just closed the window. With my users use to the 2.6 workings, I wanted so see if I could get visual to work the same way.
Thanks