Re: Windows-Like UnDo Item On MenuBar

From: Simon Chessum <simonc_at_oakton.com.au>
Date: 1996/07/10
Message-ID: <4rv0ji$k29_at_news.mel.aone.net.au>#1/1


In article <4rem9a$q3s_at_server.cntfl.com>, duvals_at_dms.state.fl.us (Sarah DuVal) says:
>
>I need to add a Windows-like "Un-Do" Item to a Custom MenuBar on a
>Developer 2000 Forms Application. Anybody done this gracefully?
>
>Thanks,
>
>Sarah DuVal
>

Create a menu item with the properties:
Menu Item Type: Magic
Command Type: PL/SQL
Magic Item: Undo

This will get F45 to put the "Ctl-Z" (under MSWindows) against the menu item. Unfortunately, you have to put the code behind it yourself:

Copy(Get_Item_Property(:System.Cursor_Item, DATABASE_VALUE), :System.Cursor_Item);

Hope this helps.

  • Simon.
Received on Wed Jul 10 1996 - 00:00:00 CEST

Original text of this message