Window inside another window in SAPScript
Hi ,
Is it possible to create a window inside a main window in SAPScript ? If so,how ?
Please help.
Thanks®ards
Ananya Mukherjee
Hi !
I don not think that will work...
but... windows can overlap - perhaps that may help you.
Simply create a new window that is laying "over" your main window... that's
working.
Regards
Rainer
Some points would be nice if that helped.
Similar Messages
-
Hey!
i'm having problems with a window i created inside another window, when i click the "x" for exit in the 2nd window, both windows close!!
how can i fix this??import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
public class Window_2 extends JFrame{
Label nombre, apellido;
TextField txNombre, txApellido;
Button ok;
Panel Pnl, PnlNombre, PnlOk;
public Window_2() {
Pnl= new Panel();
Pnl.setLayout(new GridLayout(2,1));
PnlNombre= new Panel();
PnlNombre.setLayout(new GridLayout(2,2));
PnlOk=new Panel();
PnlOk.setLayout(new GridLayout(1,1));
nombre= new Label("Nombre");
txNombre= new TextField(10);
apellido= new Label("Apellido");
txApellido= new TextField(10);
ok= new Button("OK");
PnlNombre.add(nombre);
PnlNombre.add(txNombre);
PnlNombre.add(apellido);
PnlNombre.add(txApellido);
PnlOk.add(ok);
Pnl.add(PnlNombre);
Pnl.add(PnlOk);
add(Pnl);
setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent evt) {
setVisible(false);
dispose();
} -
How do I move tabs from one window to another window?
With the previous version of firefox, I could drag a tab from one window to another window. (and if there was only one tab left in that window, it would automatically close that window because there were no more tabs open in it)
With the latest version of firefox, '''How do you drag or move a tab from one window to another window'''Hi,
To move to the next tab it's '''Ctrl''' + '''Tab''' or '''Ctrl''' + '''Pg Dn''' (Page Down). To go to the previous tabs (reverse order) it's '''Ctrl''' + '''Shift''' + '''Tab''' or '''Ctrl''' + '''Pg Up''' (Page Up) keys. More about this and other keyboard shortcuts [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts here.] -
How to use the 3 button mouse to swipe from one window to another window
when I use the trackpad in the macbook pro 2010 with 3 fingers, I can easily swipe left or right to another window that I setup one for my home and one for my office work, but I also use a external mouse, keyboard and big display to use the MBP with the lib close, this case how can do this with mouse itself under osx mavericks 10.9.1
thanks.Hi,
Any data sharing accross views can be achiveved by defining CONTEXT data in COMPONENT CONTROLLER and mapping it to the CONTEXT of all the views. Follow the below steps.
1. Define a CONTEXT NODE in component controller
2. Define same CONTEXT NODE in all the views where this has to be accessed & changed.
3. Go to CONTEXT NODE of each view, right click on the node and choose DEFINE MAPPING.
This is how you map CONTEXT NODE and same can be accessed/changed from any VIEW or even from COMPONENT CONTROLLER. Any change happens at one VIEW will be automatically available in others.
Check the below link for more info regarding same.
[http://help.sap.com/saphelp_nw04s/helpdata/EN/48/444941db42f423e10000000a155106/content.htm]
Regards,
Manne. -
Is it possible to display a cmd window inside the windows form? Visual Basic
If so Can u show me how?
Because i have a .exe i'm trying to open in the Form
the exe open up a command line but i what it to look like this
01
02
|------------------------------------------------|
03
|
this is your main form |
04
|
|
05
|
/--------------------------------------\ |
06
|
|######################################| |
07
|
|#####the cmd screen is shown here#####| |
08
|
|######################################| |
09
|
\--------------------------------------/ |
10
|
|
11
|
[ a button ] |
12
|
the button run/open the cmd/exe
|
13
i do not what it to open up another window
Please help!!!
please and thank youHi,
Here is a simple example you can try. I don`t know when or how you are opening the cmd windows or anything else so it probably is not exactly what you want. You can test it in a new form project with 1 Button and 3 Panels added to it. each time you
press the button it opens another cmd window until the 3 panels are full. Being i am only using 1 timer it will only allow you to open each cmd window after the timer tick code finds the previously opened cmd window and sets its parent as one of the
panels.
Imports System.Runtime.InteropServices
Public Class Form1
Private WithEvents Tmr As New Timer With {.Interval = 200}
Private Const HWND_BOTTOM As Integer = &H1
Private ProcCnt As Integer = 0
Private CmdWindows(2) As Process
<DllImport("user32.dll", EntryPoint:="SetParent")> _
Private Shared Function SetParent(ByVal hWndChild As IntPtr, ByVal hWndNewParent As IntPtr) As IntPtr
End Function
<DllImport("user32.dll", EntryPoint:="SetWindowPos")> _
Private Shared Function SetWindowPos(ByVal hWnd As IntPtr, ByVal hWndInsertAfter As IntPtr, ByVal X As Integer, ByVal Y As Integer, ByVal cx As Integer, ByVal cy As Integer, ByVal uFlags As UInteger) As <MarshalAs(UnmanagedType.Bool)> Boolean
End Function
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If Not Tmr.Enabled And ProcCnt < 3 Then
CmdWindows(ProcCnt) = Process.Start("cmd.exe")
ProcCnt += 1
Tmr.Start()
End If
End Sub
Private Sub Tmr_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Tmr.Tick
Dim pnl As Panel = CType(Me.Controls("Panel" & ProcCnt.ToString), Panel)
If SetParent(CmdWindows(ProcCnt - 1).MainWindowHandle, pnl.Handle) <> IntPtr.Zero Then
Tmr.Stop()
SetWindowPos(CmdWindows(ProcCnt - 1).MainWindowHandle, New IntPtr(HWND_BOTTOM), 0, 0, pnl.ClientSize.Width, pnl.ClientSize.Height, 0)
End If
End Sub
Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
For i As Integer = 0 To CmdWindows.Length - 1
Try
If CmdWindows(i) IsNot Nothing AndAlso Not CmdWindows(i).HasExited Then CmdWindows(i).CloseMainWindow()
Catch ex As Exception
End Try
Next
End Sub
End Class
If you say it can`t be done then i`ll try it -
Pdf in a window inside another pdf?
Hello,
Im comfortable using the multimedia tool and like the way it works inside a pdf.
So does anyone know how to make it so that inside one pdf there would be a window that prewievs another (attached or linked) pdf in a certain area? So just like linking a movie or a 3d file but for linking another PDF-file.
Thanks!You may find this cheesy, but...
Buttons in Acrobat are usually part of the form tool, but since buttons can be any size, you can “fake” a pop up window. First, a designer creates a one
page popup in InDesign and exports it as a PDF. Then, using the Button Tool on the Forms Palette, the designer creates a button with the popup PDF as the button’s icon. That button is set to hidden. Next, the designer creates a visible button that when “pushed” makes the hidden popup visible.
The file I'm attaching came from a demo I did a couple years ago. You can use it as an example of what you might need.
Hope it helps.
Greg Ledger
www.macproductionartist.wordpress.com -
How to get what was typed on a window which is inside another window
Hey guys!
I'm having a problem, i have created a program and when you click on a certain button a small window appears which was created from a class that i named Window...anyway this small window asks for a name, but somehow i can't send what was written in that window to the program that contains the main window...
i've tried creating a method in the class Window, which is called public String returnName(){ return, name;} but this doesn't return anything.
i hope you guys understand what i'm trying to say, if you do, any ideas of how i could do this???!!
-O.D.this is the class Name1Window:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
import javax.swing.JTextField;
public class Name1Window extends Frame implements ActionListener, WindowListener
Label name;
TextField txName;
Button ok;
Panel Pnl, PnlName, PnlOk;
private String n;
private String ln;
public Name1Window()
n= "";
ln="";
setSize(200,110);
setTitle("Search");
Pnl= new Panel();
Pnl.setLayout(new GridLayout(2,1));
PnlName= new Panel();
PnlName.setLayout(new GridLayout(2,2));
PnlOk=new Panel();
PnlOk.setLayout(new GridLayout(1,1));
name= new Label("Name");
txName= new TextField(10);
ok= new Button("OK");
PnlName.add(name);
PnlName.add(txName);
PnlOk.add(ok);
Pnl.setBackground(new Color(161, 187, 241));
Pnl.add(PnlName);
Pnl.add(PnlOk);
add(Pnl);
ok.addActionListener(this);
addWindowListener(this);
public void actionPerformed(ActionEvent e)
{//If the user clicks ok:
if(e.getSource()==ok)
String n1, ap1;
n1= txName.getText();
//calls the method save name and sends whatever was typed in txName:
saveName(n1);
dispose();
public void saveName(String n2)
this.n= n2;
//If you write a System.out.println(n) it WILL print what was typed!!
public String returnName()
return n;//It's gonna return a " "
public void windowClosing(WindowEvent e)
//It exits the small window; Name1Window
dispose();
public void windowOpened(WindowEvent e){}
public void windowClosed(WindowEvent e){}
public void windowActivated(WindowEvent e){}
public void windowDeactivated(WindowEvent e){}
public void windowIconified(WindowEvent e){}
public void windowDeiconified(WindowEvent e){}
} -
Creating new window on another window
Hi Friends ,
I am designing a form for payroll . I defined all the boxes in one window and the respective headings . Now I need to pass data for earning and deductions to the respective columns . I have 5 columns for earnings and 3 columns for description .
I have create 2 new windows window 1 and and window2 over top of the box window . window1 will cover is also the main window and will contain data for all the earnings . window2 will cover the data for deduction and is a var window .
Rite now i am able to get data in the window1( MAIN ) window . No data seems to be showing up in the window2(VAR) window . Is my approach correct ? Please advise .
Thanks ,
HariHari,
the repeated items can print only in main window. So u call 2 diff elements and call both into the main window. First element has Earnings and second for Deduction.
Now in form, u design like 1 window for earnings. 2nd is for deduction. In programe
write as below
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'EARN'
function = 'APPEND'
window = 'MAIN'
EXCEPTIONS
OTHERS = 7.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'DEDUCT'
function = 'APPEND'
window = 'MAIN'
EXCEPTIONS
OTHERS = 7.
Hope it will work -
New Window command always gives a window within a window
Whenever I do "New Window" in Firefox, I get a "window within a window" (the two X's at the upper right are on top of each other) and I get a "Firefox v" orange tab (which gives a two column menu).
I can't seem to get things to work the old way where the window looks like a regular window instead of a window inside a window.
I'm using Firefox 5 on Windows XPClick the link to [http://support.mozilla.com/en-US/kb/Options%20window%20-%20Content%20panel?as=u#w_content-settings Advanced JavaScript Settings]
You need to uncheck the setting which enables sites to resize windows. This option is accessible in the submenu by clicking the "Advanced" button in the Javascript menu shown in the image. -
Sapscript: position inside the window
Hi developers,
I have 2-3 lines in a window that I want to put at the bottom of this window even if the space between the the beginning and the bottom is variable. I can't use another window.
How can I do that?
thanks,
SimoneYou cannot collect elements or give position within bottom ..Endbottom because once it is called for the first time
Position is fixed and cannot be replaced by another ..
Either you have to give blank lines manually
Or
Set a Flag in the main program.instead of calling with elements
In the script coding instead of using any /E items Use:
Bottom
If &Flag&
code...to print
Endif
Endbottom
Regards,
Gurpreet -
SAPScript - moving standard texts inside a window
Hi!
I have a standard text (logo image) in Header window and I would like to move it right, how to do it? Should I create a separate window just for logo or it is ok to move it inside Header window?
Seems so that by default it is aligned left.
Will reward,
Mindaugas.Hi,
If the window is only having the LOGO,
Then the best approach will be to move the window iteself..
Goto the page where the window is used..
Double click on window name and it will be hilighted..
Now, see at the down you will be able to see Left Margin and Right margin..
Make changes to Left Margin, save, activate and and goto-->utilities->test print..
Adjust the window accordingly by changing the margin value and test print..
And..
No need to change anything in the window elements.
It should only have
/: INCLUDE .....
Thanks and Best Regards,
Vikas Bittera. -
Folder/ file icons are different sizes from one window to another!
Hi there
I am having an extremely annoying problem where all my folders and files (in icon view) are totally different sizes from each other from one window to another. For example, I might click on a folder that's icon is small sized (64x64), but when that folder opens up, the icons of the subfolders inside are huge (276x276) and need to instantly be resized and re-arranged. Then if i continue to open one of these subfolders, the file icons inside it are now medium sized (96x96). Each new folder that I go into on my hard drive will be differently sized and I end up spending ages resizing and re-arranging them before I can do my work. This problem never happened in Leopard and Im despairing of what to do.
Is there a way of setting a default icon size and spacing that can then be applied to every folder and file on the hard drive? I have used the 'Use as defaults' option on the 'View options' window but this doesn't apply it to anywhere else besides the current window you are on.
Surely, Im doing something wrong as Apple could never have overlooked such an obvious problem like this?
Can anyone advise?
Many thanks
DanThe Finder will (theoretically) remember the view settings for each individual folder that you visit. If you have not opened a particular folder before, you should get the default view settings, but once you have changed the view then that is what you will get on subsequent visits. You can erase the previous settings by deleting the (normally invisible) .DS_Store file that is created in a folder when it is opened, but this file can contain other Finder metadata.
-
Another window keeps popping, how to get rid of that
another window keeps popping in spontaneously. Have i got a virus/malware.
Mac cleaner keeps popping in.
How do I avoid that?There is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware.
Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:
/Library/LaunchDaemons
In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
A folder named "LaunchDaemons" may open. Look inside it for a file with a name of the form
com.something.daemon.plist
Here something is a variable word, which can be different in each case. It could be "cloud," "dot," "highway," "submarine," "trusteddownloads," or pretty much anything else.
There may also be a file named
com.something.helper.plist
in the same folder.
Leave the LaunchDaemons folder open, and open the following folder in the same way:
/Library/LaunchAgents
In this folder, there may be a file named
com.something.agent.plist
where the word something is exactly the same as before.
If you feel confident that you've identified these three files, back up all data, then drag the three files you found to the Trash. You may be prompted for your administrator login password. Close the windows and restart the computer.
Don't delete the "LaunchAgents" or "LaunchDaemons" folder or anything else inside either one.
The malware is now permanently inactivated, as long as you never reinstall it. You can stop here if you like, or you can remove two remaining components for the sake of completeness.
Open this folder:
/Library/Application Support
If it has a subfolder named just
something
(where something is the same word as before), drag that subfolder to the Trash and close the window.
Don't delete the "Application Support" folder or anything else inside it.
Finally, in this folder:
/System/Library/Frameworks
there may an item named exactly
v.framework
It's actually another folder, though it has a different icon. Drag it to the Trash and close the window.
Don't delete the "Frameworks" folder or anything else inside it.
If you didn't find the files or you're not sure about the identification, post what you found.
If in doubt, or if you have no backups, change nothing at all.
The trouble may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
Install system data files and security updates (OS X 10.10 or later)
or
Download updates automatically (OS X 10.9 or earlier)
if it's not already checked. -
My iMac all of the sudden started going in and out of the dashboard, then started changing all files on the desktop to 2's. It also did this when having another window open. Do I have a virus?
There are no viruses that can affect Apple OS X.
What files do you keep on the Desktop? How many?
Performance tip: Keep the Desktop clutter-free (empty, if possible)
Mac OS X's Desktop is the de facto location for downloaded files, and for many users, in-progress works that will either be organized later or deleted altogether. The desktop can also be gluttonous, however, becoming a catch-all for files that linger indefinitely.
Unfortunately - aside from the effect of disarray it creates - keeping dozens or hundreds of files on the Desktop can significantly degrade performance. Not necessarily because the system is sluggish with regard to rendering the icons on the desktop and storing them in memory persistently (which may be true in some cases), but more likely because keeping an excessive number of items on the Desktop can cause the windowserver process to generate reams of logfiles, which obviously draws resources away from other system tasks. Each of your icons on your desktop is stored as a window in the window server, not as an alias. The more you have stored, the more strain it puts on the window server. Check your desktop for unnecessary icons and clear them out.
Keeping as few items as possible on the Desktop can prove a surprisingly effective performance boon. Even creating a single folder on your Desktop and placing all current and future clutter inside, then logging out and back in can provide an immediately noticeable speed boost, particularly for the Finder.
And it is why Apple invented 'Stacks' for Leopard.
Here is Apple's take on the subject:
http://www.apple.com/pro/tips/immaculate_desktop.html -
Move New Windows Inside Recording Area & More
Hi All
I have a few questions for all those kind people who
contribute their time and experience here.
I am exploring Captivate and have trouble with my new windows
or dialogs jumping outside the recording area. I am creating movies
using 'Custom Size and when I open new dialogs, they are opening up
outside of the recorded area. I have the 'New Windows Inside
Recording Area ' recording option checked, but it still happens. Is
there something I am missing, another setting perhaps or a
combination of things I am doing or not doing to prevent this?
Another problem I am having occurs when I am recording a CAD
application. When I open new dialogs and then close them, I get
this display problem that shows where the dialog just appeared. The
problem is that my application is blank where the dialog box was -
I cannot see any of the icons of commands. It only ever happens
when I am recording, not when I am generally using the program. Is
this a known phenomenon, maybe a video card acceleration or OpenGL
issue perhaps?
Thanks in advance - I look forward to hearing from anyone who
can help me solve these issues.
Cheers,
spritc.Hi there "spritc.",
To your first problem, that of those pesky windows opening
outside the selected recording area, if you use "Application"
instead of "Custom", I think you'll find you have better luck.
To your second problem, yes, I think you figured it out, you
have a problem with video. Try disabling hardware acceleration and
see if that won't help with the "shadow of where it was" issue.
That option is in "Control Panel > Display > Settings (tab)
> Advanced" on most systems.
Now, a lesson in Captivate (or you can call it a "rant" by an
old-timer if you wish).
Many new users have been so "sold" on Captivate's "automatic"
features that they have forgotten what its real purpose is, and
that sometimes there is more than one way to accomplish it. It was
created to fill a need to capture background changes in
applications, then add objects to those changed backgrounds to
accomplish the true goal of electronic learning through
demonstration and/or simulation. Notice that nowhere in that
statement did I use the word "fast", nor "automatic", nor
"effortless", nor did I add "without the effort of thought".
"spritc.", this is not directed at you nor meant to demean
you in any way. The statement above is a result of my own
frustration with a lack of reality in advertising and promotion of
the product - not just Captivate but all products. With that said,
here is how you do what you want to do:
About Windows: Be aware that all "Windows" applications
share some helpful features. One is that when an application is
opened, it should open in a window of the same dimensions, and at
the same position as the position and dimensions it occupied when
it was last closed. That includes - or is supposed to - additional
supporting pop-ups and dialog boxes (windows) for the application.
Another feature of Windows applications is that if the main
application window is placed too closely to - say - the right edge
of the screen (or the bottom, or the top) and is too close for an
attached drop-list to appear to the right, it will automatically
appear instead - on the left, or above its normal position. In
other words, Windows compensates for bad positioning by adjusting
its location of appearance on the screen. So much for issues
created by and corrected by the Windows OS.
About Captivate: When in "Record" mode, Captivate does take
a snapshot each time it detects a change in the background (caused
by what we call an "event"), thus automatically creating a series
of snapshots that we know as a demonstration or simulation, as the
case may be. But there is a key on the keyboard that is much
ignored, but of greatest value - it is named the "PrtScr" key, and
(by default - it can be changed to another key) pressing it will
cause Captivate to "snap" a background image, in addition to those
snapped automatically by the detection of an "event". Captivate
also gives you a feature that is nearly unknown among new users ...
it is called the "other option". That is (to give you a simple
example), while the Recording Options dialog gives you the
(default) action of automatically recording keystrokes, the act of
un-ticking this box gives you the
other option of
not automatically recording keystrokes. There are many
"automatic" functions that are the default selections during the
recording of a Captivate movie, and each gives you the option of
turning it off.
Now, let's put these two groups of knowledge together. Before
recording, know what you are going to "click" to create a
background change image. Then do a "walkthrough" without Captivate
running. Each dialog box that pops up should be adjusted for size
and position during this walkthrough so that when Captivate's
actual image-recording begins, each dialog will appear where you
want it. Also, each menu item that opens outside the recording area
should be tested to see where it will appear; if the "File" menu
item you want is falling off the bottom of the recording area, try
positioning the main application window lower on-screen . . . this
should force the "File" menu items to appear to "drop up", instead
of "dropping down", allowing the wanted item to appear properly
within the recording area. Finally (for this excerpt), you should
always have one eye on that "PrtScr" key mentioned above. There may
be times when using that magic key to force the capture of a
background, is the only way to grab an image of a "missed event" -
for instance, the appearance of a tooltip.
In conclusion, don't blindly buy what the advertising people
are selling. Be prepared to use your imagination and even some
preparation work in making your movies. There are very few things
that Captivate can't do in its line of work, but somethimes you
have to do the "thinking" for it.
Have a really great day!!
Maybe you are looking for
-
I have a Sharp LC-32PX5M 32-inch LCD TV. I also have an iPad 1 which I would like to use with Apple TV 2. How do I know if they are compatible with AppleTV 2? These are the specs: Sharp LC32PX5M LCD HDTV Information Manufacturer Sharp Manufactur
-
Okay i have a dazzle capture card and i want to use it with a new hdtv but none of the hdtvs seem to have the right output unless i dont know what its called please help me!
-
Final Cut Quits after launch unexpectantly
I havent used final cut express since I did the last apple update. I open final cut express and I get an error message that unable to see firewire device and then i have an option to check again or continue to say devices connected are none. Nothing
-
Where has my incoming mail gone ?
Guy Plasschaert email : [email protected] Comments : I wanted to delete an address from my address-book. On the address-card I marked the to-delete-name and clicked "delete" - it didn't work - I couldn't delete the address; I went in my menu to "Post
-
Shared Members with Integration Server
Hi all,I need to add as shared members some member in an alternative hierarchy, but when I perform an outline update IS adds members as shered again in my alternative hierarchy.I have two ways:first: say to IS to add as shared only new members, but I