Home » Developer & Programmer » Forms » Can I Show fmb/fmx name on a form?
Can I Show fmb/fmx name on a form? [message #79807] Mon, 15 July 2002 18:55 Go to next message
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 #79808 is a reply to message #79807] Mon, 15 July 2002 20:43 Go to previous messageGo to next message
Subhash
Messages: 105
Registered: October 2001
Senior Member
You can use :System.Current_Form or Get_Application_Property (Current_Form) - returns the fmx file name
Get_Application_Property (Current_Form_Name) - returns the fmb file name
Re: Can I Show fmb/fmx name on a form? [message #79836 is a reply to message #79807] Wed, 17 July 2002 12:59 Go to previous message
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;
Previous Topic: making a poplist start on first item
Next Topic: Oracle Forms6i Documentation
Goto Forum:
  


Current Time: Fri Mar 29 00:11:47 CDT 2024