Jump to content

Set double line to cell


ziele_o2k

Recommended Posts

I want to set double line to specific cells in table.

I'm trying with

(vla-SetGridDoubleLineSpacing TabObj 0 0 (+ acHorzBottom acHorzTop acVertLeft acVertRight) 5)
(vla-SetGridVisibility2 TabObj 0 0 (+ acHorzBottom acHorzTop acVertLeft acVertRight) :vlax-true)

but I get error.

What is wrong?

20180129_0047.jpg

Link to comment
Share on other sites

Try the following there are no errors but no Double lines either ?

(setq obj (vlax-ename->vla-object (car (entsel "\nPick object"))))
(vla-SetGridDoubleLineSpacing Obj 0 0 (+ acHorzBottom acHorzTop acVertLeft acVertRight) 0.5)
(vla-SetGridVisibility Obj  (+ acHorzBottom acHorzTop acVertLeft acVertRight) acHeaderRow  :vlax-true)
one at a time works
(vla-SetGridVisibility2 Obj 0 0 acVertRight  :vlax-true)

Edited by BIGAL
Link to comment
Share on other sites

Bigal, your code doesn't work.

Anyway, in my example I want to set double lines in title row, but I'm searching for solution which will work with any cell in table.

Link to comment
Share on other sites

Thank you Roy_043 !

(vla-SetGridDoubleLineSpacing TabObj 0 -1 (+ acHorzBottom acHorzTop acVertLeft acVertRight) 5)
(vla-setgridlinestyle TabObj 0 -1 (+ acHorzBottom acHorzTop acVertLeft acVertRight) acgridlinestyledouble)

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...