Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
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
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.
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.
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!
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
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?
You might post the macro code that the button runs.
You might also post your qvw for our examination.
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!
Do any of these variables have actions for their event triggers?