News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

input window location

Started by Mark Laing, August 23, 2008, 12:47:40 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Mark Laing

Why doesn't the following code fragment work?
How do I move the input window to the top left of the screen?

Sys(130) = -40  'Input window left boundary pixel location (-10000 to center)
Sys(131) = -40  'Input window top boundary pixel location (-10000 to center
INPUT "Azimuth= ?", az

thanks

bdeck

#1
Hi Mark,

Try this

Sys(130) = 1  'Input window left boundary pixel location
Sys(131) = 1  'Input window top boundary pixel location
INPUT "Azimuth= ?", az

bd

ps: looks like a candidate for sdk errata

Mark Laing

#2
Thanks Bdeck
But that's not working for me either.
I swear I saw it done somewhere or other.
I'll keep at it for a while.
Mark

Edit 8-25-08
Found it.
I had a goto statement circumventing that portion of the code until a repeat loop kicked in.
The Sys(130) and Sys(131) functions work great.
Mark