How I can change positions between panels on Portal Demo of Ext js? - extjs4

I would like to know how I can do that the panels on extjs'portal demo – change positions between them. Example: If panel A is dragged and dropped over the position of panel B, panel B changes its position to the position of panel A.

Related

Programmatically know if a control (or empty cell) is merged in Access Form

I'm working with MS Access VBA, an I have an stacked design in a form (the yellow grid).
it's possible to know (programmatically) if a control (or empty cell) is in merged cell or not?
Thanks.
These are not cells, these are controls (labels, textboxes, comboboxes, etc). Controls are not merged. What you see is a grouped layout. Controls are associated as a group and controls will move together if you grab and drag the box in upper left. Resize width of one control and you resize all in same "column"; resize height and you resize all in same "row". Forms and reports built by Access wizards default to grouped layout. To remove grouping: select a group > right click > Layout > Remove layout.
To determine the layout type of a control, reference its Layout property.
Me.controlname.Layout
0 = not grouped
1 = tabular
2 = stacked

x and y coordinates of mouse location in Photoshop

How do I turn on the X and Y coordinates for the location of the mouse on screen?
I have Photoshop CC. I'm creating interfaces and would like to be able to know the location of my mouse.
Although I can't currently check as i don't have photoshop CC on this computer, from past experience if you go
Window -> Information
A palette should appear with the coordinates of the cursor in it.
Press F8 to open info palette. That will show your mouse position in x and y coordinates.
You can also press Ctrl + R to view the ruler. Then take the mouse to the top left corner and by dragging from there you can change 0,0 coordinates of x,y position to anywhere on canvas.
when you draw something like rectangle and draw with pressing space bar. It will show lively width height and x y coordinates as well in Photoshop CC
Position with guides and the grid
Guides and the grid help you position images or elements precisely. Guides appear as nonprinting lines that float over the image. You can move and remove guides. You can also lock them so that you don’t move them by accident.
Smart Guides help you align shapes, slices, and selections. They appear automatically when you draw a shape or create a selection or slide. You can hide Smart Guides if you need to.
The grid is useful for laying out elements symmetrically. The grid appears by default as nonprinting lines but can also be displayed as dots.
Guides and grids behave in similar ways:
Selections, selection borders, and tools snap to a guide or the grid when dragged within 8 screen (not image) pixels. Guides also snap to the grid when moved. You can turn this feature on and off.
Guide spacing, along with guide and grid visibility and snapping, is specific to an image.
Grid spacing, along with guide and grid color and style, is the same for all images.
Show or hide a grid, guides, or smart guides
Do one of the following:
Choose View > Show > Grid.
Choose View > Show > Guides.
Choose View > Show > Smart Guides.
Choose View > Extras. This command also shows or hides layer edges, selection edges, target paths, and slices.
Place a guide
If the rulers are not visible, choose View > Rulers.
Note:
For the most accurate readings, view the image at 100% magnification or use the Info panel.
Do one of the following to create a guide:
Choose View > New Guide. In the dialog box, select Horizontal or Vertical orientation, enter a position, and click OK.
Drag from the horizontal ruler to create a horizontal guide.
Drag to create a horizontal guide
Dragging to create a horizontal guide
Hold down Alt (Windows) or Option (Mac OS), and drag from the vertical ruler to create a horizontal guide.
Drag from the vertical ruler to create a vertical guide.
Hold down Alt (Windows) or Option (Mac OS), and drag from the horizontal ruler to create a vertical guide.
Hold down Shift and drag from the horizontal or vertical ruler to create a guide that snaps to the ruler ticks. The pointer changes to a double-headed arrow when you drag a guide.
(Optional) If you want to lock all guides, choose View > Lock Guides.
Move a guide
Select the Move tool , or hold down Ctrl (Windows) or Command (Mac OS) to activate the Move tool.
Position the pointer over the guide (the pointer turns into a double-headed arrow).
Move the guide in any of the following ways:
Drag the guide to move it.
Change the guide from horizontal to vertical, or vice versa, by holding down Alt (Windows) or Option (Mac OS) as you click or drag the guide.
Align the guide with the ruler ticks by holding down Shift as you drag the guide. The guide snaps to the grid if the grid is visible and View > Snap To > Grid is selected.
Remove guides from the image
Do one of the following:
To remove a single guide, drag the guide outside the image window.
To remove all guides, choose View > Clear Guides.
Set guide and grid preferences
Do one of the following:
(Windows) Choose Edit > Preferences > Guides, Grid, & Slices.
(Mac OS) Choose Photoshop > Preferences > Guides, Grid, & Slices.
For Color, choose a color for the guides, the grid, or both. If you choose Custom, click the color box, choose a color, and click OK.
For Style, choose a display option for guides or the grid, or both.
For Gridline Every, enter a value for the grid spacing. For Subdivisions, enter a value by which to subdivide the grid.
If desired, change the units for this option. The Percent option creates a grid that divides the image into even sections. For example, choosing 25 for the Percent option creates an evenly divided 4‑by‑4 grid.
Click OK.
To the top
Work efficiently with Smart Guides
Smart Guides come in handy in several scenarios, such as the following:
Option (Mac)/Alt (Win) + Drag a Layer: When you drag a layer while keeping the Option (Mac) or Alt (Windows) key pressed, Photoshop displays reference measurement guides showing the distance between the original layer and the duplicate layer. This feature works with both the Move and Path Selection tools.
Distance between the layers: original and duplicate
Distance between the layers: original and duplicate
Path measurements: Photoshop displays measurement guides while you're working with paths. Measurement guides are also displayed when you select the Path Selection tool and then drag a path within the same layer.
Path measurements
Path measurements
Matched Spacing: When you duplicate or move an object, Photoshop displays measurement guides to visually indicate spacing between other objects that match the spacing between the selected object and its immediate neighbors.
Cmd (Mac)/Ctrl (Win) + Hover Over a Layer: You can view measurement guides while working with layers. With one layer selected, hover over another layer with the Cmd (Mac) or Ctrl (Windows) key pressed. You can use arrow keys in conjunction with this feature to nudge the selected layer.
Measurement guides while working with layers
Measurement guides while working with layers
Distances from the canvas: When you hold down the Cmd (Mac) or Ctrl (Windows) key while hovering outside a shape, Photoshop displays distances from the canvas.
Distances of a shape from the canvas
Distances of a shape from the canvas
Spacing between matched objects

