Steve,
Using R:BASE 6.5++ for Windows Form Designer:
01. Right-Click on Column/Variable Properties
02. Select Pop-up Menus...
03. Pop-up Menu Designer:
[x] User can Access a Pop-up Menu
[x] Use a Custom Pop-up
[ ] Automatic Pop-up (optional)
[ ] Skip to next Field after Pop-up (optional)
04. Select Table Name
05. Select Pop-up Type
06. Select Column Returned
07. Verify Menu Values
08. Type Menu Position Row
Type Menu Position Column
09. Type Menu Title
10. Check the option to use Dynamic WHERE clause
(if you wish)
11. Use the WHERE clause accordingly
12. Click [OK] to save Pop-up Menu Properties
13. Save the formAt the R> Prompt:
ENTER USING FormName
or
EDIT USING FormName WHERE clause ORDER BY clause
. Double-Clicking on that particular Column/Variable (as defined above) will bring up the Pop-up Menus accordingly.
That's all there is to it!
On the other hand, the Next Generation R:BASE 7.1 for Windows offers a huge variety of controls, options and properties to achieve the same goal, including the simple "On-Click" Embedded and/or Custom EEPs!
Hope that helps!
Very Best R:egards,
Razzak.
At 03:28 PM 2/25/2004 -0600, Steve in Memphis wrote:
Razzak, actually, and though I hate to be ignorant I don't mind admitting it, I did not know that. Does this require the menu to be defined within the Form.Field setting? If not, would you mind clarifying a bit or pointing me to an example in the doc's?
Also, thanks for thinking about the essence of what I would like to achieve, rather than the instantiation details I provided. IOW, it seems that you were able to see what it was I wanted to do, rather than just doing what I said. That's the same approach I (try to) take with my users, "Please tell me what it is you want, then we can figure out the best way to arrange the technologies to accomplish it."
Steve in Memphis
----- Original Message ----- From: "A. Razzak Memon" <[EMAIL PROTECTED]> To: "RBASE-L Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, February 25, 2004 2:17 PM Subject: [RBASE-L] - RE: LASTKEY(0) and Combo/Chord-Keys, [CTRL-M](RBWIN 6.5++, latest build)
> > At 02:10 PM 2/25/2004 -0600, Steve in Memphis wrote: > > >Buddy, what I'd really like to do is enable the user > >to press [ALT-M] or [CTRL-M] from within a field and, > >under programmatic control of a field exit procedure, > >pop-up an appropriate menu. > > > Steve, > > Did you know that you can use Double-Click to launch > the Pop-up Menus in R:BASE 6.5++ for Window forms? > > Very Best R:egards, > > Razzak. > > > >----- Original Message ----- > >From: <mailto:[EMAIL PROTECTED]>Walker, Buddy > >To: <mailto:[EMAIL PROTECTED]>RBASE-L Mailing List > >Sent: Wednesday, February 25, 2004 1:54 PM > >Subject: [RBASE-L] - RE: LASTKEY(0) and Combo/Chord-Keys, [CTRL-M] (RBWIN > >6.5++, latest build) > > > >Steve > > Is this what you are trying to do. > > > >**************************************** > >cle all var > > SET KEYMAP [CTRL][F3] TO [ENTER] > >dial 'test this' vresp vendkey 1 at 10 > >set var v1 = (lastkey(1)) > >sho var v1 > >SET KEYMAP [CTRL][F3] OFF > >***************************************** > > > >Buddy > > > > > > > >-----Original Message----- > >From: J. Stephen Wills [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, February 25, 2004 2:04 PM > >To: RBASE-L Mailing List > >Subject: [RBASE-L] - LASTKEY(0) and Combo/Chord-Keys, [CTRL-M] (RBWIN > >6.5++, latest build) > > > >You know, I thought I used to do this and I thought I remembered how to do > >it. On the latter I was wrong, so the validity of the former is currently > >indeterminant. I would like to enable a user to press either > >[ALT-keypressed] or [CTRL-keypressed] in a form.field, have it > >trapped/inspected by code in a field exit procedure, then control the flow > >based on the value input. > > > >I'm okay with the form stuff, but I can't recall how to get the input-keys > >into a variable. > > > >Any ideas? > > > > > >Thanks, > >Steve in Memphis >

