Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Hide button

I have created a form using screen painter.I have added two buttons which I am accessing through vb.net as,

Dim btnFind As SAPbouiCOM.Button

Dim btnSave As SAPbouiCOM.Button

btnFind = objForm.Items.Item("btnFind").Specific

btnSave = objForm.Items.Item("btnSave").Specific

I want to hide find button on form loading and show it when find button is clicked.But I am not getting visible property of button.How can I toggle between these two buttons.

Former Member
replied

Hi Dilip,

visiblility is not a property of the button, but of the item

objForm.Items.Item("btnFind").visible = false

Regards

Ad

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question