Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
kim_rormark
Partner - Contributor III
Partner - Contributor III

Disappearing button object

Hi,

Have anyone noticed button objects disappearing in your QV application? I don't know when/why this happends, but I have five buttons on one sheet, and I had to recreate one of them a couple of days ago, and now another one is missing. They are not minimized (I think), because they are not allowed to.

QV version 10 SR3.

Any suggestions?

12 Replies
sushil353
Master II
Master II

Hi

Have you checked the objects in the document/sheet property tab... just check it whether they were there in the list or not..

Thanks

sushil

HTH

kim_rormark
Partner - Contributor III
Partner - Contributor III
Author

I was looking for some list like that, so I didn't check until now.

No, there are only 4 button objects there, whereas there use to be five. I did not close the document, only did some reloads, then I noticed the button had disappeared. The first time I thought i was just something I did wrong, but I know I have not moved or removed it this time.

sushil353
Master II
Master II

hi

can you please specify what kind of button had been removed... are they linked to a perticular action... please be little bit more clear about the problem.

kim_rormark
Partner - Contributor III
Partner - Contributor III
Author

Hi,

I'm sorry if I was not clear enough. The button was a standard "Button" added from the "sheet right-click menu > New Sheet Object > Button...". The button was linked to a macro that empties some variables (sets them to ""). The first button was linked to a macro that saved some information from variables to access DB.

If you need some more information, please ask!

erichshiino
Partner - Master
Partner - Master

Hi,

Check if you button is not going behind another object.

You can set it to be on a top layer going to:

button properties-> Layout -> layer -> select 'Top'

Hope this helps,

Erich

kim_rormark
Partner - Contributor III
Partner - Contributor III
Author

Hi,

That I already did. But as I wrote in my last reply, the button object is also gone from objects list in the sheet properties, so it is totally gone. Am I an isolated case?

m_woolf
Master II
Master II

You might post the macro code that the button runs.

You might also post your qvw for our examination.

kim_rormark
Partner - Contributor III
Partner - Contributor III
Author

Hi,

This is the macro-code the button runs:

Sub ClearInc
varClear = ""
ActiveDocument.Variables("ibvIncRegBy").SetContent varClear, true
ActiveDocument.Variables("ibvIncGrouping").SetContent varClear, true
ActiveDocument.Variables("ibvIncCustomerCode").SetContent varClear, true
ActiveDocument.Variables("ibvIncDateStart").SetContent varClear, true
ActiveDocument.Variables("ibvIncTimeStart").SetContent varClear, true
ActiveDocument.Variables("ibvIncDateEnd").SetContent varClear, true
ActiveDocument.Variables("ibvIncTimeEnd").SetContent varClear, true
ActiveDocument.Variables("ibvIncType").SetContent varClear, true
ActiveDocument.Variables("ibvIncDescription").SetContent varClear, true
ActiveDocument.Variables("ibvIncIMnr").SetContent varClear, true
End Sub


I cannot post the entire qvw, sorry. I hope this helps though. I appreciate all and any help!

m_woolf
Master II
Master II

Do any of these variables have actions for their event triggers?