Can I Show fmb/fmx name on a form? [message #79807] |
Mon, 15 July 2002 18:55 |
Jeff Smith
Messages: 1 Registered: July 2002
|
Junior Member |
|
|
I would like to display the name of the form on every form in our system. Of course, I know I could do this by editing each form and putting in a title on each window property, but I'd like to know if there's a way to extract the value in a global or a system variable and display it.
|
|
|
|
Re: Can I Show fmb/fmx name on a form? [message #79836 is a reply to message #79807] |
Wed, 17 July 2002 12:59 |
venkat rao
Messages: 2 Registered: July 2002
|
Junior Member |
|
|
BEGIN
DECLARE
curform VARCHAR2(40);
fmname VARCHAR2(40);
BEGIN
curform := :System.Current_Form;
fmname := Get_Form_Property(curform,FORM_NAME);
--
set_window_property( FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE );
set_window_property( FORMS_MDI_WINDOW, TITLE, fmname );
--
end;
end;
|
|
|