how to get toolbar of ALV CLASSIC in ALV with IDA? - sap

I am programing a CDS VIEW using ALV with IDA, but i have a question..
how to add toolbar of alv classic in ALV IDA, especifically the layout buttons?

Related

QT designer layout inside layout

I am not able to design below layout in qt -designer
So under main window , we have one horizontal Layout that have two vertical Layout and each vertical Layout have.
one horizontal Layout that contains combo box and push button
And another Listview widget
Since you didn't include any information about what steps you followed in trying to create this layout and what the final result was, it's impossible to tell where things go wrong. However, to create the layout as described in the post, you could do the following.
Step 1: Add widgets to form
In a new form in Qt Designer, roughly place the widgets where you want them to be in the final layout.
Step 2: Add widgets to layouts
Add widgets to layouts starting with the deepest nested widgets. In this case that would be the comboboxes and push buttons. To add a push-button and combobox to a layout, select both push-button and combobox, either in the layout itself or in the object inspector, right-click on the selection and select lay out > lay out horizontally in the context menu.
Repeat these steps for the other widgets and layouts. When adding the horizontal layout and the list view to a vertical layout, make sure you select the layout and not one of the widgets in the layout:
Step 3: Set layout of main window
To set the layout of the main window, right-click either anywhere in the main area of the form outside of any child widget or on the MainWindow node in the object inspector and select layout > lay out horizontally. This should result in something like this
And the object tree in the object inspector will look something like this

Changing View on Xamarin Studio

Currently my view is stuck with my "Watch" outside of my other views:
Ideally I would like to have my "Watch" tabbed in with my other views such as "Locals, Breakpoints, Threads, Application Output."
Normally this would be as simple as dragging the "Watch" into the other tabbed views. However, I have been unable to do that and it just snaps back to a solo tab.
How do I combine all these tabs? This is driving me crazy.
Figured it out! This wasn't as intuitive as it could be:
To conjoin separate tabs, you need to drag the tab to the CENTER of the new tab as seen in the picture below.
Note. Do not try to drag the new tab to the TABBED part. Simply drag it to the center of where you want to conjoin. In the above picture I am dragging the Breakpoints tab into these tabbed views.

How to create the NSMenuItem view for a menu item with an embedded NSProgressIndicator?

I would like to create a menu item with an embedded NSProgressIndicator, similar to the "Wi-Fi: Looking for Networks…" menu item of the Wi-Fi status menu:
I think that I will need to use the setView: method as discussed at: Views in Menu Items. However, when I call setView: and pass an NSProgressIndicator, only the NSProgressIndicator is displayed.
How can the custom menu item view be created to get a similar result as the "Wi-Fi: Looking for Networks…" menu item of the Wi-Fi status menu?
As noted in the document to which you linked:
A menu item with a view does not draw its title, state, font, or other standard drawing attributes, and assigns drawing responsibility entirely to the view.
So, if you want your menu item to look like a normal menu item plus some other stuff, your view has to draw the normal menu item features in addition to the other stuff. So, you could set the menu item's view to a custom view. The progress indicator would be one subview of that custom view, but you would need other subviews for the other features. For example, a text field for the text of the menu item and an image view for a state indicator (if your item shows state).
You'll have to draw highlighting as the item is selected or tracked. You'll also have to do mouse tracking. Apple has some sample code which demonstrates various parts of this:
MenuItemView
CustomMenus
GridMenu

XAML Design view stuck in 'snap to grid' view

Silly question, but I somehow switched the XAML/Design view to 'snap to grid' view and can't seem to get it back to the standard design view, even by resetting VS to default settings. What's the hot-key to get my XAML/design view back to the normal view instead of the grids? Visual Studio 2012.
There are a series of three toggle buttons in VS2012, at the bottom of the XAML Designer (also called the 'Artboard'), and to the left of the scrollbar below it. These three toggle buttons will do the following (in order from left to right):
Show/hide gridlines
Enable/disable snapping to gridlines
Enable/disable snapping to snaplines (baselines, alignment margins, and the like)
These are also described a bit further here. They're settable via Tools -> Options as well.

Annotation view similar to iPad Maps application

In the maps application on the iPad, the annotation view's right callout accessory view looks like a detail disclosure button in the sense that it's blue with a white border, but instead of the right arrow, it has a lower-case 'i', similar to the info buttons. Assuming that this isn't custom, how do I create one?
Also, once that button is clicked, the annotation view is resized with an animation to include a table view underneath the title, and the view is moved to the left using an animation. Is this also a custom call, or is there a built-in API call for this behavior?
Well, here's how to show the table + popover: https://stackoverflow.com/a/5583505/394504
And here's a cocoa control that does what I want: http://www.cocoacontrols.com/platforms/ios/controls/gikanimatedcallout