Home » Developer & Programmer » Forms » read fmb file
read fmb file [message #209129] Wed, 13 December 2006 07:41 Go to next message
gulzirab
Messages: 3
Registered: December 2006
Junior Member

How to open fmb or fmx file at runtime and read button label name or text prompt property.

Help Embarassed


Re: read fmb file [message #209203 is a reply to message #209129] Wed, 13 December 2006 14:35 Go to previous messageGo to next message
Littlefoot
Messages: 20900
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Using a debugger (part of Forms Builder 9i onwards)?
Re: read fmb file [message #209251 is a reply to message #209129] Wed, 13 December 2006 23:36 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
For text 'prompt' use 'get_item_property(prompt_text)' and for buttons and check boxes use 'get_item_property(label)'.

David
Re: read fmb file [message #209637 is a reply to message #209129] Sat, 16 December 2006 03:08 Go to previous messageGo to next message
gulzirab
Messages: 3
Registered: December 2006
Junior Member

Forms 6i

I want read forms file(fmb or fmx) at forms runtime (and read button label name or text prompt property)

For exp: LC$Module varchar2(30) := NAME_IN('C:\EXP1.fmb') ;
LC$BlockDeb := get_form_property( LC$Module, FIRST_BLOCK ) ;



LC$Module varchar2(30) := NAME_IN('C:\EXP1.fmb') ; error FRM - 40105
Re: read fmb file [message #209789 is a reply to message #209637] Sun, 17 December 2006 20:48 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Is this a student exercise or a work exercise?

David
Re: read fmb file [message #209839 is a reply to message #209789] Mon, 18 December 2006 01:31 Go to previous messageGo to next message
gulzirab
Messages: 3
Registered: December 2006
Junior Member
I have a project with write at Forms 6i. I want to translate this project.It is work exercise.
Re: read fmb file [message #209978 is a reply to message #209839] Mon, 18 December 2006 17:43 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
I'm sorry but I don't understand what you are trying to say.

I suggest that you download the demonstration version of FormsTool and look at how they are using the Oracle Forms API to get various pieces of data. Search this forum for 'FormsTool' or google it.

David
Previous Topic: Designing
Next Topic: Data Block Property - Key Mode - Non updatable for Views
Goto Forum:
  


Current Time: Wed Dec 07 16:11:14 CST 2016

Total time taken to generate the page: 0.09817 seconds