Different border for Dialog. Set style for one - java-me

How I can set different border for Dialog. for bottom, top, left and right border.
I need to set round angle for bottom left and right angles. But top angles have to be direct.

You can achieve it by 'Image Border Wizard' for DialogContentPane style.
Follow these steps
Create an image that has your required borders and some empty area in the center.
Open your '.res' file in Resource Editor, under your active theme
create a new style say MyDialogContenPane for unselected state.
Make sure you derive this new style from DialogContentPane's
unselected state, you can do this by going to 'derive' tab and selecting 'DialogContentPane' in the combo-box.
With this style's window open move to 'border' tab and click the 'Image
Border Wizard' button to open a new window. Under the tab 'Create Image'
select radio button 'Use A File', choose the image file created in #1
in this file dialog. Move to tab 'Cut Image' adjust the guides on the
image and move to tab 'Apply To', here you select the listed component
'MyDialogContentPane' and hit 'Generate' button and close this
window. The new border can be previewed in the style window.
NOTE: If you want this new border to be done for all the dialogs than instead of creating new style 'MyDialogContentPane' you reuse the 'DialogContentPane' style with the above steps.
I would recommend you to go through the Shai's blog posts 'LWUIT Resource Editor Tutorial Part 1' till part 10. To better understand the Resouce Editor its features and capabilities.

Related

Ribbon Icon Doesn't Reverse with Black Theme

I'm adding a new ribbon item to a custom ribbon in my Excel workbook using Office RibbonX Editor. The callbacks are all set up, and the image is a 64x64 png file with a transparent background. As you can see, the images all reverse when switching between white and black theme, with the exception of the first one. I can't see anything different between the first image file and the rest, and can't find any reference to image reversal for ribbon icons so wanted to ask here.
This is the ribbon using white theme:
And here is the same ribbon, using Black theme:
As you can see, apart from the first icon, the four right hand icons have all reversed from black on white and red on black to white on black and red on white.
This is the image file for the icon which has been loaded into the editor:
Here is the Xml for the first ribbon 'button', which structurally matches every other 'button' on the ribbon:

Creating association classes on Visio 2019

I'm a beginner using Visio. For my project, I'm using the 2019 Professional version and I'm having a trouble to create an association class, like the "Items", down in the image.
How can I do it?
To draw a dashed line from a class to an association, proceed as follows:
Click with the right mouse button on the background of the drawing. A toolbar and a menu pop up at the same time.
The top left button of the toolbar has a very small triangle next to it, pointing down. Click on this triangle. A menu drops down.
Choose 'line' from this menu (it's the fifth entry).
Drag a line from the class to the association. A solid line will appear.
Click with the right mouse button on the line and choose 'Format shape'. The Format shape pane will appear.
In the Format shape pane, choose dashed formatting.

Word - How to stick text to the bottom of page

https://SURU.tinytake.com/sf/MTQxMTgzOV81MDc2MDI2
I want to stick some text of the bottom of the page, like on the screen, just before footer always. When there is text (from mergefield), next should be new lines. I hope screenshot make it easier to see.
You can put the text in a text box or frame with position set to "Bottom
Relative to Margin". It's the only idea I have due you don't want to use a footer.
Or you can see this article
Basically it gives three options:
Negative left indent
Margin text box
Anchor to the header
I found the solution to the problem on Microsoft's page and I hope that this page comes up for as many people as possible.
Select the text you want to stick to the bottom (or top) of the page. Under Layout tab take a look at the bottom right of the page layout section and you should see a small arrow that, when clicked on, opens a new menu. In that menu, go to layout tab and set vertical alignment to be "bottom". IMPORTANT! Make sue that the next menu option (at the bottom of that window) is set to "apply to selected sections" otherwise, you will be writing from the bottom of the page upwards.
Here is the source image that helped me. https://filestore.community.support.microsoft.com/api/images/0382c4a8-ade9-4fc4-be66-bcd2c7101479?upload=true
Here is the visual representation:
Note that the person who took the screenshot set the last setting to whole document, not just selected sections.
If selected sections option isn't available, make sure you selected a text before opening the menu.
Hope this helps!

Representing Business process in Excel

I am looking for a way to take input of Business Processes in Excel.
The processes can be complex for example
I have seen couple of representations like,
https://fedcsis.org/proceedings/2016/pliks/376.pdf
But most of them are not friendly for a non technical user.
Any help would be appreciated.
Start Excel. By default, a blank worksheet opens. Select the "Page Layout" tab, click "Orientation" in the Page Setup group and choose "Landscape."
Select the "Insert" tab. Click "SmartArt" in the Illustrations group to open the Choose a SmartArt Graphic dialog.
Choose "Process" in the list of chart types. Select the process chart subtype that best suits your needs, such as "Step Down Process" or "Gear" to preview it and read a description. Click "OK" to select the graphic with which you want to begin.
Add text to the first step in the process. Click on the sample text and type the text you want displayed directly over it. Type the desired text onto each shape.
Add an additional shape for each step in your business process. Click on a shape that will connect to the new shape and select the "Design" tab under SmartArt Tools. Click the "Add Shape" drop-down arrow in the Create Graphic section and choose where you want to add a new shape, such as before, after, above or below the current shape.
Customize the appearance of the flow chart. Click anywhere within the flow chart to select it and select the "Design" tab under SmartArt Tools. Click the "Change Colors" button in the SmartArt Tools section and click on the color scheme you want to apply. Click the SmartArt Styles drop-down arrow and select a 3-D or other style.
Click the "Save" button on the Quick Access toolbar or press "Ctrl-S" to save the completed business process flow chart before closing the worksheet.
Hope to useful..

Button border issue in LWUIT

I have created button without any border using LWUIT resource editor. I am able to see that button with all my properties set. However, when i am trying to add an image into this button using its image constructor, i am able to see a thick border around my image. I tried changing the button into Label, still image is coming. Please help.
Have you set the button border type as Empty on ResourceEdit? If not, set the button border type as Empty for selected and unselected style on ResourceEdit. It should work.

Resources