Author Topic: CmdVisLines  (Read 4181 times)

0 Members and 1 Guest are viewing this topic.

vladimirzm

  • Guest
CmdVisLines
« on: December 20, 2005, 12:48:22 AM »
(setenv "CmdVisLines" "5") ->  nothing happens

(setenv "CmdVisLines" "20") ->  nothing happens

even through vla-put-dockedvisiblelines nothing happens

but (getenv "CmdVisLines") works
and vla-get-dockedvisiblelines works too

How do i re-size the command window?
I need to show some info and I want to make sure that is correctly displayed (5 lines), but just for active command, when the command finishes the command window must restore from previous size.

Serge J. Gianolla

  • Guest
Re: CmdVisLines
« Reply #1 on: December 20, 2005, 03:04:08 AM »
You must be in 2006! Actually I cannot recall, but I think that we can't do it in 2005 too!! It is more of a stretchable floating form nowadays.

Fatty

  • Guest
Re: CmdVisLines
« Reply #2 on: December 20, 2005, 03:11:34 AM »
(setenv "CmdVisLines" "5") ->  nothing happens

(setenv "CmdVisLines" "20") ->  nothing happens

even through vla-put-dockedvisiblelines nothing happens

but (getenv "CmdVisLines") works
and vla-get-dockedvisiblelines works too

How do i re-size the command window?
I need to show some info and I want to make sure that is correctly displayed (5 lines), but just for active command, when the command finishes the command window must restore from previous size.


Maybe because of:

Remarks

This property is obsolete. (Help)


CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: CmdVisLines
« Reply #3 on: December 20, 2005, 08:04:16 AM »
This may help:
VxXetDispCmdLines - Sets or gets the number of command lines

Found here
http://www.menziengineering.ch/

But not sure about 2006?

Jürg Menzi may shed some light on the subject as he is the author.
« Last Edit: December 20, 2005, 08:08:53 AM by CAB »
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Fatty

  • Guest
Re: CmdVisLines
« Reply #4 on: December 20, 2005, 08:15:53 AM »
This may help:
VxXetDispCmdLines - Sets or gets the number of command lines

Found here
http://www.menziengineering.ch/

But not sure about 2006?

Jürg Menzi may shed some light on the subject as he is the author.

Won't to work fo me (A2005)

(VxXetDispCmdLines 2);nothing happened
(VxXetDispCmdLines 5);nothing happened
(VxXetDispCmdLines 10);nothing happened
(VxXetDispCmdLines 15);nothing happened
(VxXetDispCmdLines 20);nothing happened

Thank you


GDF

  • Water Moccasin
  • Posts: 2081
Re: CmdVisLines
« Reply #5 on: December 20, 2005, 09:01:15 AM »
In Jurge's VxXetDispCmdLines routine:
; Arguments [Type]:
;   Mde = Mode, Values:
;         - Nil (VxGetDispCmdLines) [SYM]
;         - Number of command lines (VxSetDispCmdLines) [INT
VxGetDispCmdLines TYPO?
VxSetDispCmdLines TYPO?

I tried (VxXetDispCmdLines 5) in 2006 and nothing happened.

Gary
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

whdjr

  • Guest
Re: CmdVisLines
« Reply #6 on: December 20, 2005, 09:17:25 AM »
Is your commandline locked?

I would think it would not change if it was locked.

whdjr

  • Guest
Re: CmdVisLines
« Reply #7 on: December 20, 2005, 09:22:48 AM »
This is from the ADT2006 Help Files:

Quote
DockedVisibleLines Property
 


Specifies the number of lines of text to display in the command window.


Signature

object.DockedVisibleLines

object

PreferencesDisplay

DockedVisibleLines

Integer; read-write
A positive integer representing the number of text lines to display in the command window.

Remarks

This property is obsolete.

 

Check out the last line.  I haven't found what controls it yet, though.

vladimirzm

  • Guest
Re: CmdVisLines
« Reply #8 on: December 20, 2005, 09:40:17 AM »
Is your commandline locked?

I would think it would not change if it was locked.
No. It's floating

Yes I'm in R2006 and really nothing happens, anyway

I think i could modify the actual WorkSpace...

Thnxs everybody

Jürg Menzi

  • Swamp Rat
  • Posts: 599
  • Oberegg, Switzerland
Re: CmdVisLines
« Reply #9 on: December 20, 2005, 09:42:58 AM »
I wrote this function with 2k0...
Works with 2k0(i) and 2k2. This property seems not supported anymore since 2k4. :pissed:
Have to add a note to the sample.
No workaround known... :-(
A computer's human touch is its unscrupulousness!
MENZI ENGINEERING GmbH
Current A2k16... A2k24 - Start R2.18