QUICK TIP: Make a "Pop-up" Field "Pop-up" in Edit Mode

By Barry Rochford

Ok, you are adding a Field Rule for "Order_Status". You want to have a Simple List Pop-up as the field gets focus.

Simple List Lookup

Fig 1. Order_status Lookup Field Rule

Well, everything looks OK, you save the Field Rules and test it.

While you are in ENTER Mode, the list will Pop-up on entrance, just as you would expect. But if you come back later, and need to Edit the Order_Status for an existing record, the list will not Pop-up. The Pop-up feature is designed to be active only in Enter Mode, not Edit Mode.

Don't just sit there thinking that you really should have gone to Woodstock - 1999, you can force Alpha to Pop-up your list with a short script attached to the Order_Status field's OnArrive event. Use the Sys_Send_keys() command to issue "ALT-DOWN" and the lookup window will open, even in Edit Mode:
Sys_send_keys("{%DOWN}") or Sys_send_keys("{ALT-DOWN}")
Either command is correct: % is a short-cut for ALT-.

You can always listen to Woodstock - 1999 on the radio. It's not really the same as being there, though!

Barry is an Alpha Developer living near Newtown, PA. He can be reached at brochford@enter.net

7/24/99

Don't forget, we need your feedback to make this site better!

Return to home