Spryassets sub menues
This site http://www.revelationphotostudio.com The sub menues in the spry asset menu bar wont show on pages that have flash. This works fine in IE
But Safari and Fiefox wont display sub menues on pages that have flash on them. Please help!
http://forums.adobe.com/thread/480215?tstart=0
Similar Messages
-
Positioning of spry sub menu in IE8
Hi - can anyone help with an IE8 issue concerning Spry? I have created a menu here:
http://www.clinicafiore.co.uk/jan2012/indexJan2012_1.html
In all the browsers I have tested (Chrome,FF,Safari,Opera) on Mac and PC platforms it works fine. In IE8 it doesn't (hooray).
The critical attribute is:
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
left: 189px;
top: 0;
I.e. I have pushed the sub-menu out 189px when visible and set the top value to 0 thinking this would align the sub-menu with the top of the main menu item.
Is there a better way to do this to cover all browsers or do I need some conditional code for IE?
Really.really grateful for any help
For good measure here's all the html & the css
HTML
<div id="leftNav">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="#" title="ageing body" class="MenuBarItemSubmenu">AGEING BODY</a>
<ul>
<li><a href="#">Ageing Décolleté</a></li>
<li><a href="#">Ageing Hands</a></li>
<li><a href="#">Ageing Neck</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">ageing face</a>
<ul>
<li><a href="#">Ageing Lips</a></li>
<li><a href="#">Double Chin</a></li>
<li><a href="#">Downturned Mouth</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
</ul>
</li>
<li><a href="#">Item 4</a></li>
</ul>
</div>
CSS
ul.MenuBarHorizontal
margin: 0;
padding: 0;
list-style-type: none;
font-size: 0.9em;
cursor: default;
width: auto;
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
z-index: 1000;
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 0.9em;
position: relative;
text-align: left;
cursor: pointer;
width: 189px;
float: left;
font-weight: bold;
text-transform: uppercase;
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: 189px;
position: absolute;
left: -1000em;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
left: 189px;
top: 0;
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
width: 189px;
font-weight: normal;
text-transform: none;
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
position: absolute;
margin: -5% 0 0 95%;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
left: auto;
top: 0;
DESIGN INFORMATION: describes color scheme, borders, fonts
/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
border: 1px solid #CCC;
font-weight: normal;
text-transform: none;
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
display: block;
cursor: pointer;
background-color: #aee56b;
padding: 0.5em 0.75em;
color: #333;
text-decoration: none;
border-bottom-width: thin;
border-bottom-style: dotted;
border-bottom-color: #FFF;
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
background-color: #999999;
color: #FFF;
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
background-color: #999999;
color: #FFF;
SUBMENU INDICATION: styles if there is a submenu under a given menu item
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
BROWSER HACKS: the hacks below should not be changed unless you are an expert
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
ul.MenuBarHorizontal li.MenuBarItemIE
display: inline;
f\loat: left;
background: #FFF;I may be misinterpreting what it is that you want, partly because I thought we were talking horizontal menu and you point out a vertical menu.
I think that you used the vertical menu as an illustration to shopw how you want the submenu alligned. If that is correct, then please copy an paste the following into a new document and see the result in an IE8 browser.
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<link href="http://labs.adobe.com/technologies/spry/widgets/menubar/SpryMenuBarHorizontal.css" rel="stylesheet">
<style>
ul.MenuBarHorizontal ul {margin-left: 8em; margin-top: -35px;}
</style>
</head>
<body>
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a href="#">Item 2</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
</ul>
</li>
<li><a href="#">Item 4</a></li>
</ul>
<script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryMenuBar.js"></script>
<script>
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
</html>
If the above is not what you want, then please explain.
Gramps -
Edit Sub Menu Created With Dreamweaver
Does anyone know how to edit a sub menu that was created
using Dreamweaver? I need to link a new page to the sub menu but I
can't seem to find anyway to unlock the menu to amend the link.
Alternatively, one of my pages appears to be stuck on the server
saying that it is being edited by Macromedia Contribute after I
tried to publish it (this is the page I've re-created but can't
create a link to) so does anyone know how I'd re-set it or
something? I had thought of uninstalling Contribute then
re-installing it but I don't know if it'd make much difference?Open the template for this page (Select Modify > Templates > Open Attached Template) and add these comments into the <head>...</head> section:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Eddie and Alice Smith</title>
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link href="css/main_css.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" /></head>
You have probably deleted these comments when creating the template. These lines allow Dreamweaver to add code into the <head> section. Save your template and say Yes to allow the changes to pages that use this template (or just to the pages you want).
See http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7acda.h tml for more information. -
Horizontal Spry Menu Bar with Horizontal Sub Menu
I have created a horizontal menu bar with only one main menu item leading to a sub menu. I would like this sub menu to display horizontally also, instead of vertically as added by default.
I am relatively new to dreamweaver and would appreciate any help possible.Came across the fix by accident thru extensions in menu bar,
and choice of cursor for each section. Feeling happy! Happy New
Year everyone. -
Muse 2014 -sub menu items appearing on roll-over etc.
Hi, complete newbie, so sorry if this has already been covered elsewhere. Only started using Muse about 1 month ago and now using Muse 2014 - using horizontal menu widget and discovered how it now shows sub-menus when hovering over the main menu item- I find this great!
I want a 'Contact Me' page with a basic form and this is not a problem, however, I want the sub-menus to appear when hovering over the other main menu items, but not the contact me page - might be completely off here, but created a 'Thank you' page as a child page of the contact me page and only want this displayed (not as a sub-menu choice when hovering over the contact me main menu item) when they have clicked the submit button on the form (I know how to set this re-direction in the forms options). Have tried playing with menu on the master page - switching off the edit together and changing settings on only the contact me menu item - without success- seems to apply to all main menu items.
I would like to know how to achieve sub-menus on other menu items - but not on contact me item; or whether I am going about trying to have a 'Thank you' response when someone submits the contact me form in the completely wrong way - can this be better achieved by other means?
I would really appreciate your advice and help. My published site is 'onyerbikegeordie.uk' with the main menus - except not with a contact me page as yet, but would give you an idea of what I am trying to achieve except for a contact me page.
Sorry for the long post, but thanks for reading and in anticipation of your help!
Joe
Message was edited by: Joe FitzpatrickHi, managed to find the answer to this myself. In Plan, right-click on page and select Menu Options > Exclude Page from Menus. Job Done!
Joe -
Cluster (sub menu) submit button grayed out
hello all
as of today my compressor has stopped allowing me to submit the batch i set up.
having sent an item from FCP to compressor, i get to set the options for settings and destination and then when i hit the submit button a second menu pops down regarding cluster options of which i have none. i add a name to this box yet no mater what other options i change the *submit button in this sub menu remains grayed out!*
http://twitpic.com/jj7n2
i have tried reinstalling compressor, and eventually the whole suit. i have removed the various prefs and qmaster stuff. i have used the fix compressor utility from digital rebel, repaired permissions and cleared out cache, but still *grayed out submit*.
what thoughts cloud genii?I'm having the same problem.
This comes after suffering persistent crashing of Compressor 3.5 on launch and finally having to reinstall to at least fix the crashing problem. But now I can't submit any processes - the button is greyed out.
Can't remember setting this up originally, but it use to say "This Computer" for processing - do I need to add my computer to a list of available processors?
Any help hugely appreciated,
Simon -
Can't access in Finder Contextual Menu the sub-menu named More
Hi!
I was trying to learn how to use Automator, in the web page
http://www.macosxautomation.com/automator/examples/ex03/index.html
and I realize that I can't access in Finder Contextual Menu the sub-menu named More for choose Automator > Create Workflow... from the sub-menu.
Someone can help me to configure the finder in order toThat page is out of date since it doesn't reflect the change in Snow Leopard that did away with the More contextual menu. Try this. System Preferences->Keyboard->Keyboard Shortcuts->Services->Development->enable Create Workflow. Close the prefPane, select the object, CONTROL-click->Services->Create Workflow.
If that solves your issue, then send a message to the page's developer and ask them to update it.
BTW, see http://discussions.apple.com/thread.jspa?threadID=2241804 for a four-parter by Sal Saghoian on *Automation in Snow Leopard*
and this, which describes the old and new automator—services stuff:
http://www.reynoldsftw.com/2009/08/automator-and-finder-interactions-in-os-x-10- 6/ -
Sub-menu of eSubmit is empty in non-English language (Russian)
BPC 7.5
BPC for Excel in English is working correctly, but in Russian sub-menu of eSubmit is emptyHi Sorin!
Thank you for reply!
Yes, russian language for BPC installed.
Test was done with the same user for both language - in english everything is ok, in russian except submenu of "eSubmit" too.
Only eSubmit's submenu is empty
p.s. I see and can run eSubmit's macros in Excel (in russian) if I add them on Excel toolbar as icon (not from Planning and Consolidation -> eSubmit -> ..)
Edited by: Maxim Pak on Nov 17, 2010 6:57 AM
Edited by: Maxim Pak on Nov 17, 2010 7:19 AM -
Keyboard shortcut for Sub Menu item Only works AFTER using it
I have a Custom MOVE TO READ Mailbox shortcut. This is a SUB Menu item.. MESSAGE/Move To/READ FOLDER.
It is really sweet to clear out my INBOX and save emails.
So, what is ODD is that that menu has to be Clicked on and shown each time MAIL is run for that keyboard shortcut to work.
I find that Odd and would love to have it work without having to "train" it everyday.Hello,
Post in the iTunes Forum: http://discussions.apple.com/forum.jspa?forumID=789
Check out the AppleScript Forum also: http://discussions.apple.com/forum.jspa?forumID=724
Carolyn -
How to Center Text in Menu and Left Align in Sub Menu
Hi - I'm looking to Center the text in the main menu of a Spry Menu in DW CS 5.5 but left align the sub menu's.
If someone could point me in the right direction it would be much appreciated.
Thanks
JSee here http://labs.adobe.com/technologies/spry/samples/menubar/CenteringHorizontalMenuBarSample.h tml
Gramps -
How to un-checked the sub-menu items in the active document?
Can anybody let me know, how to make the "checked" sub-menu items in "Window" menu to "un-checked" through scripting. More clearly, i need to open a document alone without showing the tools bars, Document info, etc. Kindly help me the possiblities via scripting(vbscript / javascript). I am using illustrator cs3.
Thanks...With vb you could call an action that changes the workspace. I do this with AppleScript but its only any use for in-house stuff where I know the actions and workspaces are saved.
-
How to create a menu with pages linked as sub menu in ADF?
Hi Experts,
I'm new to ADF and trying to create a menu like below in ADF.
Actions Menu
|
|
Option 1 -- A page with some static text and links.
Option 2 - A different page with some static text and links.
Have evaluated options like panelGroupLayout and menu components, requesting experts opinion on the best way to do it.
Thanks in advance..Thanks AP.
Not like outlook. Here's some more details on what I'm looking for.
Create a menu bar.
Create a menu called "Actions"
Create two items under it called "Option1" and "Option2".
When I move the mouse over "Option1", I want a page to be shown on the right (just like how a sub menu will be displayed usually).
When I move the mouse over "Option2", I want to show a different page on the right (just like how a sub menu will be displayed usually).
Thanks in advance.
Edited by: Muruhanantham C on Dec 28, 2012 12:51 PM -
Can we change the background color of a sub menu?
In swing, can we change the background color of a sub menu. it is working fine for the main menu, but doesn't work for sub menu.
Hey hi,
just an append to the previous reply.
The subMenu needs to be setOpaque() to true. i.e.
subMenu.setOpaque(true); -
Total frustration, Spry Sub Menu jumps to top of page in IE 7.
I am a newbie to Divs and spry menus, tring to put together a site for the local sports club. Have created a spry menu and have problems in IE browsers. In IE 7 the sub menu jumps to the top of the page. In IE 8 the submenu covers the main button/menu when you hover over it, instead of dropping down, also side image next to spry menu jumps out of Div. Works fine in Firefox. Have upgraded Spry to 1.61. Here is address of site http://www.pascoevalesc.org.au/.
Help a very Frustrated person.
CSS:
@charset "utf-8";
body {
font: 100% Verdana, Arial, Helvetica, sans-serif; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
background-color: #161616;
height: auto;
width: 900px;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
.twoColFixRtHdr #container {
width: 900px; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #000000;
text-align: left; /* this overrides the text-align: center on the body element. */
background-color: #000000;
float: left;
height: auto;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
.twoColFixRtHdr #header {
background-color: #000000;
float: left;
height: auto;
width: 900px;
margin: 0px;
padding: 0;
.twoColFixRtHdr #header h1 {
margin: 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
background-color: #000000;
float: left;
height: auto;
width: 900px;
padding: 0px;
.twoColFixRtHdr #sidebar1 {
float: right; /* since this element is floated, a width must be given */
width: 150px;
background-color: #000000;
padding: 0px;
height: auto;
.twoColFixRtHdr #mainContent {
background-color: #000000;
float: left;
height: auto;
width: 740px;
margin: 0;
padding: 0;
#maincontentbottom {
background-image: url(../images/bottom-maincontent.gif);
background-repeat: no-repeat;
float: left;
height: 33px;
width: 647px;
margin-left: 50px;
#panthernewstop {
float: left;
height: 31px;
width: 647px;
background-image: url(../images/top-maincontent.gif);
background-repeat: no-repeat;
margin-left: 50px;
margin-top: 120px;
#panthernewsmid {
background-color: #000000;
float: left;
height: auto;
width: 623px;
border-right-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: solid;
border-bottom-style: none;
border-left-style: solid;
border-top-color: #c6c4c4;
border-right-color: #c6c4c4;
border-bottom-color: #c6c4c4;
border-left-color: #c6c4c4;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 51px;
padding-top: 0px;
padding-right: 11px;
padding-bottom: 0px;
padding-left: 10px;
#panthernewsbottom {
background-image: url(../images/bottom-maincontent.gif);
background-repeat: no-repeat;
float: left;
height: 37px;
width: 647px;
padding: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 50px;
#sponsormaincontent {
background-color: #000000;
padding: 0px;
height: 74px;
width: 549px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
border-right-width: 0px;
border-left-width: 0px;
border-right-style: 0;
border-left-style: 0;
border-top-width: 0px;
border-bottom-width: 0px;
border-top-style: 0;
border-bottom-style: 0;
.twoColFixRtHdr #footer {
background-image: url(../images/footer.png);
background-repeat: no-repeat;
height: 129px;
width: 850px;
padding: 0;
float: left;
margin-left: 20px;
.twoColFixRtHdr #container #footernav {
float: left;
height: 50px;
width: 850px;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: normal;
color: #999999;
margin-top: 40px;
margin-right: 20px;
.twoColFixRtHdr #footer p {
height: 129px;
width: 850px;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 50;
padding-top: 10px;
padding-right: 0;
padding-bottom: 10px;
padding-left: 0;
#3tabdiv {
background-color: #151515;
float: left;
height: auto;
width: 740px;
margin-top: 100px;
margin-bottom: 100px;
margin-left: 90px;
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
.fltlft { /* this class can be used to float an element left in your page */
float: left;
margin-right: 8px;
.Title { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
#panthernewsrow1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
background-color: #000000;
float: left;
height: auto;
width: 280px;
margin-top: 10px;
margin-left: 10px;
#panthernewsrow2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
background-color: #000000;
float: right;
height: auto;
width: 280px;
margin-top: 10px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
.twoColFixRtHdr #container #mainContent #panthernewsbottom {
background-color: #000000;
margin: 20px;
float: left;
height: auto;
width: 700px;
.twoColFixRtHdr #container #mainContent #panthernewsmid #panthernewsrow1 .headtitles.style4 .style4 {
font-size: 16px;
font-weight: bold;
.twoColFixRtHdr #container #mainContent #panthernewsmid #panthernewsrow2 h2 .body-white {
font-weight: normal;G'day Mate,
You are not using the latest Spry files
The latest version of the Adobe Spry Framework is 1.6.1, this is the same version that ships with Dreamweaver CS4. If you use Dreamweaver CS3 (uses Spry 1.4), its wise to upgrade your files to the latest version. This can easily be done using the Spry Updater that can be found here.
Carn the Pies
Gramps -
How to include in the sub-menu a table specifies of the user - UDO
hi, forum
how to include in the sub-menu a table specifies of the user
I created a table '@ IA_RELAT' in User-Defined Obejcts but I don't know as including in the sub-menu that I created
it follows my code
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
If (pVal.MenuUID = "MySubMenu") And (pVal.BeforeAction = False) Then
Try
<u201DmyTableName->@IA_RELATu201D>
Catch
SBO_Application.MessageBox("The Form already exists")
End Try
End If
thank you
End SubHi David
Excuse me but I didn't find in MenuCreationParams Objects how to do this call of the table '@ IA_RELAT' created in User-Defined Obejcts
It follows my code
in AddMenuItems I set up the Menu and Submenu
in SBO_Application_MenuEvent it is where I am having difficulties of showing the table '@ IA_RELAT' created in User-Defined Obejcts
Thank you for any help
Private Sub AddMenuItems()
Dim oCreationPackage As SAPbouiCOM.MenuCreationParams
oCreationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)
oMenuItem = SBO_Application.Menus.Item("43520") 'moudles'
Dim sPath As String
sPath = Application.StartupPath
sPath = sPath.Remove(sPath.Length - 3, 3)
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_POPUP
oCreationPackage.UniqueID = "MyMenu01"
oCreationPackage.String = "Standard cost"
oCreationPackage.Enabled = True
oCreationPackage.Image = sPath & "UI.bmp"
oCreationPackage.Position = 15
oMenus = oMenuItem.SubMenus
Try ' If the manu already exists this code will fail
oMenus.AddEx(oCreationPackage)
'// Get the menu collection of the newly added pop-up item
oMenuItem = SBO_Application.Menus.Item("MyMenu01")
oMenus = oMenuItem.SubMenus
'// Create s sub menu
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING
oCreationPackage.UniqueID = "MySubMenu"
oCreationPackage.String = "Auxiliary Table"
oMenus.AddEx(oCreationPackage)
Catch er As Exception ' Menu already exists
SBO_Application.MessageBox("Menu Already Exists")
End Try
End Sub
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
If (pVal.MenuUID = "MySubMenu") And (pVal.BeforeAction = False) Then
Try
SBO_Application.ActivateMenuItem(menus.Item(1).UID.IndexOf("@IA_RELAT"))
Catch
SBO_Application.MessageBox("error")
End Try
End If
End Sub
Maybe you are looking for
-
My old laptop crashed but I had my Itunes Library backed up to an external HD. I've managed to import my Itunes Library from the HD but none of my old play lists appear on in Itunes. I tried syncing to my Iphone 4S that has the playlists to no avai
-
How can I determine what is running in the background on my ipad?
I have had my Ipad for 6 months. I use wi-fi and cellular 250MB data plan. I have never exceeded 250 MB in a month. This month I ran out of data in 5 days. Also, I usually get a couple of days before I have to recharge. Now I need to recharge in
-
I had this problem with 4.5.1 SP 5 and WebLogic told me it would be fixed in 5.1 SP 1 (I believe the issue number was 10214). I've just tried my simple test case again with 5.1 SP 3 on NT and it still fails. The problem is when text is posted from an
-
Par failing on EDK 11.4
Dear forum members, I've designed a system on custom board using the spartan-6 lx45t device on EDK 11.4 using the base system builder. Following is the device utilization summary after map: Number of LOCed IOBs 97 out of 97 10
-
I've found that the cross-platform JMF software that I have recently downloaded from the sun website doesnt contain the com.sun.media.protocol.vfw.VFWCapture package I was wondering if anyone could provide me with this file. I have extracted my "pack