Making dialog close button ("X") at the top invisible
Can any one tell me how to make the close button of invisible or enabled(false) i.e should not be visible at all. Any help is appreciated.
i dont think its possible at all cause it should be platform-independent idea, but i dont think ALL platforms should have the X cross at the corner(or top, or side) of it.
Best wishes, Boris
Similar Messages
-
How to 'Exit' OO ALV screen type 'Model Dialog Box' using 'X' on the top?
HI Experts,
I have the below issue in my OO ALV screen type 'Model Dialog Box'...
The main screen is OO ALV and displays rows of data,
When select a line(row) and push any buttons
( u201CAdd Materialu201D, u201CAdd Binu201D, u201CModify Binu201D, u201CMove Materialu201D, u201CDisplay Batchesu201D)
the program will take you to next screen and it is a u201CModal dialog boxu201D type.
That screen has two buttons to exit ( u201CSAVEu201D and u201CCancelu201D ) on the bottom of the screen.
User would like to exit the screen using u201CXu201D on the top line right corner.
That u201CXu201D is not on for the u201CModal dialog boxu201D type screen.
How do I add event to close that screen using u201CXu201D?
Thanks in advance,
John.data :GR_EVENT_HANDLER TYPE REF TO LCL_EVENT_HANDLER,
GR_DIALOG_CONTAINER TYPE REF TO CL_GUI_DIALOGBOX_CONTAINER,
CLASS LCL_EVENT_HANDLER DEFINITION.
PUBLIC SECTION.
METHODS :
HANDLE_USER_COMMAND FOR EVENT USER_COMMAND OF CL_GUI_ALV_GRID
IMPORTING E_UCOMM,
HANDLE_ON_DIALOGBOX_CLOSE FOR EVENT CLOSE OF CL_GUI_DIALOGBOX_CONTAINER
IMPORTING SENDER,
ENDCLASS. "lcl_event_handler DEFINITION
CLASS LCL_EVENT_HANDLER IMPLEMENTATION.
METHOD HANDLE_USER_COMMAND.
CASE E_UCOMM.
WHEN 'DBCON'.
PERFORM DIALOG_DISPLAY.
ENDCASE.
ENDMETHOD. "HANDLE_USER_COMMAND
METHOD HANDLE_ON_DIALOGBOX_CLOSE.
IF NOT SENDER IS INITIAL.
CALL METHOD SENDER->FREE
EXCEPTIONS
OTHERS = 1.
FREE GR_DIALOG_CONTAINER.
CLEAR GR_DIALOG_CONTAINER.
ENDIF.
ENDMETHOD. "handle_on_dialogbox_close
ENDCLASS. "lcl_event_handler IMPLEMENTATION
FORM DIALOG_DISPLAY .
DATA : L_TEXT(255),
L_LIN TYPE I.
IF GR_DIALOG_CONTAINER IS INITIAL.
CREATE OBJECT GR_DIALOG_CONTAINER
EXPORTING
PARENT =
WIDTH = 400
HEIGHT = 150
STYLE = CL_GUI_CONTROL=>WS_SYSMENU
REPID =
dynnr = '100'
LIFETIME = lifetime_default
TOP = 100
LEFT = 350
CAPTION = 'Error Dialog Box'
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 5
EVENT_ALREADY_REGISTERED = 6
ERROR_REGIST_EVENT = 7
OTHERS = 8.
ENDIF.
SET HANDLER GR_EVENT_HANDLER->HANDLE_ON_DIALOGBOX_CLOSE FOR GR_DIALOG_CONTAINER.
REFRESH IG_INDEX_ROWS.
CLEAR WG_SELECTED_ROW.
CALL METHOD GR_ALVGRID->GET_SELECTED_ROWS
IMPORTING
ET_INDEX_ROWS = IG_INDEX_ROWS.
DESCRIBE TABLE IG_INDEX_ROWS LINES L_LIN.
IF L_LIN GT 0.
READ TABLE IG_INDEX_ROWS INTO WG_SELECTED_ROW INDEX 1.
READ TABLE IG_SAL INTO WG_SAL INDEX WG_SELECTED_ROW-INDEX.
CONCATENATE 'Item' WG_SAL-POSNR 'of Sales Order' WG_SAL-VBELN 'has been selected' INTO L_TEXT
SEPARATED BY SPACE.
ELSE.
L_TEXT = 'Enter Netvalue greater than 500'.
ENDIF.
CALL METHOD GR_HTMLD->ADD_GAP
EXPORTING
WIDTH = 1.
CALL METHOD GR_HTMLD->ADD_TEXT
EXPORTING
TEXT = L_TEXT.
CALL METHOD GR_HTMLD->NEW_LINE.
Display the data
CALL METHOD GR_HTMLD->DISPLAY_DOCUMENT
EXPORTING
PARENT = GR_DIALOG_CONTAINER.
ENDFORM. " DIALOG_DISPLAY -
Sap.m Dialog close button outside
Hi All,
I have recently started working with sap.m library. I have sap.m dialog box wherein I have some fields like a user details form.
What I need is to have a close button outside top right corner of the dialog box. I tried placing button in the top header and used margin-left but it won't come out. In dialog box. My dialog has a top heading and a sub heading (no headers, I disabled the header) both as labels. Then a horizontal dividing lines and then the form fields. All this is done using matrix layout. Form fields are in separate matrix layout and rest in separate. Modal property is set to true which is part of requirement.
I visited may blogs, forums, etc but couldn't find any relevant solution.
Please suggest how to place that button or cross image outside the top right corner of the dialog.
Thanks
Suresh K.Edited Dennis Seah's example & was able to achieve it. check this, JS Bin - Collaborative JavaScript Debugging</title> <link rel="icon" href="http://static.jsbin.…
-
I have a Mac Air. I use the mail application al the time. THe red, yellow, and green buttons disappeard. i have to force-quit now to close mail.. How do i get the buttons back? thanks.
Mail window may be in the Full Screen mode.
Move the mouse pointer to the top right corner of the Mail window and hold it there.
Menu bar should drop down and click the blue double arrow icon.
Full Screen toggle shortcut: control + command + F -
I have a HP Media Center PC with XP Professional with all 3 fixes. I don't know what more details you need. When I start page comes up for Firefox it is properly positioned. When I start to type in the search box of Google it jumps to the bottom of the page making it necessary for me to scroll back to the top before I can try to type again. Very annoying!
Do you have the Google Toolbar installed?
See:
* http://www.google.com/support/toolbar/bin/static.py?page=known_issues.cs -
Why isn't the Firefox button right at the top anymore?
When I was running the beta builds (up to B8), the Firefox button was right at the top right of the windows (as it is supposed to be). After updating to FF4B9 (and on), the button is displayed here: http://i174.photobucket.com/albums/w111/troop172/FF4.png
I have tried to uninstall/reinstall FF but it doesn't fix the problem.
I am currently running FF4GM*There is now one large urlbar container that contains the location bar and the Back and Forward buttons and the combined Stop/Reload/Go button that is located at the right end of the location bar.
*This urlbar container is locked to its position on the Navigation Toolbar and can't be moved.
*This change also has the consequence that you can no longer hide the Navigation Toolbar, so you do not see this bar in the right-click context menu of the toolbar area that shows which toolbars to show or hide.
Firefox 29 and later versions have the Australis interface that looks different than the user interface in Firefox 28 and older versions.
*With the Australis interface the orange Firefox menu button has been replaced by the three bar Menu button at the far right end of the Navigation Toolbar<br>A consequence of this new menu button is that you no longer can hide the Navigation Toolbar
*There is a star like button to the right end of the search bar on the Navigation Toolbar to bookmark the current web page and a "Show your bookmarks" button next to it to open the Bookmarks in a drop down menu
*It is still possible to have the menu bar visible via the right-click context menu on the toolbars to have menus like the the Bookmarks menu
You can look at the Classic Theme Restorer extension to restore some functionality that was lost with the arrival of the Australis style in Firefox 29.
*Classic Theme Restorer: https://addons.mozilla.org/firefox/addon/classicthemerestorer/
*https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox
See also:
*https://support.mozilla.org/kb/common-questions-after-updating-to-new-firefox
*https://support.mozilla.org/kb/learn-more-about-the-design-of-new-firefox
*https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox -
I can log in my Gmail account, but when I want to log out, the usual "button" on the top right end of the window does not provide the menu with the log out choice.
Is there something wrong with the Firefox setting or is there any other way to log out?
Thanks
EdoardoBummer! Hopefully this will change in the future. At least I know now that I am not crazy for not seeing the pages icon! Thanks so much :)
-
Default CLOSE button (X) on the upper right hand corner
Hi All,
When Oracle Forms is launched, there are 3 default buttons on the right hand corner: Maximize,Minimize and Close button.
The maximize and minimize button on ALL of my forms are working PERFECTLY fine.
HOWEVER, the close(X) buttons do NOT work at all. When user clicks it, the forms blink once and do nothing.
My form version is: 9.0.2.11.0
How can I fix it?And take care if your form has multiple windows - you might not want all of them to exit the entire form. If you put your W-W-C trigger at form level you can determine which window is being closed using :system.event_window
-
What is this? I just downloaded FF 4 beta 1, and I make figure out what all of this at the top of my screen is for. I wish I could send you a screen shot! The actual window is cut in half...what the hell?
== This happened ==
Every time Firefox opened
== As soon as it was downloaded and installedThat's Page Saver, and it's great for taking a snap shot of a webpage. It doesn't capture any of the browser tool bars and such, though, and that's where my problem is. I've got a great splat of toolbar and many many many colored buttons and other random things eating up the top four or more inches of the screen when I open FF4b1, and I can't get rid of it. A screen capture shows the problem well, but something made with Page Saver only shows the web content and none of the browser.
This is turning out to be far more trouble than it's worth. -
Hi everyone.
Im new to these forums, and have decided (or more like
forced..hehe) to use CSS. Now, i am going over the tutorials, but
have yet to see something that can help me out. (Or my CSS
understanding needs more understanding). I am trying to make a
table/div bleed all the way to the top and bottom.. If you take a
look at this site:
http://www.helenbwilson.com
Ok, I want to keep the black background, but I want the white
to run all the way to the top and bottom-that is, just having black
to the sides. Can I acheive this, without having to do a complete
makeover of the site? I am willing to do that, but right now, I
want to get my friends site up and running, and when one is
complete, I want to go in and re-do it in CSS (Which i will make
another topic so I can get help with that..) But for right now, I
was wondering if there is something I can do about it right now. I
am using Dreamweaver 8.
Any help would be greatly appreciated!
Thanks, and hopefully I will get better at CSS..
-psypentyou have to remember what stacks are for, and many people don't.
they're not designed to categorise and group images. they're designed to group images which are almost identical. for example, when I'm shooting a neighbourhood bird, I'll usually take 10 or more photos of the bird in the same setting with almost the same pose. I'm not sure which photo will have better focus or in which photo the bird's expressions will be better. once back in Aperture, I can group these near-identical photos into a stack and then rank them (I actually prefer to rank them first before stacking). the result is that I only see the best image from that set. if there are other photos in the stack that are different or that I might want to use independently, they'll have to be removed from the stack.
alternatively but not as ideal, you could view the images in Multi mode, applying ratings and keywords to the images even while they are in stacks. you could then use Smart Albums to get to specific images within stacks by turning on the 'Ignore Stacks' preference at the bottom of the filter HUD. -
HT2492 how to add the close button icon on the internet tabs
i dont know what happened but if i want to close the new tab i entered from the safari i still have to do the long process instead of just clicking the "x" button to close it,., it disappeared last night and i dont know how to put it back,., prolly i accidentally press an icon to detached it from the tool. how will i restore it?
Since your posting in the swing project forum, I assume your talking about JDialog. If so, use JDialog.setDefaultCloseOperation( DO_NOTHING_ON_CLOSE ). Same method exists in JFrame as well, but not in JWindow.
-
I am not sure on what to do at this point. I have gotten rid of my old computer, I had used to sync my iPod, and to add to that.. The back button broke! I have tried everything from jailbreaking techniques, to just plugging it in to my new computer and trying to sync it. When I plug it in, and error message comes up on iTunes saying, "You cannot acces iTunes with this iPod, because it is locked with a passcode." My friends locked me out, changed the passcode, and nobody remembers it. Help would be greatly appriciated! My email is, [email protected] the other one is my old email and I am no longer in use of that so the best way to get back to me is by responding through email. Thank you for your time!
Disabled
Place the iPod in recovery mode using one of these programs:
For PC
RecBoot: Easy Way to Put iPhone into Recovery Mode
If necessary:
Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
and
RecBoot tip
For MAC or PC
The Firmware Umbrella - TinyUmbrella
and then connect to your computer and restore via iTunes. The iPod will be erased.
iOS: Wrong passcode results in red disabled screen
For how to restore:
iTunes: Restoring iOS software
To restore from backup see:
iOS: How to back up
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
Has anyone noticed that the button to unlatch the top... (plus whine)
Seems to be more set in than the powerbook? I just got the MBP and everything else seems fine, but with my PB I could open the lid with a quick brush of my thumb but with the MBP I usually have to came at it straight on.
Also, I noticed a slight whine, which I have reviewed here through MANY post and it seems to fit the bill (only when plugged in, stops when running programs/opening them) it's not really loud, only barely noticable, but I WAS wondering, have there been instances where the whine got worse? I notice it, which *****, but I can live with it, but if it got worse... that would really suck.I can open mine with just a brush of my thumb against it, although it does seem to be a bit more difficult to open than my old powerbook, but the new MBP doesn't open up in my bag like my powerbook did. It's probably just going to take a bit of getting used to the new latch.
Mine has the same slight whine as well although I've noticed that within a few minutes of using the computer my brain has already tuned it out. You could take it to apple and see if they'll do anything with it, but for me tuning it out is much easier. I've had mine for about 3 months now and the whine has stayed about the same but definitely hasn't gotten worse/louder. -
How to disable the close button(Cross) on a dialog
Hi,
Is there a way to disable the close button (cross on the right top of the dialog) on a dialog.
Thank youSince your posting in the swing project forum, I assume your talking about JDialog. If so, use JDialog.setDefaultCloseOperation( DO_NOTHING_ON_CLOSE ). Same method exists in JFrame as well, but not in JWindow.
-
Previously, the firefox button was at the top left and tabs lined up beside it, so that the top of the tabs reached right to the top of the screen. Close/minimise etc. were at top right.
Two days ago, it switched so that the firefox button is at top left, close/minimise etc. are still at top left, but now the tabs are on a row below, leaving a gap at the top where I can see through to the desktop. There is also a larger border than before round the whole firefox browser window, more wasted space.
I have the windows 7 quick links bar at the top of my desktop, now that firefox has left a gap above the tabs it means it is easier to accidentally hover over the bar when changing tabs, this is annoying as it brings it to the front and disrupts the ability to change tabs quickly.-> Tap '''ALT''' key or press '''F10''' to show the Menu Bar
-> go to View Menu -> Toolbars -> select/unselect '''Taps on Top'''
Check and tell if its working.
Maybe you are looking for
-
I installed Adobe Reader so I can read PDFs a teacher has posted online. How do I open the PDFs? I tried using the open button at the top, but I'm only able to see the first page. Thanks
-
Hello, I would like to bring data into BW via XI(File-XI-BW). I don't want to use proxy. Is there a doument which talks about this scenario using RFC. Thanks N.S
-
How to Add new Manual address in ADRC?
Hello Experts, My requirement is, I want to add new address in ADRC table, once I insert new address, I will get the new ADRNR number fot that address. I want that ADRNR to link with vendor address in delivery document. Means wants to update VBPA tab
-
I use a macbook to play music/videos as part of a children's church. The playlists contains both videos and music (audio) files. I just got a new iPad and I'd like to use instead of lugging the macbook back and forth. So far, however, I can't find
-
Time machine backup size differences
I have backed up some VMWare fusion Virtual Machines but restoration loses a file that is in the package. I cannot see the package content when exploring in time machine but I can restore the whole package. It's consistenly missing one file in the