Setting focus outside a control when no other control can get the focus

Hello
I'd like to know if there is a way to setfocus outside of a control even if there is no other control to receive the focus.
I have an editbox that has the focus (active) and I want to set visible to false to this control., but I cannot since it has the focus and there is no other controls that can get the focus.
As a temporary measure I've added another editbox that I moved outside of the visible interface to which I've moved the focus. But I would like to know the proper way to do this.
Thank you for your help.

I think you are asking how to bring a windows form to the front.
If not I apologize...
The way I have done this:
1. I created a new thread.
2. I maxmized the window
I set the following properties:
ShowInTaskbar = False
TopMost = True
Focus()
BringToFront()
In all my testing I needed the window to be maximized, if it wasn't B1 stayed on top.

Similar Messages

  • How to get the focus in a Table Control

    Hello Experts,
                         I have a simple Table control in my screen . I want to know under which column my cursor is ? Basically i want to get the focus the table control . How can i achieve this  ?
    Thanks
    Vivek

    >
    Vivek Joshi wrote:
    > Hello Router ,
    >                      I do not want to set the focus , I want to get focus . User can click on any cell in the table and then press a button in the toolbar . Now in the event handler of the button i want to under which column User has set the focus .
    > I hope , I am clear now .
    > Thanks for your help
    > Regards
    > Vivek
    An yet you keep getting suggestions of how to set the focus.   I looked through the API documentation and I don't see anything that would suggest you can request to see where the current focus is.  Perhaps someone might still come along with a solution, but my hopes wouldn't be too high at this point.  I can pass the requirement onto Product Definition, as the use case does seem interesting.  Perhaps it is something we have even considered in the past. 
    But for now, there might be a better way to solve your problem.  It will probably mean redesign the interaction.  What exactly are your requirements?  Do you need to be able to get the data in a particular cell of table when a button is clicked?  Just throwing out some ideas here, but maybe just use the lead selection to select the row, but then have a button choice to choose the action associated with the column you want. A hack for sure - but it might work.  Also it doesn't help you right now, but in the near future update to NetWeaver 7.0, WDA does have a onColSelect event for the table.

  • My icloud email address is included in a friend's address group set up in Gmail.  When they send an email to the group, the email never gets through to my icloud address - why?

    My icloud email address is included in a friend's address group set up in Gmail.  When they send an email to the group, the email never gets through to my icloud address - why?

    They've always been able to send to me individually - just not when my email is part of a group or even when it's just included with several other addresses added one at a time.

  • When I swipe up to get the control center on my iPad I can't find the airdrop option

    When I swipe up to get the control center on my iPad I can't find the airdrop option - I see airplay, but no airdrop

    Pay attention to the models of the ipads. For example, my ipad 2 can't and won't ever have airdrop. So if you have an older one that could be why you can't see it.

  • Just updated my iphone. Now I can se I have two? iCloud accounts? One of them appears on my phone, and I have forgotten the password. When I try to add the other account, I get the message that this account is already added, but with the name of the first

    Just updated my iphone. Now I can se I have two! iCloud accounts? One of them appears on my phone, and I have forgotten the password. When I try to add the other account, I get the message that this account is already added, but with the name of the first account where there is no available password. I have tried several times to reset the password, bun I don't get the information I need - I have no access to email. What can I do?

    Hi, thanks for the suggestion. I have tried as you suggested, and when opening the "purchased" apps some have the icloud logo next to them, but I only have "OPEN" against "Find My iPhone". When opening it up, it goes through the same routine; needs to be updated before proceeding, and wouldn't update because I don't have IOS8.
    Anything else I could try, or am I doomed!
    All of your help is much appreciated, thanks

  • Is there a way that articles opened in Safari can be saved to read off line? Sometimes they are there when I opened Safari but other times I get the message that the page can't be found because I don't have Internet access.

    Sometimes they are there when I reopen my iPad, even without Internet access. Other times I get the message that the page can't be found because I don't have Internet access.

    You're welcome 
    I use Reading List all the time.
    If applicable, you can access saved Reading List articles in Airplane mode >  iOS: Understanding airplane mode

  • I just bought a new ipod touch and when i plug it into my Mac usb port nothing is happening I can get the computer to sync other ipod in the same port

    I just bought a new ipod touch and when i plug it into my Mac usb port nothing is happening I can get the computer to sync other ipod in the same port

    Try:
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X
    Do not omit the Additional Information paragraph.
    Is the iPod that connects an iPod touch? If not that does not mean anything since iOS devices like iPod touch, iPhone and iPad use different drivers than other iPods.

  • Western Digital My Book World EditionI have bought a WD My Book World Edition to use for back-up of my iMac, but when I try and log onto the drive with Apple time Machine (back-up software) or connect in any other way i get the message 'There was a proble

    I have bought a WD My Book World Edition to use for back-up of my iMac, but when I try and log onto the drive with Apple time Machine (back-up software) or connect in any other way I get the message 'There was a problem connecting to the server "MybookWorld.local" The version of the server you are trying to connect to is not supported. Please contact your system administrator to resolve the problem'
    It is a brand new iMac and running Lion OSX
    Any ideas on how to solve would be gratefully received?

    Followed the directions on this page and it worked!
    http://forums.macrumors.com/showthread.php?t=1102423
    Part One - Turn on SSH (in the admin panel)
    [1] Go to to http://mybookworld.local
    [2] login: username will be admin, password will be whatever you have setup. If you can't remember it should be in your Mac OS X keychain (Utilities > Keychain Access, search for "mybookworld"). If you have not changed if from the default the password will be admin as well.
    [3] Switch to advanced mode.
    [4] From the System tab, pick Advanced.
    [5] Enable SSH Access, and click submit.
    [6] Click on the network tab and then the LAN button
    [7] Make a note of the IP address
    Small, maybe obvious, but nevertheless important point: For the install to work, your NAS needs to be connected to a router with internet access.
    Part Two - Install netatalk2.2
    [8] Open Terminal.app (Utilities > Terminal)
    [9] Enter the following command (substitute in 127.0.0.1 for the actual IP address you noted down in step 7), then hit return:
    Code: 
    ssh [email protected]
    [10] When prompted, enter the ssh password (will be welc0me).
    [11] You are now going to download the installer. Enter the following command, then hit return:
    Code: 
    wget http://mybookworld.wikidot.com/local--files/netatalk2-2-on-whitelight/install_netatalk.sh -O install_netatalk.sh
    [12] Once completed, you will need to run the installer. Type:
    Code: 
    sh install_netatalk.sh
    [13] You will be asked a number of question during install, answer yes to all. When asked about the "DHX2 login process", I opted to install the modified version, so I can confirm it works.
    [14] Once the box has restarted, you should be able to connect to your afp shares and continue to use Time Machine.

  • Does anyone know how to set up a macbook pro so that other computers can join me and use my internet connection?

    Does anyone know how to set up a macbook pro so that other computers can join me and use my internet connection?

    Have you set up any security on the Mac Connection Sharing?
    Sorry but I don't use that so I'm not familiar with the settings.
    But if you haven't setup and security the iPhone might not mind but I know most Windows computers do not like to connect to Open WiFi. and make sure it is WPA or WPA2.
    Then again it may be a setting in the connection sharing like some type of MAC filtering or it may simply be that Mac OS X connection sharing only allows one connection at a time. Try disconnecting your phone and then connect the PC.
    As to Linc's response about Windows.
    Windows basically does care about connecting to open, unsecured, WiFi. But it will normally pop up a windows asking "Are myou sure you want to connect to this open network". And a simple click on yes will get you connected and an IP address.
    So this is clearly a Mac OS X problem.

  • I recently had to restore my Iphone 4s and ever since I cannot double click the home button whilst the phone is locked and change my music. The controls come up and I can adjust the volume but I cannot change the songs. Help needed please!!

    I recently had to restore my Iphone 4s and ever since I cannot double click the home button whilst the phone is locked and change my music. The controls come up and I can adjust the volume but I cannot change the songs. Help needed please!!

    Have you guys been able to activate your iphone yet? I bought an iphone 4s from eBay and it worked fine, but the previous user had left some data on it, so last night I used the "erased all content and settings" to restore it to factory setting so I can start fresh and restore my backup. But now I'm stuck at the activation screen (I get the same "the activation server is temporarily unavailable")  and can't get it to activate, even if I use my old deactivated AT&T sim card (I'm on straighttalk now).
    I might try activating it with an active AT&T sim card from my fiancee's phone when she gets home, so I'll let you know how that works outs.
    If it's true that the server is down; anyone know when it will be back up again? Thanks in advance.
    iPhone 4s iOS 5.1.1 (9B206)
    Carrier AT&T 12.0
    Modem Firmware 2.0.12

  • How to Get the focus of the textbox.

    Hi all,
    I have a problem in getting the focus of the textbox, The scenario is in this way,
    I have 3 textboxes in a window, each one should should get enabled one after the other only (i.e) Textbox2 should be enabled only after Textbox1 is filled and pressed the TAB button and Textbox3 is enabled only after Textbox2 is filled and pressed the TAB button. Textbox2 is also enabled when the cursor is in Textbox3 and SHIFT+TAB is pressed,
    I tried this with the Focus Listener but i cant able to get the cursor in the textbox. Please help in this, how to do this.
    Thanks in Advance.

    844031 wrote:
    Hi all,
    I have a problem in getting the focus of the textbox, The scenario is in this way,
    I have 3 textboxes in a window, each one should should get enabled one after the other only (i.e) Textbox2 should be enabled only after Textbox1 is filled and pressed the TAB button and Textbox3 is enabled only after Textbox2 is filled and pressed the TAB button. Textbox2 is also enabled when the cursor is in Textbox3 and SHIFT+TAB is pressed,
    I tried this with the Focus Listener but i cant able to get the cursor in the textbox. Please help in this, how to do this.
    Thanks in Advance.Hello user,
    If you are talking about 'TextBox' of javafx then please start a new thread on Javafx Category here:JavaFX 1.x and JavaFX Script [ARCHIVE]
    Thanks.,
    narayan

  • : Photoshop Premier 10 is installed correctly but when I open it I get the following message:' a red

    Photoshop Premier 10 is installed correctly (from content DVD) on Windows 7 Pro but when I open it I get the following message:' a reduced set of content has been installed. You can install full content by inserting your content dvd, when I click install now it connect to the internet to start downloading content, I do not whant to download this content if I have the content DVD?

    Install Premiere Elements, Photoshop Elements
    Mylenium

  • Keep getting an error message and my new phone wont sync to my old Iphone 4 settings. The message"itunes has detected a iphone in recovery mode. You must restore the iphone before it caan be used on itunes." yet when i do i still get the same message!!!

    The message"itunes has detected a iphone in recovery mode. You must restore the iphone before it caan be used on itunes." yet when i do i still get the same message!!!

    You have to restore the iPod, no ifs, ands, or buts...
    After iOS is installed you will be asked if you what to set it up as a new iPod or if you want to restore from a backup.
    If you have a good backup you can restore that and you're good to go.
    If you don't have a good backup, then you end up with a "clean" iPod....

  • Preventing a window of getting the focus

    Hi,
    I am pretty new to Java and at the moment I have a pretty big problem with the focus. Is it possible to prevent a window from getting the focus? I.e. an application has some kind of "properties" popup. So I don't want to make it impossible for the main window to get the focus until the user closes the "property"-window...
    some hint or even example code would be great!

    I am pretty new to Java and at the moment I have a pretty big problem with the focus. Is it possible to prevent a window from getting the focus? I.e. an application has some kind of "properties" popup. So I don't want to make it impossible for the main window to get the focus until the user closes the "property"-window...
    When you open your properties window you could call setEnabled(false) on the frame that should not be able to get focus and call setEnabled(true) when the user closes the properties window. You will have to pass a reference to the frame to the properties window so that the window can then do yourFrame.setEnabled(false) when it's being closed.

  • Popup - how to get the focus in a specific compent

    Hi,
    I am trying to get the focus of my pop-up in the second component.
    Use case: New button in the table shows a popup to get the input from the user. There is a Undo Edit link (top-left) to discard changes, on top of the pop-up so by default the focus goes to the top left. I have input text boxes under that. And I am trying to get the focus (mouse cursor) in the first input text box rather than the undo Edit link. Any idea to implement that without using javascript ?
              <af:popup id="newPopup" contentDelivery="lazyUncached"
                        popupCanceledListener="#{commonUtils.CreatePopupCanceledListener}">
                <af:dialog id="createPopupDL" type="none"
                           title="#{viewcontrollerBundle.NEW_COURSE_PLAN_STRUCTURE_QUALIFIER_HEADER}"
                           resize="on">
                  <af:separator id="s1"/>
                  <af:panelGroupLayout id="pgl2" layout="vertical" halign="left">
                    <af:panelGroupLayout id="pgl3" layout="horizontal">
                        <!-- csc:undoEdit is a custom component to undo change
                        By default the focus is coming to this component -->
                      <csc:undoEdit id="ue1"/>
                    </af:panelGroupLayout>
                    <af:messages id="m1"/>
                    <af:spacer width="10" height="10" id="s2"/>
                    <af:panelFormLayout id="pfl1" labelAlignment="start"
                                        labelWidth="140">
                      <af:spacer width="10" height="10" id="s3"/>
                          <!-- I want to get my mouse cursor in this box -->
                          <af:inputText id="it2"
                                    label="#{bindings.QualifierCd.hints.label}"
                                    value="#{bindings.QualifierCd.inputValue}"
                                    showRequired="true"
                                    required="#{bindings.QualifierCd.hints.mandatory}"
                                    columns="#{bindings.QualifierCd.hints.displayWidth}"
                                    maximumLength="#{bindings.QualifierCd.hints.precision}"
                                    shortDesc="#{bindings.QualifierCd.hints.tooltip}"
                                    autoSubmit="true">
                        <f:validator binding="#{bindings.QualifierCd.validator}"/>
                      </af:inputText>
                    </af:panelFormLayout>
                  </af:panelGroupLayout>
                  <af:spacer width="10" height="10" id="s4"/>
                  <af:separator id="s5"/>
                  <f:facet name="buttonBar">
                    <af:group id="g2">
                      <af:panelGroupLayout id="pgl4" layout="horizontal"
                                           halign="start">
                        <af:commandButton text="#{smsCommonViewBundle.CreateBtn}"
                                          id="createCB" action="doCommit"
                                          partialSubmit="true"
                                          accessKey="#{smsCommonViewBundle.CREATE_ACCESS_KEY}">
                          <f:actionListener type="au.com.callista.sms.framework.view.lifecycle.PopupDismissActionListener"/>
                        </af:commandButton>
                        <af:spacer width="10" height="10" id="s6"/>
                        <af:commandLink text="#{smsCommonViewBundle.CANCEL_LNK}"
                                        id="cancelCL" action="doCancel"
                                        accessKey="#{smsCommonViewBundle.CANCEL_ACCESS_KEY}"
                                        immediate="true">
                          <f:actionListener type="au.com.callista.sms.framework.view.lifecycle.PopupDismissActionListener"/>
                          <af:resetActionListener/>
                        </af:commandLink>
                        <af:spacer width="400" height="10" id="s9"/>
                        <af:icon name="required" id="i1"/>
                        <af:spacer id="sp3" width="5" height="0"/>
                        <af:outputText value="#{smsCommonViewBundle.requiredLbl}"
                                       id="ot1" styleClass="requiredText"/>
                      </af:panelGroupLayout>
                    </af:group>
                  </f:facet>
                </af:dialog>
              </af:popup> Edited by: user9319679 on Sep 6, 2011 10:43 AM

    I dont think so that possible without javascript.. AFAIK
    <af:clientListener method="setFocus()" type="load"/>
          <af:resource type="javascript">
               function setFocus(event){
                 var input1 = document.getElementById('pt1:r1:3:pt1:it1::content'); // the complete id of the inputText - change it according to your jsff.. use firebug to get the proper id
                 if(input1!=null)
                 {input1.focus();
          </af:resource>

Maybe you are looking for

  • Apple TV Isn't Connected To The Internet In iTunes

    I rented a movie and after it download I couldn't transfer it to the Apple T.V. it kept saying that I wasn't connected to the internet but I am connected. For obvious reasons I am pretty confused. Could it be that even though on my MacBook the iTunes

  • How do I restore mailboxes from a hard-drive back-up?

    Hi there, I had a hard-drive failure after upgrading to Yosemite.  I managed to get the drive backed-up, but not in time machine.  I have been restoring things piecemeal.  One thing I need to figure out is how to import my old mailboxes.  Where are t

  • Idoc control record DIRECT field mapping

    Hello, I have a file to idoc scenario where the receiver system is an external one. I have the necessity to set in the outbound idoc control record DIRECT = 1. The XI system is XI 3.0 SP 19 and I've set up the mapping of the idoc control record in th

  • Help required about InsertHTML function

    Hello i want to use this function to add HTML in documnet of JEditor pane public void insertHTML(HTMLDocument�doc, int�offset, String�html, int�popDepth, int�pushDepth, HTML.Tag�insertTag) it is a function HTMLEditorKit.But i dont understnad what int

  • Getting sasc-ng to work properly with systemd service files [SOLVED]

    This thread is intended for getting the following AUR packages to work with each other with systemd service scripts: https://aur.archlinux.org/packages/open-sasc-ng-dkms/ https://aur.archlinux.org/packages/open-sasc-ng/ https://aur.archlinux.org/pack