Skip to Content
author's profile photo Former Member
Former Member

Some info about item should be diasppeared while checking opt button..

HI..

I need some info about above one..

Normally,

If u see the incomming payment one screen should be comming

it has card code and cardname and addess as a edit boxes and

and beside check boxes are there custoemr,vendor and others

if u check box " others" the edit boxes (first 2) wiill be disappeared

i need this type of fuctionality ,,how can i disappared the items

i know items enabled false it should be enabled or disabled

but,

i need it should be disappeared.

May be till to this time i had never used this type of fuctinoality..

May i know which type of logic i should use for getting this one...

Need your suggestions...

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 25, 2012 at 10:23 AM

    Hi..

    I had tried this one """"" oform.Items.Item("555").Visible = False""""""""

    I dont'd know this one is currect or not but i am checking..

    i)Dont see the code First i had tried if i press the radio button

    the eidt box should be disappeaered

    so, i got a error """' I got the error as item is in focus

    So i want to move the focus.

    So, if i press the radio button ..

    then matrix row (1) should be added and then click on the matrix first row

    i had used oitem.matrix.click(See the code..) (see the bold colour code)

    the coding is running n number of multiple times.... and creating until stop the programming

    May i know what i had done the stupid mistake...



    _________________________________________________________________

    _____________________________________________________________________________

    If (pVal.BeforeAction = True And pVal.FormUID = "TT" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) Then

    Dim opt As SAPbouiCOM.OptionBtn

    oform = sbo_app.Forms.Item("TT")

    opt = oform.Items.Item("310").Specific

    If (opt.Selected = True) Then

    omatrix = oform.Items.Item("17").Specific

    omatrix.AddRow(1)

    omatrix.Columns.Item("V_7").Cells.Item(1).Click(SAPbouiCOM.BoCellClickType.ct_Regular)

    oform.Items.Item("555").Visible = False

    oform.Items.Item("555").Visible = False

    End If

    End If

    Catch ex As Exception

    sbo_app.MessageBox(ex.Message)

    End Try

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.