custom container [closed] - sap

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
In SAP,
can we have a push button on custom container in ALV. Is it possible or is there any other possibilities for that.? Pls help me...
Thanks in advance

Well, I would rather use custom containers for things like tableviews. If you are working with the standard Dynpros you can just add a button in the dynpro designer and implement the behaviour you would like. To give a more detailled answer, I would need to know what you are planning to do. Of course you can also create a ALV grid and modify the buttons which are displayed there. Maybe you elaborate a little bit more what you're planning to do and then I can give you a recommendation.

Yes, this is possible - check out class CL_GUI_TOOLBAR and the associated documentation (like http://help.sap.com/printdocu/core/Print46c/de/data/pdf/BCCITOOLBAR/BCCITOOLBAR.pdf) and sample programs. AFAIR there's a demo program that lets you assemble a toolbar dynamically, I just don't remember the name. You'll usually want to insert some kind of splitter first, then add the toolbar to one side of the container so that you can place other elements like trees or tables next to it.

Related

Labview good practice and computation time [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I have two question for labview users. I'm quite new to this language, I would like to know if design like in the picture attached (extensive use of disable diagram structure) are:
a good practice to separate part of code (I like the structure input/computation/output)
does not imply extra computation time
labview disable structure
Thanks in advance!
PS: sorry I had to hide some code not my will...(licensed)
No, the code is compiled and disable structures are ignored. But the best practise is to use subVIs (with proper connector pane and icon) to structure input/computation/output.
Everything that is connected to the left of your subVI connector pane is input.
What you have in subVI is computation.
Everything that is connected to the right of your subVI connector pane is output.
Please have a look below:

Question about desicion symbol in flowchart [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I am trying to make a flowchart of my program (yes I know it is the wrong order to do it:) )
and I made a desicion symbol to represent the actionsheet I display in the iPhone application. It prompts the user "Yes, No, Cancel", so it is three options. However on all the templates/tutorials I have seen they only use "Yes" and "No" over the arrows which lead out from the desicion symbol. So could I use "Cancel" as well? If not how could I have done it otherwise?
You can do whatever you want with it, as long as it simplifies the meaning for your program. Decision making isn't restricted to 'yes' and 'no'.
Most of the time, flow charts are used to explain program logic to non-programmers. Your goal is to get them to understand what you program. We often use visual tools for this. You want to put all relevant information on there. If the cancel button is important to your program, put it on there. In my opinion there is no strict rule about what a flowchart should look like. Over time some basic form of flowchart has grown but you can add or remove whatever you want if it allows you to make more comprehensible charts.
Wikipedia suggests that decisions can have more than 2 choices, but should maybe be broken down. I see two options using a Google Docs drawing:
https://docs.google.com/drawings/d/11AhEIUOr9SdhXB1REculUy0NF9c628qaxfYVacUGfzU/edit?hl=en_US
I agree with the previous answer that the simpler it looks the better... whatever makes it most understandable. I think it's simpler to have 3 choices out of the 1 decision.

What is the difference between My.Computer.FileSystem.MoveFile and File.Move [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
The question says it all really.
What are the differences between these two methods that appear to carry out exactly the same function?
Is there guidance to say which should be used or are there conditions when you may use either?
The FileSystem.MoveFile has some more options than File.Move, like for example optionally showing a progress dialog, and creating the destination folder if it doesn't exist.
If you just want to move or rename a file, the File.Move method will be called in the end whichever you use, so calling it directly means slightly less overhead.
I believe they have near-identical functionality. Most people I've seen would prefer to use the latter, because "MyComputer." is a VB.NET-only construct, whereas File.Move is used in both C# and VB.NET. This makes it easier to get help, and easier for C# coders to read the VB.NET code and vice-versa.
I haven't checked My.Computer.FileSystem.MoveFile, but you can state if they are differences moving html files with associated images directories., because File.Move just move the file, but doesn't move the associated directory

How to create org charts in vb.net? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How to create org charts in vb.net?
Draw your own, using boxes and lines in the graphics paint method?
If you have Visio, then you could use Automation to create an org chart in Visio.
Get a copy of Microsoft Office and fire up Visio. Drag and drop to your heart's content. Why reinvent the wheel?
You could look at our component mentioned in the link above :
demos # http://www.orgchartcomponent.com/demo.aspx and download the samples from else where on the site!
The easiest way is to use the TreeView control.
It has several limitations for writing an org chart (no way to do double reporting or matrix
organizations), but if the org you want to represent is hierarchical, it is OK.
It does not require any type of extension like Visio or creating your own graphics: this is the main reason for which I used it in my application.
Draw appropriate icons to represente the various level of organization and do extensive use of tooltips to make it more usable. It can be easily put in a SQL DB.
Main source for information with several good examples:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.treeview(v=VS.100).aspx

smartphones and buttons [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed last year.
Improve this question
The .net compact framework on smartphones doesn't know the button component, the reasons are unknown to me. My question is: how do people usually get over this problem? I have know smartphone near me to check out, only a pda phone, which of course has touch screen and supports the button component.
What would you do ?
The lack of buttons is intentional as it violates Microsoft guidelines for smartphone platform. Instead you should use the menu, which for a thumb operated device is faster. It also helps to provide a common interface for all phone's applications.
If you need to have a button, you can easily create one of your own. see also this question.