Author Topic: Show Document properties Dialogue  (Read 272 times)

0 Members and 1 Guest are viewing this topic.

chris0702

  • Newbie
  • *
  • Posts: 3
Show Document properties Dialogue
« on: February 12, 2020, 03:54:43 AM »
Good Morning,

I'm looking for a possibility to show a dialogue of the properties of the document shapesheet section. I want to use this section to define document wide userdefined color selections etc. and am looking for a way to edit this section. The best solution would be without VBA or macros, for example by double clicking the page background. I tried DOCMD(1312) in the shapesheet of the page (in the Actions section) but I did not find a way to open the dialogue for the document instead of the page.
Let me know if someone has an idea how to solve this.

Thanks,

CK

Croc

  • Sr. Member
  • ****
  • Posts: 251
    • Visioport
Re: Show Document properties Dialogue
« Reply #1 on: February 12, 2020, 05:02:29 AM »
Maybe you will try to use a special shape-translator with the same properties as in the document?
And transfer the data from it to the document using SETATREF.
Code
[shape]!Prop.Row_1.Value=SETATREF(TheDoc!Prop.Row_1)
To call the dialog, you can use DoCmd (1312) in this shape.