How hide group and not single pictures ? (screen recording)
edited : No, your link it’s two part, checkbox + group hide with no program writed, so for my second post, i request just command for hide a group, and show program coded, so your link is obsolete
For example:
Sub chk_visible_changed(event)
names = Array("plus", "close", "home")
visible = False
If event.Source.State = 1 Then
visible = True
End If
dp = ThisComponent.CurrentController.ActiveSheet.DrawPage
For i = 0 To dp.Count - 1
img = dp.getByIndex(i)
For Each n In names
If img.Name = n Then
img.visible = visible
Exit For
End If
Next
Next i
End Sub
ask_example.ods (20.4 KB)
3 Likes
thanks :DDD