Add menubar to VFB window - maya 2018 - maya

I'm editing "vrayVFBPanel.mel", to add "menubar" above it. how do you get "menubar" to appear in vrayVFBPanel?
vrayVFBPanel.mel
When the script runs, 2 windows appear, and the menubar does not appear above it.
maya window

Related

How to display a VSCode Hover when mousing over a Decorations before icon

I am developing a VSCode Extension https://github.com/dev-tools-ai/devtoolsai-vscode-plugin
And referencing the image below, wondering...
Is it possible to show a Hover when mousing over not just the
decoration, but additionally the icon shown in 1 of the image.
Currently this was put in place with before: { contentIconPath:
"image.svg" }
Additional question. Is it possible to control the ordering of entries within a Hover.
I'd like to move what I inserted shown in 2 to 3

How to get Codename One Form feature vertical scroll?

My Codename One app features a Form with 3 SpanLabels containing text and one Container in LayeredLayout with an image and an overlay.
this.add(BorderLayout.NORTH, spanLab1);
this.add(BorderLayout.CENTER, imageCont);
this.add(BorderLayout.SOUTH, BoxLayout.encloseY(spanLab2, spanLabl3));
This yields to the following:
This is not satisfactory as the image (that appears in the center and should be CN1 icon) is not scaled but cut because it is not possible to scroll down.
I tried to force the Form to be scrollable (this.setScrollableY(true)) without success.
Did I make a mistake somewhere, for example should all my content be placed in the BorderLayout.CENTER since according to the documentation the NORTH position is dedicated for the title and the SOUTH one for an optional menu bar (I tried this without success)?
Or should I show a Dialog instead (that offers Y-Scroll out of the box) ? What is actually the proper way to show all my (long) content with no picture cut or text overlaping ?
EDIT December 22nd 2016
As #Tizbn wrote the Form's ContentPane has to be in Vertical BoxLayout. So the call to the parent constructor has to be written :
super(new BoxLayout(BoxLayout.Y_AXIS));
Thank you very much for any help!
Vertical Scroll is disable in BorderLayout . For that BoxLayout with Y-axis can be used and make setScrollableY(true) in the Boxlayout. Hope it will help .

Codename One: Command button on top-bar and bottom-bar

I have problem with Command with Codename One.
I want to make a UI like this: Command "Cancel" at top-left, Command "Account", "Images" at bottom bar
To do that, I added 4 command like this:
I added "empty" Command 217 to top-right, and next: Cancel, Account, Images (2 commands used icons)
It showed well on iPhone Simulator. But on Android simulator, it showed:
The "empty" command is showed, it made user confuse
But if I don't add "empty" command, the UI on iPhone will:
It doesn't like my design.
Everybody, can you help me any idea.
Thanks a lot!
You can use the SideMenuBar or the new Toolbar API which will be a part of the new update this week.

How to remove or hide Main Menu from End-User ? XtraReports Winforms Devexpress?

I need to remove or hide the main menu and Layout tool bar from Report Designer of End-user. I have code to remove or hide a particular control
designForm.ActiveDesignPanel.SetCommandVisibility(ReportCommand.OpenFile, DevExpress.XtraReports.UserDesigner.CommandVisibility.None);
but I need to hide that entire Main Menu and Layout tool bar ? How to hide this Main Menu & Tool Bar ??
Thanks in advance.
Sri
If you want to customize end user designer in detail then rather then hiding and removing panels you should use latest devexpress release with end user customization feature.
In this you can control every thing from your visual studio solution only no need to write any logic to hide or remove.
http://documentation.devexpress.com/#XtraReports/CustomDocument2553

How to make Div Visible of Aspx page, After a Radwindow pops Up

How to make Div Visible of Aspx page, After a Radwindow pops Up.. So that it looks like the light Box.
I have embedded silver light Component in aspx page . And in silverlight Component there are images in thumbnail size . when , I click on the thumbnail the radwindow opens with the original image and in big size. After Pops up , Only the area under the silverlight Component get gray Color.
I need Whole window should have gary background color , So it look s like Light box.
So , I need to call Div after rad Window pops up.
Please Visit: I have Shared 2 files.
https://docs.google.com/file/d/0B5yo_3I2aEWcbWFGb3FKWURZLVU/edit?usp=sharing
https://docs.google.com/file/d/0B5yo_3I2aEWcZThfcUxUb3JUTHM/edit?usp=sharing

Resources