VBA- partially zoom in to the Designer - excel

I wanted to change some small controls by selecting and arranging them. they are at the bottom right corner, so when I use the usual zoom in, they go out of sight and became inaccessible from my screen. is there any way I can just zoom into my desired controls or set of controls? Also, I can't resize the designer itself, as I already using its maximum width.
Thanks for any help.

In the properties, , select ScrollBars #3, the Set ScrollHeight and Width to 150% of your form hight and width.

Related

How to make a vertical slider?

I need a vertical slider similar the standard slider. Is there a way to modify the existing one or do I need to make a new one?
The standard slider would work for me. I just need it to work vertically.
Perhaps I should better clarify my issue with the standard slider.
Yes, I can drag the size of the slider and it will be vertical. The problem is that when you select the value of the slider to show the text gets buried in the low side of the slider when you slide it down all the way. It essentially gets cut off and only shows the top half of the slider value character. I find no way to correct this by moving the shown text up a little so it all shows. I see no way to change text vertical or offset position in the properties setting.
The text settings only allow you to change the text format to right, center and left justify. There is no setting that can move the text up to prevent it from being cut off when the slider is all the way to the lower or down position.
The value text shows ok on the top of the slider. The problem is on the bottom side when you set the slider to be vertical.
It looks like the the show value setting does not place the value on the top layer of the slider and it gets hidden behind something else in the slider object.
LC9, Windows 10
I think I'm understanding your question. If you just resize the horizontal slider control so that the width is narrower than the height, the orientation of the slider control will automatically change to vertical.
Apparently it is a bug in this version of LC. At least in Win which is where I am testing.
Putting the scrollbar vertically cuts the value when it reaches the bottom.
But I found a solution so that it does not cut. Play around with the properties of the font. Such as size and family. In my case it worked fine by lowering the font size by one pixel.
Default: Segoe UI font, size 12
I just set the size to 11 and it doesn't cut anymore.
For what it is worth, I do not see this issue on a Mac. A vertical slider works as advertised. Font size makes no difference.
Are you saying that in the horizontal mode, you do not see this, but when changed to vertical, you do?
Try creating a scrollbar and a text field.
Set the scrollbar's showValue property to false and copy the following script to your scrollbar. Note that your field must be called "scroll value".
on scrollbarDrag pNewPosition
local tLoc
lock screen
# The Current Loc of Field
put the loc of field "scroll value" into tLoc
# New Position of scrollbar
put pNewPosition into field "scroll value"
# New Loc of Field
put the mouseV into the item 2 of tLoc
set the loc of field "scroll value" to tLoc
set the left of field "scroll value" to the right of me
unlock screen
end scrollbarDrag

kendo-chart responsive design sizing not using pixels

I'm attempting to place a kendo chart in a grid footer template. All is working well. However, I would like the chart to take the entire width/height of the cell. The chart appears to require a height/width in pixels (or it will assume one), which doesn't lend itself to a responsive design very well..
Is there a way to do this currently where sizing can be specified in %?
Not at the moment, but you can monitor issue #73 for updates.

Motif: How to move Scroll Bar automatically without user intervention

I have a scrolled window in my application, in which I have created a drawing area widget. In the drawing area, I have placed multiple images. When the user enters information about an image in a search box, the appropriate image gets highlighted.
My problem is how do I get the application to scroll automatically to the highlighted Image box without the user using the scroll bar. The scrolledwindow should automatically move the view region, to display the region where the highlighted Image is present.
The scrolling policy used on the scrolled window is XmAUTOMATIC.
Any pointers would be greatly appreciated.Thanks in advance.
Try XmScrollVisible() if this does not work then you will need to:
1. Find out the size of the work area.
2. Find out the size and position of the clip window.
3. Find out the max/ min values for the horizontal scrollbar.
4. Use XmScrollBarGetValues() for the horizontal scrollbar to get its position within the max/min values.
5. Do some math magic to determine how much to move the horizontal scrollbar to get the work area to show through the clip window.
6. Call XmScrollBarSetValues() with Notify = True.
7. Repeat for the Vertical scrollbar.
HTH

Adding tab icons is shrinking the size of the tab and not showing the full icon

I'm using the Java Scene Builder 2.0 to create a GUI that uses the tab pane. I've added an Imageview to each tab so I can give them icons instead of text. I set the tabs minimum width and height to 100x100 and they adjust to that size. When I add an imageview to the tab I'm making it's minimum width and height 100x100 but it shrinks the tab size and only shows a part of the icon. This happens when the imageview has a picture and when it doesn't so I don't think it's a problem with the size of the picture.
You can see from this picture the first tab from the left doesn't have an imageview and is the size I want the tabs to be. The second tab has an empty image view and the rest of the tabs have images. I would like the images to be 100x100 and fit in the tabs.
A Java Scene Builder solution is prefered but I will also gladly accept a code solution.
I solved the problem it was something simple. In the tab pane Layout settings I only changed the min height/width to 100x100 but I left the max height/width to the default which was 1.7976931348623157E308. I didn't notice that number was so small at first and I changed it to 200. Now the images display better.

How to resize a note in a Visio 2010 UML diagram

I have added a note with about 50 lines of text to an UML diagram in Visio 2010, and I can't resize the shape. I can see connection points, but not the blue ones that you can drag to resize the shape. Modifying the height manually through View menu, Task Panes, Size & Position, doesn't work either.
You can format the text using shift / enter for line breaks to change the shape of the text which will change the shape of the box. Not elegant but workable.
Tested and works in Visio 2010
i. Select the shape
Select the Developer ribbon. (You may need to make this visible by right clicking on the ribbon>Customize the Ribbon> Tick the Developer box)
(Developer ribbon) From "Shape Design" select "Protection". Untick both Width & Height
(Developer ribbon) From "Shape Design" select "Show ShapeSheet" > "Shape"
Within the "Shape Transform" table remove "GUARD" from the width and height cells
N.B This will work for with a singly selected shape, not a group. By copying the modified shape the shapes settings will remain with the copy although this seems to result in the text field in the copy being uneditable.
A note usually can only be resize to the minimum size of the letters inside. I mean that you resize the size of caracters or the shape of the note in order to get the smaller rectangle or square and the note should automatically resize themselves. If not this is a bug !!
http://www.softwarestencils.com/uml/#Visio2010 fixed this problem for me. If you want to have complete control over the formatting, this is the "only" way (at least that I've found) that doesn't cost anything.

Resources