Page setup dialog

Page setup dialog

Anonymous
Not applicable
390 Views
6 Replies
Message 1 of 7

Page setup dialog

Anonymous
Not applicable
I would like to access the PAGESETUP dialog from my user form, using an
"Advanced" button.

Me.Hide
ThisDrawing.SendCommand "_pagesetup "
Me.Show

The code above will not show the PAGESETUP dialog between the hide and show,
but will wait until all dialogs are closed, then show it.

Anyone know how I can get the PAGESETUP to show between the hide and show?

--
Rune Wold
Application Designer
Engineering Systems
rune@engsys.no
--
0 Likes
391 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
Hi Rune,

The following code worked just fine for me.

Private Sub CommandButton1_Click()
Me.Hide
ThisDrawing.SendCommand "_pagesetup "
Me.Show
End Sub

Cheers,
Thilak

Rune Wold wrote in message
news:ef0698a.-1@WebX.SaUCah8kaAW...
> I would like to access the PAGESETUP dialog from my user form, using an
> "Advanced" button.
>
> Me.Hide
> ThisDrawing.SendCommand "_pagesetup "
> Me.Show
>
> The code above will not show the PAGESETUP dialog between the hide and
show,
> but will wait until all dialogs are closed, then show it.
>
> Anyone know how I can get the PAGESETUP to show between the hide and show?
>
> --
> Rune Wold
> Application Designer
> Engineering Systems
> rune@engsys.no
> --
>
0 Likes
Message 3 of 7

Anonymous
Not applicable
Rune, there are sync issues with SendCommand. Autodesk has addressed the
issue. Check this out:

http://www3.autodesk.com/adsk/support/techdoc/0,,136522--125452-20022_21838,
00.html

--
R. Robert Bell, MCSE
Network Administrator

Rune Wold wrote in message
news:ef0698a.-1@WebX.SaUCah8kaAW...
| I would like to access the PAGESETUP dialog from my user form, using an
| "Advanced" button.
|
| Me.Hide
| ThisDrawing.SendCommand "_pagesetup "
| Me.Show
|
| The code above will not show the PAGESETUP dialog between the hide and
show,
| but will wait until all dialogs are closed, then show it.
|
| Anyone know how I can get the PAGESETUP to show between the hide and show?
|
| --
| Rune Wold
| Application Designer
| Engineering Systems
| rune@engsys.no
| --
|
0 Likes
Message 4 of 7

Anonymous
Not applicable
They've addressed it poorly as far as I'm concerned. "Break up your macros"
is hardly an elegant solution.

--
Visit me at http://www2.stonemedia.com/franko

"R. Robert Bell" wrote in message
news:ef0698a.1@WebX.SaUCah8kaAW...
> Rune, there are sync issues with SendCommand. Autodesk has addressed the
> issue. Check this out:
>
>
http://www3.autodesk.com/adsk/support/techdoc/0,,136522--125452-20022_21838,
> 00.html
0 Likes
Message 5 of 7

Anonymous
Not applicable
Correct me if I'm wrong, but doesn't this sync problem only happen with
dialog driven commands? I have been using SendCommand for command-line
driven commands and haven't had a problem (yet!).

--
R. Robert Bell, MCSE
Network Administrator

Frank Oquendo wrote in message
news:ef0698a.2@WebX.SaUCah8kaAW...
| They've addressed it poorly as far as I'm concerned. "Break up your
macros"
| is hardly an elegant solution.
0 Likes
Message 6 of 7

Anonymous
Not applicable
Hi Rune,

I think you are using AutoCAD 2000 build number T.0.98, you could check this
by typing _VERNUM at the command prompt. The Sync problem appears to have
been fixed by the later service packs. I have updated my AutoCAD 2000 and
the build reads T.1.08. Please visit the autodesk site for free download of
the latest service packs.

Thilak

Rune Wold wrote in message
news:ef0698a.-1@WebX.SaUCah8kaAW...
> I would like to access the PAGESETUP dialog from my user form, using an
> "Advanced" button.
>
> Me.Hide
> ThisDrawing.SendCommand "_pagesetup "
> Me.Show
>
> The code above will not show the PAGESETUP dialog between the hide and
show,
> but will wait until all dialogs are closed, then show it.
>
> Anyone know how I can get the PAGESETUP to show between the hide and show?
>
> --
> Rune Wold
> Application Designer
> Engineering Systems
> rune@engsys.no
> --
>
0 Likes
Message 7 of 7

Anonymous
Not applicable
You were correct. I downloaded the SP, and that solved my problem.

Thank you.

Rune
0 Likes