Visual Basic Two Panels Grow Fullscreen?

I just feel awkward when making these Layout as shown (Preview Link)
I have 4-panels.
Red Panel is the outer. I use a FlowLayout.
Black Panel is the inner Panel i use normal panel.
Then, I have Green Panel which is actually a new container for Blue Panel.
Now, my questions are....
What are the solutions if, I want to make Panel-4 Grow (to
stretch) until the edge (right) of the screen.
If I use a TableLayout Panel as a base Panel for Panel-4 &
Panel-3 is that appropriate? BUt If I apply Dock : FIll for that
TableLayout, it seems only stretching the vertical size only,
instead of all (V & H) size.
I would remove the outer red panel, Have one panel dock left, then do a split panel that fills the right and then modify the settings on how the upper panel (panel 1 property of the split panel) grows. You would basically say that the bottom panel (panel 2 of the split panel) is the fixed panel.

How to get sizes of visible area in Sencha Touch 2 application

I want to show DIV element on Panel with height equal to half size of visible area of the panel. There is no problem with resize. But how can I get sizes of visible area of the panel (without titlebars & toolbars)?
Ok, I have found only one way to do that.
You can find element with class x-scroll-container in current view. Sizes of this element will be the sizes of visible area.

dockstyle fill panel slides behind top/bottom docked panel

I have a form. It has a panel docked to the top and a panel docked to the bottom. The remainder of the form is a panel in the middle. I want it to expand to fill the remainder of my form so I set the dockstyle to FILL for this center panel. When I do this visually nothing jumps around but my resizing adorners move upward/downward behind my top and bottom docked panels. Now my resize adorners are the same size as the base form.
What am I doing wrong? My middle panel acts like it does not understand there is a boundary that is established by the top and bottom docked panels on the form. It just extends right past where I believe it should stop.
Try clicking on the middle panel that is getting overlapped by the other panels to select it, then right-click it and select Bring To Front from the context menu to fix the issue.
I recommend that you use a TableLayoutPanel, with one column and three rows. Set the Anchor property for all your panels to LEFT+RIGHT+TOP+BOTTOM, then set the row heights as you want. Fixed for the top and bottom, and "100%" for the middle.