Ask Your Question
0

CalcBASIC+Calc: How to hide grid lines of a sheet ?

asked 2019-11-29 07:09:24 +0100

lonk gravatar image

updated 2019-11-29 09:47:41 +0100

I love working on white plain sheet.

What is the BASIC code to hide grid lines of a sheet or a specific sheet ?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2019-11-29 17:28:09 +0100

mauricio gravatar image

Property ShowGrid apply for all Sheets

doc = ThisComponent
cc = doc.CurrentController
cc.ShowGrid = False

You can used event sheet "Activate Document" for hide or show.

edit flag offensive delete link more

Comments

Hello @mauricio, what is the advantage of making "pieces", easier all together

ThisComponent.CurrentController.ShowGrid = False
Schiavinatto gravatar imageSchiavinatto ( 2019-11-30 01:58:06 +0100 )edit

Dear @Schiavinatto and @mauricio ,

Thank you so much for your support.

lonk gravatar imagelonk ( 2019-11-30 03:28:18 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-11-29 07:09:24 +0100

Seen: 30 times

Last updated: Nov 29