Skip to Content
avatar image
Former Member

Folder Creation by Screen Painter

Hi All,

I created a form through Screen Painter which contains 5 folder. I set Pane =1,Pane=2 etc in all five folder and set from Pane and To pane for each Item as 1:1, 2:2 etc.In the Preview mode it shows all item in the corresponding folder. When I run the same form in Debug mode, Sometime it shows only folder not its items. To view items in the folder, i have to open .srf form in screen painter and re run it in debug mode.

Please suggest me a solution.

Thanks in advance,

BBN

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 20, 2007 at 02:36 PM

    Hi

    Try setting the form PaneLevel in Code like this

    If pVal.Before_Action = True Then

    Select Case pVal.EventType

    Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED

    Case "Folder1"

    oForm.PaneLevel = 1

    Case "Folder2"

    oForm.PaneLevel = 2

    End Select

    End Select

    End If

    hope it helps

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 29, 2007 at 09:19 AM

    Thnaks for your help.

    Add comment
    10|10000 characters needed characters exceeded