"moving" folder on BP forms

Hello,
I have added a user folder to the BP form behind all system forms. I want it to keep to the same position whatever the form mode.
You can notice that according to the form mode, the number of system folders changes:
In Find mode for instance, there are no "Contact Persons" or "Addresses" or "Properties" folders.
If you have one record or more in the OCRD table, the form will open in Find Mode, so with the 5 standard folders and the user folder appearing in 6th position
If you click on the "Add record" menu, you now have 8 standard folders, but the user folder is no longer in last position.
I tried to call the GroupWith() method after action, but without success.
Any idea?
Cheers.
Cyril

I think you are trying to do something like this -
Dim MyButton As SAPbouiCOM.Button
If pVal.FormType = 134 And pVal.EventType <> SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD Then
'// get the event sending form
oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
''''' CREATE THE BUTTON ON BP MASTER DATA/ADDRESS TAB
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD Then oNewItem = oForm.Items.Add("AddButton", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem = oForm.Items.Item("70")
oNewItem.Height = oItem.Height
oNewItem.Width = oItem.Width - 7
oNewItem.FromPane = oItem.FromPane
oNewItem.ToPane = oItem.ToPane
oNewItem.Top = oItem.Top
oNewItem.Left = oItem.Left + oItem.Width + 5
MyButton = oNewItem.Specific
MyButton.Caption = "Why Hello!"
See how this code uses an existing button on the form to set it's properties including the FromPane / ToPane properties?
I hope this snippet helps.

Similar Messages

  • Syncing a moved folder is not bringing back all the photos to Lightroom

    I have moved and renamed a folder in the external harddrive. Syncing that moved folder in lightroom is not working in bringing back all the photos to Lightroom - Although all the photos exist in that folder as I have confirmed through windows explorer.
    Another Option: If I choose "import photos to this folder option" in LR and browse to the source to that folder - the missing photos are shown as shaded back and the import button (bottom right corner) is not highlighted. Therefore I cannot select these missing photos and hence cannot import them to the folder.
    PLEASE ADVISE!

    In the Folders Panel, the original folder should be listed with a "?" mark, because Lightroom can no longer find it. Right-click on it, select "Find Missing Folder", then browse to and select the renamed folder in its new location.
    Note....these type of problems will continue to happen if you continue to rename and/or move folders or files outside of Lightroom. Do it using Lightroom and no such problems will arise.

  • I moved folder Itunes folder to the desktop.if I open Itnues now, I cannot see my library.how can I put it back in the folder "music" in Finder?

    I moved folder Itunes folder to the desktop.if I open Itnues now, I cannot see my library.how can I put it back in the folder "music" in Finder?

    done through Hard Disk at top right of the screen...itnues folder is there already because of my dragging into folder/music..but Itunes does not ope the whole library.
    whn I opened it, itwas like it had never been on the mac and it downloaded my last purchasesdone with the iphone...now it only shows that one album purchase

  • Generating 2 folder in System Form.

    Hi Friends,
           I have created 2 folder in GRN.1st folder works completly fine but when I clicked on 2nd folder its open Content Folder of GRN, means in Panelevel 1 not in Panelevel which I have declared for 2nd Folder.
          I have written Item Press event also in which I have given Panelevel to Form.i.e.
          oForm = SBOApplication.Forms.Item(FormUID)
          oForm.PaneLevel = 11
    but still its open in Content Folder of GRN.Is there any problem while creating 2 folder in System form??
      Please help me to solved this problem.
    Thanks & Regards,
        Swati

    Hi Swati,
    Try this,
    on Click Event and BeforeAction= true i.e. ClickBeforeAction
    set the pane level of the form as the pane level that u assigned to your panes,
    like,
    if (pVal.ItemUID == "oFldrCost1")
                     oForm.PaneLevel = 222 ;       //pane level of your first pane
    if (pVal.ItemUID == "oFldrCost2")
                     oForm.PaneLevel = 223;    //panelevel of your 2nd pane.
    Edited by: anuj singh on Feb 12, 2009 11:22 AM

  • ITunes not displayng songs after moving folder

    I moved all my songs from my C drive to a new external drive, which is G. I created the folder iTunes\iTunes Music and copies all my music from where it was to the new location and then deleted it from the C. I confirmed that all my music is there at the new location, as when I click on the new iTunes Music folder, it shows folders named with all the songs I had, and I confirmed that the G drive is using up the same space as iTunes Music took in the C drive.
    In iTunes, in Edit\Preferences\Advanced, it shows in the iTunes music folder location G:\iTunes\iTunes Music, which is where I changed it.
    When I load itunes, there are no songs displayed. Why?
    Did I do something wrong? I'm stumped.
    I rebooted my pc and loaded iTunes, but no difference.

    Hi,
    Try posting in the iTunes for Windows forum - someone more likely to know what the issue is will be lurking there

  • Error moving folder

    I often get an error message when moving a folder across a network within Lightroom 3. A number of files remain in their original location in the catalogue but have actually been copied when I look in the Finder. Attempts to move these remaining files just results in another error saying the files already exist. Anyone know what is happening?
    OSX 10.5.8

    Hmm... Quick and dirty test, and it seems to be OK:
    Andrey.

  • Moving folder with photos and catalog ircat from one hard drive to another.

    mac g4, 10.4.11, 1.5gb RAM
    I need to free up space on my hardrive and want to move a folder which has photos and the lightroom catalogue .ircat in it as well as tiffs that have been worked on in potoshop, i want to keep them all togerth.
    If i move that whole folder to another hardrive what do i have to do for lightroom to find it.. i have collections for this folder as well and don't want to lose them,
    thanx.....

    You don't need to change the authorisation of your computer to keep your music on another drive connected to it. Have a look at this Apple guide it should help you moving your music folder: Moving your iTunes Music Folder

  • Link to a file folder in a form

    Hello,
    in my form i have to create an url which shows to a file folder such as
    C:\Documents and Settings\vondunu\001 (this is not a static text, the number will be created when the region is commited)
    How can i make this 'C:\Documents and Settings\vondunu\001' to a link in a field in my form and the customer can click this url and the file folder opens in another browser window?
    Thanks for your help
    Uta

    Hi Ben,
    Yes, there are definitely security implications. It works ok with IE and FF if you are opening local folders. It won't work if you're trying to access files/folders from remote servers - we tried to open folders from other servers on our domains and it wouldn't do it.
    You can, as you say, edit settings to get around this (and, yes please, I'd like to see what settings you're changing). You can also "log in" to the remote system using login/password parameters in the url - but, as you quickly realise, this is even less secure!
    In some instances, you can get around it by changing the url slightly:
    file://localhost\c:/etc
    This sometimes tricks the browser into thinking you're accessing files from the local machine. Another alternative, which we couldn't use, was to map a drive on your machine - again, this only worked sometimes.
    I could not find a solution that worked in all situations. Fortunately, for us, we got our users to login to our networks remotely using F5 and this allowed access to files.
    Regards
    Andy

  • Moving folder does not work in this particular case

    Hi everybody,
    I am currently sorting folders and I do it from Lightroom.
    No problem until yesterday
    - 4 levels of sub-folder
    - I move the fourth level to another directory at the first level
    - I see the progress bar "moving"
    As a result, a new directory appears at the first level but it is empty according to Lightroom (it is not in windows file explorer : transfer has completed properly).
    The original directory remains where it was in Lightroom and the files are in missing red state.
    I have to click on the old directory and locate the files using the browser to make it work.
    Not efficient at all
    Any clue?
    Thanks

    Just one suggestion to be able to reconnect all at once:
    Create a smart album containing the images with missing masters:
    File -> New ->  Smart Album,     and add a rule: File Status is "Missing"     (or File Status is "offline")
    Then select the images in this album and go to the File menu:
    and select:   File -> Locate referenced File
    If you are lucky, Aperture will reconnect all at once, if you point the first image version to its counterpart.

  • Link to a folder in XML form

    Hi Guys!
    I was faced with a strange problem.
    I want to add link to some folder to an XML form. Like with link to 'Read more' document in SAP's example.
    But...
    If I select folder in a moment of creation of XML form via standard browser controll, there is path to that folder ('/documents/Public documents' for example) in a field. On presentation time (in NewsExplorer iView) clicking on that link opens 'http://myportal.domain/irj/go/km/docs/documents/Public documents/' instead of 'http://myportal.domain/irj/go/km/navigation/documents/Public documents/'...
    What can I do with that?
    Thanks in advance!
    Regards,
    DK

    Hi Denis Kleymenov,
    If you do not set "Start In" property of the "Browser" control, by default it will show you "root>>documents>>"
    root = "http://servername:10000/irj/go/km/docs/"
    For example if you select an image which is resided under "root\documents\teamindia.jpg" it will show you below path.
    "http://servername:10000/irj/go/km/docs/documents/teamindia.jpg"
    not as you expected below
    "http://servername:10000/irj/go/km/nagivation/documents/teamindia.jpg"
    if you need any specific repository folder for the target selection. Please set "Start In" property of the "Browser" control like below
    Ex:
    /Your repository name/followed by folder structure/
    /XTest/Home/Documents/Images/
    Thanks,
    Satyadev

  • How to make a field manadatory to a folder in a form?

    Hi,
    I'm working on a custom form.
    I've 3 folders in that form, I need to make some fields to default values to a particular folder.
    How do I do this?
    Work around
    ========
    Made the field to default, how ever these fields are showing default values for all the 3 folders.
    I need to set the default values only to one particular folder.
    Any suggestions on this would appreciate.
    Thanks in advance.
    --Santhosh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    What do you mean by folders?
    Blocks?
    Tabs?
    Records?
    It's not a forms term.

  • Moving folder from a PC to an iMac in Lightroom 5

    I'm in the process of migrating from Windows to an iMac, but I'm having problems with moving folders / files within LR 5 and could do with some clear step-by-step advice please.
    On the Windows PC I had all of my photos on an external hard-drive and my intention was to move all of these (about 40 000 photos) onto a WD external 4tb drive connected to my iMac. To migrate to the iMac I had initial success as follows:
    1. Installed LR 5 on the iMac.
    2. Copied across the lrcat and lrdta files and the presets to the iMac
    3. Started LR and loaded the copied catalogue - worked fine - i can see all my folders plus their question marks as expected.
    4. I re-linked the folders (still on the old external drive) within LR - question marks disappeared, able to access & develop folders/files on the ext drive within LR.
    Then the problems occurred when within LR I tried to move folders from the old external drive to the new external connected to the iMac. The following then happens:
    When I drag a folder up from the old external to the new external drive I get the usual 'moving files on disk warning' box, click 'Move' to confirm but then I get an error message 'Could not complete the folder move. An unknown error occurred'. I click OK and the folder has remained on the old external drive. Oddly, when I check via Finder the folder has been created within my 'Lightroom Photos' folder although it doesn't show there in LR and no photos are included in it - they're still on the old hard-drive.
    I did think this might be something to do with the format of the old external drive. 
    step by step help would be greatly appreciated. I am not an expert on these matters.
    Rob

    Create a new catalog on your mac and import the orginal catalog (on mac) into the new catalog (File -> import from another catalog).
    The Import from Catalog dialog will ask what to do with the photos on the old external drive (copy new photos to new location and import).

  • Moving folder from Spotlight to desktop

    I just recently got a new Mac Pro to replace a defective one (yes, it happens). I didn't want to transfer all of my files from the old machine in case there was a corrupt file somewhere. Now I am looking for some of my Microsoft Word documents. A folder comes up in Spotlight, but I can't find it on my hard drive, and I'd like to move it from Spotlight to my desktop. How do I do that? Thanks.

    Are you using Spotlight from the Menu Bar or a Spotlight Finder Window, to search within Finder use CMD+F enter search term in search box add where to look and all results can be moved using drag and drop or as already suggested use the view menu to show the path bar, this will show where the file is located on HD

  • Photoshop editor saved in moved folder?

    I moved my pictures to a saved folder and after I used Photoshop editor I cannot find where the edited version of a picture is located?  Photoshop elements 9 seemed to just put alongside my original. I am using photoshop elements 12.

    Is the edited photo appearing in Organizer?

  • How to link Javascript code stored in a separate folder to a Form

    I have some Javascripts stored in a differnt Folder. If I want to achieve some different functionality in my forms , how and where do I link this folder. I tried in the Form Edit mode to attach it in the HTML code in the Script tag with the SRC attribute but not been successful.
    Help on this will be highly appreciated
    Thank you all in anticipation
    Cheers
    Nitin

    Hi,
    Simplest way would be to drag the script object to be under the root node (form1). On both pages would would then be able to reference the function by:
    testScript.doThisNow();
    If you leave the script object under page1, then from page2, the following should work:
    page1.testScript.doThisNow();
    Hope that helps,
    Niall

Maybe you are looking for