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 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

Hi Dilip,

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

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



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