Dynamically move a tab to a new position

I have a tabstrip with 4 tabs.
Depending on some user settings or other variables, I would like to move one of the tabs to a new position.
I tried this in WDDOMODIFYVIEW, using the classes cl_wd_tabstrip and cl_wd_tab.
The only solution I found to move the tab is to remove the tab and to add it again at a new position afterwards.
lr_tab = lr_tabstrip->remove_tab( id = 'TAB4' ).
IF lr_tab IS BOUND.
  lr_tabstrip->add_tab( the_tab = lr_tab  position = 2 ).
ENDIF.
This code works, but isn't there a possibility to do it without REMOVE?
Furthermore, it seems that there is no easy solution to find out the position of a given tab, or can somebody tell me one?
Thx and regards,
D.

Hi,
Any updates ? Have you found the solution ?

Similar Messages

  • Draging tabs to a new position in firefox 14 not working

    Today I noticed I could not drag tabs to a new position (the feature where you can click and hold on a tab, and drag it to a different position on the tab bar, new window, etc.)
    I have started in safe mode and the issue continued, so it seems unlikely to be caused by and addon.
    I'm confused as this feature was working yesterday and I have not changed anything

    @jscher2000, lol thank you for trying
    After further investigation I found I couldn't drag ANYTHING. At a loss I thought I'd try restarting my system as a restart was the only difference from yesterday, and the feature now seems to be working...no idea what could have happened, but it's fixed now.
    I really should know better than to not trying a restart to correct an issue.

  • FF4 wont move a tab to a new window. The new window opens fine but the existing tab stays on the current window. What's wrong?

    I just upgraded to firefox 4. I'm using session manager extension.
    I have multiple tabs open in my firefox window and I want to move some tabs to a new window. I followed the support guide which tells how to do this, however, when I drag the tab off the current window, the new window gets opened as it should, but the tab I was trying to move stays in the current window and does not get moved to the new one. Any ideas what the problem is?
    Thanks
    Mick

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Is there a way to move a group of tabs to a new window? I know how to move one tab to a new window, but is there a way to mark a group of tabs and move them to a new window?

    Is there a way to move a group of tabs to a new window? I know how to move one tab to a new window, but is there a way to mark a group of tabs and move them to a new window?

    * Tab Mix Plus: https://addons.mozilla.org/firefox/addon/tab-mix-plus/

  • 15.0.1 upgrade if you move a tab to a new window the tab disappears (& you can't move it back) plus if you open a new tab it overwrites the first

    When you drag a tab off one window in firefox to start a new window, this new window appreas without a 'proper' tab - that means there's no way to drag the tab back if you want to re-merge it with the original window. It also means that when you click on the + in the new window to create a second tab, it just overwrites the original tab (and URL) so you lose it completely. FF used to do this all fine befor the last upgraged

    Any luck with disabling some new window features?
    *http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features
    *http://kb.mozillazine.org/JavaScript#Advanced_JavaScript_settings
    You can also check for problems with the localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf
    Try to remove the Firefox plist file (org.mozilla.firefox.plist).
    *http://www.macfixit.com/article.php?story=20060606082246983 How .plist files become corrupt and troubleshooting the results
    Go to "~/Library/Preferences" and remove the plist file for Firefox (org.mozilla.firefox.plist)

  • Firefox sporadically moves my current tab to a new window.

    About 2-3 times per week, I'll be browsing with multiple tabs open, and Firefox will suddenly "close" my current tab and re-open it in a new window. I say "close" because the tab is not listed under "Recently Closed Tabs." Rather, Firefox seems to just move the tab to a new window.
    I thought maybe there was a keyboard shortcut for this that I was accidentally hitting, but I can't find what the shortcut for that would be. Did I just miss it?
    The site I'm visiting doesn't seem to matter, as it's happened with different sites, including my webmail service, Google, and Facebook. The number of tabs open doesn't seem to matter either, as it's happened with 50+ tabs and just now happened with 24 tabs (which is low for me).
    == This happened ==
    A few times a week
    == About a month or so ago ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    Firefox 3.5/6 versions have a feature called ''tear-off tabs''.
    You can detach a tab from the current window and open it in a new window by dragging a tab in the browser window.
    You can drag that tab back to the tab bar in the original window to undo that detaching.
    bug489729 (Disable detach and tear off tab): https://addons.mozilla.org/firefox/addon/12276

  • Move entire animation into new position

    Hi I want to move my animation to a new position. But if I select every frame it moves only from where my time indicator is. How can I move everything to a new position?

    Are you talking about moving to a new position on the stage or a new position on the timeline? If you want to move the animation, the action between two or more keyframes to a new position on the stage, the simplest solution is to cut and paste the frames into a movieClip and then position that movieClip on the stage where you want it to run. If you want to have the animation occur at a different time in the timeline, you can select the whole set of frames and then drag them to a new point in the timeline. You can even drag the frames to a different layer if you like.

  • Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.

    Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.
    Is there any way to re-number them in the order I have chosen so that they can then be sorted by number? The scans are all from pre-digital images that I wish to move to a photobook and I don't want to have to organise them twice!
    Thanks for any suggestions.

    I was a bit short, Chris, sorry. It is limited, what can be posted, when typing on an iPad.
    Now I am back on my Mac. I meant the following:  Batch Change the date for a large range of photos, that should have a date stepped in increments.
    Select all Photos at once and use the command "Photos > Batch Change".
    Then set the date for the first photo and select an increment, e.g. one minute.
    Now all photos will get a new date assigned, incremented by one minute, in the sequence you have selected. So you will be able to sort them by date.  This way it will be unnecessary to change the titles or filenames.

  • The new tab behavior is driving me nuts. It keeps re-centering on tabs nearest the start of the list when I move a tab. How do I change this?

    The new tab behavior is driving me nuts. It keeps re-centering on tabs nearest the start of the list when I move a tab. How do I change this?
    I don't want to download an app. I would rather add a new string in about config or just change of the ones in there to false. It's making my work life rather difficult, to be forced to go all the way back to the end of my list after moving one tab just to have to do it again. I mean it's to the point where I might consider changing browsers if they had tab scroll bars.
    Edit: At this point I will download any app. Please make this stupid feature stop.

    The result of setting up that code will do exactly as you described: the tabs will be crowded together. I had not noticed any change in behaviour of Firefox with tabs because all the tabs are crowded together, so they cannot scroll, and I very seldom move tabs.

  • Worst update ever! On my Vista everything is wrong! Back button never active; If I want open pages as new tab it opens new window; FF starts with blank page instead of Google; No url address shown on status bar when I move mouse arrow on the link etc

    Worst update ever! On my Vista everything is wrong! Back button never active; If I want open pages as new tab it opens new window; FF starts with blank page instead of Google; No url address shown on status bar when I move mouse arrow on the link etc.. Please Help!

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • Catch TAB and jump to new position in JTextField!!!

    Hi,
    first of all i wanna say Hi to everyboy, 'cause this is my first post in this forum. and here comes my question:
    I have a JTextfield and if the TAB-Button will be used there, the cursor should jump to a new position. So in detail, it SHOULDN'T do the normal TAB stuff (insert some blanks). Only the cursor should jump to a new position.
    What I did: (workaround)
    I used a KeyFieldsListener(extends KeyAdapter) which catches the TAB, copies the text before and after the blanks (which comes from the TAB). The PROBLEM is, this is to slow. The user can see what the TAB is doing.
    For any suggestions I would be grateful !!!
    Regards,
    Robin
    My Code:
    if ((key == KeyEvent.VK_TAB)){
         // now position of caret (after TAB)
         int offset = HitlistFrame.searchText.getCaretPosition();
         String tempText = HitlistFrame.searchText.getText().substring(0, offset-1) +  HitlistFrame.searchText.getText().substring(offset);
         // copy text before TABING into TextField
         HitlistFrame.searchText.setText(tempText);
         // search for next blank
         while ((offset < HitlistFrame.searchText.getText().length()) &&
                   (HitlistFrame.searchText.getText().charAt(offset) != ' '))
              offset++;
         // set cursor to position of next blank
         HitlistFrame.searchText.setCaretPosition(offset);
    }

    The long and short of it that the code simply assumes theat the layers don't exceed the comp size or leave the comp. Depending on where you apply the code, that may not be true. You would have to add extra stuff to make it more safe and things like specific shape layer modifications or the anchor point coordinates on shape layers being based on the middle of the layer, thus regularly producing negative values, would further complicate the matter. The code is simply too simplistic to cover such scenarios and the internal calculations in your case probably produce these aforementioned negative vlaues that the Puppet effect can't handle since in its world they don't exist. Anyway, without seeing what's actualyl going on, nobody can provide the ultimate solution. I could write an endlessly complex expression and it may still not solve your dilemma. as a start, you might consider pre-composing everything to comps of the same size and using these comps instead of the native AI file. This would also eliminate all the hocuspocus with the layer space transforms and greatly simplify things (and help performance).
    Mylenium

  • How can I move the tab bar to the bottom, and how do I get my reload and stop buttons back?

    The new version of Firefox has repositioned my tab bar to the top and I cannot move it to the bottom. I tried about:config, but browser.tabs.ontop was already set to false - very curious, since this should have solved my problem in the first place.
    In the new version of Firefox I cannot get my reload and stop buttons back again.

    Firefox uses a combined Stop/Reload/Go button that is positioned at the right end of the location bar.
    *You get a Stop button during page loading that changes to a Reload button when the page has finished loading
    *You get a Go button if you modify the location bar content
    *Middle-click the Reload button to duplicate the current tab to a new tab

  • How to change the order of the tabs in featured news?

    Hi,
      I use the 'Featured News' widget on my company website and it has 10 tabs. The newest item is at the top but when I add a new tab it goes to the bottom and I can find no way of changing the order of the tabs so that everytime I add new news I have to copy each tab and it's content down one place in order to get an empty tab at the top to put the new news item in. This takes an unneccesssarily long period of time. Can someone please let me know if there is an easy way to change the order of the tabs?
      Thanks very much ;0)
            Justine

    Just click on the title tab until it is isolated (one click before the text is highlighted) and move the tab to the position you want.
    Thanks for your reply. I've done this in the past but found that the position of the tab in terms of it's place in the hierachy doesn't change so if I move the top tab down one, the way you've described and then upload the page I find that the second tab down (which was the first previously) displays first. How can I change the 'position of the tabs interms of their hierachy in the widget?
      Thanks again
         J

  • HT1338 Purchased a used macbook pro with Mountain Lion. My old Mac runs Snow Leopard is backed up to Time machine. How do I register the operating system to me and how do I use Time Machine to move my files to the new used computer?

    Purchased a used macbook pro with Mountain Lion. My old Mac runs Snow Leopard is backed up to Time machine. How do I register the operating system to me and how do I use Time Machine to move my files to the new used computer?

    If you look at the User Tips tab, you will find a write up on just this subject:
    https://discussions.apple.com/docs/DOC-4053
    The subject of buying/selling a Mac is quite complicated.  Here is a guide to the steps involved. It is from the Seller's point of view, but easily read the other way too:
    SELLING A MAC A
    Internet Recovery, and Transferability of OS & iLife Apps
    Selling an Old Mac:
    • When selling an old Mac, the only OS that is legally transferable is the one that came preinstalled when the Mac was new. Selling a Mac with an upgraded OS isn't doing the new owner any favors. Attempting to do so will only result in headaches since the upgraded OS can't be registered by the new owner. If a clean install becomes necessary, they won't be able to do so and will be forced to install the original OS via Internet Recovery. Best to simply erase the drive and revert back to the original OS prior to selling any Mac.
    • Additionally, upgrading the OS on a Mac you intend to sell means that you are leaving personally identifiable information on the Mac since the only way to upgrade the OS involves using your own AppleID to download the upgrade from the App Store. So there will be traces of your info and user account left behind. Again, best to erase the drive and revert to the original OS via Internet Recovery.
    Internet Recovery:
    • In the event that the OS has been upgraded to a newer version (i.e. Lion to Mountain Lion), Internet Recovery will offer the version of the OS that originally came with the Mac. So while booting to the Recovery Disk will show Mountain Lion as available for reinstall since that is the current version running, Internet Recovery, on the other hand, will only show Lion available since that was the OS shipped with that particular Mac.
    • Though the Mac came with a particular version of Mac OS X, it appears that, when Internet Recovery is invoked, the most recent update of that version may be applied. (i.e. if the Mac originally came with 10.7.3, Internet Recovery may install a more recent update like 10.7.5)
    iLife Apps:
    • When the App Store is launched for the first time it will report that the iLife apps are available for the user to Accept under the Purchases section. The user will be required to enter their AppleID during the Acceptance process. From that point on the iLife apps will be tied to the AppleID used to Accept them. The user will be allowed to download the apps to other Macs they own if they wish using the same AppleID used to Accept them.
    • Once Accepted on the new Mac, the iLife apps can not be transferred to any future owner when the Mac is sold. Attempting to use an AppleID after the apps have already been accepted using a different AppleID will result in the App Store reporting "These apps were already assigned to another Apple ID".
    • It appears, however, that the iLife Apps do not automatically go to the first owner of the Mac. It's quite possible that the original owner, either by choice or neglect, never Accepted the iLife apps in the App Store. As a result, a future owner of the Mac may be able to successfully Accept the apps and retain them for themselves using their own AppleID. Bottom Line: Whoever Accepts the iLife apps first gets to keep them.
    SELLING A MAC B
    Follow these instructions step by step to prepare a Mac for sale:
    Step One - Back up your data:
    A. If you have any Virtual PCs shut them down. They cannot be in their "fast saved" state. They must be shut down from inside Windows.
    B. Clone to an external drive using using Carbon Copy Cloner.
    1. Open Carbon Copy Cloner.
    2. Select the Source volume from the Select a source drop down menu on the left side.
    3. Select the Destination volume from the Select a destination drop down menu on the right
    side.
    4. Click on the Clone button. If you are prompted about creating a clone of the Recovery HD be
    sure to opt for that.
    Destination means a freshly erased external backup drive. Source means the internal
    startup drive. 
    Step Two - Prepare the machine for the new buyer:
    1. De-authorize the computer in iTunes! De-authorize both iTunes and Audible accounts.
    2, Remove any Open Firmware passwords or Firmware passwords.
    3. Turn the brightness full up and volume nearly so.
    4. Turn off File Vault, if enabled.
    5. Disable iCloud, if enabled: See.What to do with iCloud before selling your computer
    Step Three - Install a fresh OS:
    A. Snow Leopard and earlier versions of OS X
    1. Insert the original OS X install CD/DVD that came with your computer.
    2. Restart the computer while holding down the C key to boot from the CD/DVD.
    3. Select Disk Utility from the Utilities menu; repartition and reformat the internal hard drive.
    Optionally, click on the Security button and set the Zero Data option to one-pass.
    4. Install OS X.
    5. Upon completion DO NOT restart the computer.
    6. Shutdown the computer.
    B. Lion and Mountain Lion (if pre-installed on the computer at purchase*)
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because
    it is three times faster than wireless.
    1. Restart the computer while holding down the COMMAND and R keys until the Mac OS X
    Utilities window appears.
    2. Select Disk Utility from the Mac OS X Utilities window and click on the Continue button. 
    3. After DU loads select your startup volume (usually Macintosh HD) from the left side list. Click
    on the Erase tab in the DU main window.
    4. Set the format type to Mac OS Extended (Journaled.) Optionally, click on the Security button
    and set the Zero Data option to one-pass.
    5. Click on the Erase button and wait until the process has completed.
    6. Quit DU and return to the Mac OS X Utilities window.
    7. Select Reinstall Lion/Mountain Lion and click on the Install button.
    8. Upon completion shutdown the computer.
    *If your computer came with Lion or Mountain Lion pre-installed then you are entitled to transfer your license once. If you purchased Lion or Mountain Lion from the App Store then you cannot transfer your license to another party. In the case of the latter you should install the original version of OS X that came with your computer. You need to repartition the hard drive as well as reformat it; this will assure that the Recovery HD partition is removed. See Step Three above. You may verify these requirements by reviewing your OS X Software License.

  • On board program does not run the motor to new positions yet commands to state of digital I/O in the same program line.

    I am controlling a stepper motor position via a PIC-7342 board. This part of the program has worked in the past. I have another program that does almost the same thing and it works as always. 
    The program sets the speed and accelerations, then sets a position and tell the motor to run to the position. Then it sets a communication bit through the MCS register. Then it sets a new position and command the motor to run to the new position. It then delays a short time and commands an output to turn on. Then it sets a new position and commands the motor to run to the new position. After each command to run there is a wait for motion complete.  The code used to work correctly.  Now the motor runs to the first position and proceeds no further.  The finial position is sometimes a couple of steps past the setpoint, which is very unusual. The digital output is fired like the second position has been reached, even though the motor has not moved to the position. The actual path for the motor is clear, so there is not mechanical reason for the problem.  How would you troubleshoot an on board program?

    ITElearner,
    What has changed since you last ran your system?  Can you move the motor in Measurement & automation explorer?  Are you getting any errors?  Is this program written in LabVIEW?  You may also find the following useful:
    Configuring a Motion Control System
    http://zone.ni.com/devzone/cda/tut/p/id/3126
    Configure and Test a Stepper Motor
    http://digital.ni.com/public.nsf/allkb/9675C83F037​811F68625727C0002A4A5?OpenDocument
    Regards,
    Sam K
    Applications Engineer
    National Instruments
    www.ni.com/support

Maybe you are looking for