Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I would want to hide certain fields from being displayed in the current selection box, i do know that it can be done using hideprefix, but hideprefix will ensure that the selection is not visible on the entire dashboard.
But I would want only certain tabs to show the fields selection and certain tabs not show the selections of a particular field.
Please let me know if this is possible.
Do you utilise all the functions of the current selections or do you just use it 'for information' ?
We use it just for information so actually our current selections box is just a text object, we can hide / show as we like then
Like Adam mentioned if you don't need to interact with the current-selection-box and want just to display the current selections you could use a textbox with getcurrentselections() for it which is appropriate adhusted. Otherwise you need to build your own current-selections-objects - here you will find some interesting ideas for it: Current Selection Alternatives.
If you are using the desktop client or the IE plugin you could also use a macro - triggerred by (De)ActivateSheet - which changed the IsHidden property of the field to true respectively false. Here an example from the APIGuide.qvw how this property could be read:
set flddescs = ActiveDocument.GetFieldDescriptions
for i = 0 to flddescs.Count - 1
fdesc = flddescs(i)
if fdesc.IsHidden then
msgbox(fdesc.Name & " is hidden")
else
msgbox(fdesc.Name & " is not hidden")
end if
next
- Marcus