Re: Forms 4.5 Question

From: Ananta Narayanan <anarayan_at_sctcorp.com>
Date: 1995/10/12
Message-ID: <1995Oct12.160127.24558_at_lamont.ldgo.columbia.edu>#1/1


Sean Kubovcik wrote:

>I want to add alt-keys to Forms 4.5 buttons. I.E. Alt-e would execute
>the 'Exit' button. I know VB does it with the '&' prior to the desired
>character on the button lable prop, but, how can I do this in Forms 4.5?

  1. Code all the actions desired in KEY.. triggers.
  2. On the WHEN-BUTTON-PRESSED trigger for the buttons use do_key(<action>).
  3. Develop a menu which contains the relevant action items (e.g. exit etc.) and again use do_key(<action>) when menu item is selected. (Alt key actions are automatically available with a menu application).

>Also, how can I have a 4.5 form default to full screen, during
>runtime?

set_window_property(FORMS_MDI_WINDOW,WINDOW_STATE,MAXIMIZE);
>Thanks in advance.
 

>Sean
 

>seankub_at_ix.netcom.com

Views expressed here are my own and
not those of my employer.
Other Standard disclaimers apply.

  • What we know is very little, what we do not know is immense..
Received on Thu Oct 12 1995 - 00:00:00 CET

Original text of this message