Re: DEFAULT&SMARTBAR & Show default menu and created menu?? - split and recombined [message #390714] |
Mon, 09 March 2009 07:29 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
sirivijay
Messages: 48 Registered: October 2008
|
Member |
|
|
Hi,
I an trying to make SMARTBAR to be visible along with my menu MENUDEFS.MMX.
If i give MENUDEFS.MMX smart bar is not coming
If i give DEFAULT&SMARTBAR then SMARTBAR is visible.but some of my menu items aare missing.
I tried various Combinations of MENUDEFS.MMX with SMARTBAR
But i am failing to implement both..can any one tell the combination to use both.the combinations i tried are
menudefs.mmx DEFAULT&SMARTBAR
menudefs.mmx&SMARTBAR
menudefs.mmx &SMARTBAR
Please tell the valid combination
|
|
|
|
|
|
Re: DEFAULT&SMARTBAR [message #394809 is a reply to message #394706] |
Mon, 30 March 2009 06:58 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
sirivijay
Messages: 48 Registered: October 2008
|
Member |
|
|
Martin,
I did not create my own tool bar..I am trying to use a default tool bar(SMARTBAR) along with my menu..this is working fine in forms 6.Even in 10g if i am giving smart bar alone its working fine but my menu items are missing.so if i cannot implement both at a time in 10g please let me know so that i will try creating a canvas menubar as u Suggested..
Regards,
Pradeep
|
|
|
|
Show default menu and created menu?? - split [message #395711 is a reply to message #390714] |
Thu, 02 April 2009 06:44 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
sirivijay
Messages: 48 Registered: October 2008
|
Member |
|
|
Martin i tried these combinations with SMARTBAR and DEFAULT
DEFAULT&SMARTBAR&C:\oracle\DevSuiteHome\forms\menudefs.mmx
DEFAULT&C:\oracle\DevSuiteHome\forms\menudefs.mmx
C:\oracle\DevSuiteHome\forms\menudefs.mmx&SMARTBAR
These all did not work..
My requirement is to display a SMARTBAR with my own menu "menudefs.mmx".
I dont need default menu as major functions are linked to my menu only
3 migrated Applications are pending with this issue and waiting for deployment.Can u let me know how to use a smartbar
|
|
|
|
|
|
|
|
|
Re: DEFAULT&SMARTBAR & Show default menu and created menu?? - split and recombined [message #407120 is a reply to message #406151] |
Mon, 08 June 2009 09:36 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
sirivijay
Messages: 48 Registered: October 2008
|
Member |
|
|
This issue has got two solutions depending on your requirements.
1.for getting a default smartbar with your own menu
give your compiled menu name in the properties of the form as usual.
then open the ue menu mmb file and open the properties of each menu item u need to display as an icon.
then set these two parameters.
Iconic=yes
icon file name=(please read below statements)
the default icons are carried with frmall.jar which is loaded in to your environment when the form is loaded.So in the parameter "icon file name" .u can set these icon name from the below list depending on your requirement.
example for print
iconic=yes
iconfilename=print.
badimage.gif
bgnd.gif
canqry.gif
copy.gif
cut.gif
delrec.gif
ellipsis.gif
entqry.gif
exeqry.gif
exit.gif
frame.gif
help.gif
insrec.gif
lockrec.gif
nxtblk.gif
nxtrec.gif
oracle_logo.gif
oracle_logo_light.gif
paste.gif
print.gif
prvblk.gif
prvrec.gif
pset.gif
save.gif
splash.gif
This will automatically display the icons on the out put.
for additional icons
1] Gather all the icon files in a directory.For this copy all the icons files (gif or jpg) to a folder e.g c:\icons or /tmp/icons folder
2] Create the jar including the icons. Change directory to the target icons folder: cd c:\icons or cd /tmp/icons To jar the icon files issue: jar -cvf icons.jar *
3] Place the jar in <oracle_home>\forms\java 4] Edit the <oracle_home>\forms\server\formsweb.cfg
4a) Tell the applet to load the jar: archive_jini=xxall_jinit.jar,icons.jar
4b) Indicate the images are relative to forms/java virtual directory: imageBase=codeBase (Be careful about case as java is case sensitive)
5] Indicate to the forms runtime where the icons are to be fetched. As the images are at the root of the jar, the default value for the iconpath in the file: <oracle_home>\forms\java\oracle\forms\registry\Registry.dat (capital R) can be left empty: the icons will be fetched from <imageBase>/ default.icons.iconpath=default.icons.iconextension=gif As imageBase=codeBase this means the icons will be fetched fromhttp://host:port/forms/java/<path_inside_our_jar>Note: If wished to place the images under a directory, the jar can be created with a directory structure inside. for example to place them under a folder called /icons one would place the images in such a directory and jar this directory: cd c:\ jar -cvf icons.jar icons To indicate that the images are now in a directory under imageBase this can be done either in the "Icon Filename" property of each forms item or rather for all images by changing the default iconpath. in the file Registry.dat. For example the following line : default.icons.iconpath=icons will tell the Forms Runtime to fetch the icons from: <imageBase>/icons As imageBase has been set to codeBase in step 4 this means: http://host:port/forms/java/icons which corresponds to the directory structure icons/* inside the jar placed at http://host:port/forms/java .
|
|
|
|
|
|