Enlarging display using editor

vdennis

Member
Was wondering if anyone has had any luck trying to enlarge the display window box when running a procedure? We run a lot of Q&D's and having to scroll from one side to another is a real pain. Because of what we are doing, we can't run these on the UNIX side and change the column size. Thanks! -Dennis-
 

Cringer

ProgressTalk.com Moderator
Staff member
Can you give some more info please? Your request means absolutely nothing to me.
 

vdennis

Member
Start editor.
for each customer.
display customer.
end.

If the display of customer is wider than the window opened by the display statement, you have to scroll to the right to get the data. There does not appear a way make the display window larger. Using the 'with width 200', does not make any change other than having the display output word wrap.
 

vdennis

Member
Yep, as I mentioned that we cant use our UNIX box. (Same problem in UNIX, but you can change the terminal to 132 columns.) We have to run these from Windows as there are calls being made to the Windows OS.
 

Cringer

ProgressTalk.com Moderator
Staff member
Can you run it from a character client on Windows? You can change the settings of your Proenv similar to the way you can change things on Unix. See this link for instructions relating to ProTop, but you should be able to apply them easily enough for the settings you need. http://www.dbappraise.com/protop.html#INSTALL
 

Cringer

ProgressTalk.com Moderator
Staff member
Alternatively you can
Code:
for each customer no-lock:
disp customer except comments with 2 col. 
end.

It might help if you explained what you were trying to achieve though.
 

Rob Fitzpatrick

ProgressTalk.com Sponsor
Try this:
Code:
assign current-window:width = 200.
for each customer no-lock:
  display customer with width 200.
end.

This is not best-practices code, but it will do what you're looking for.
 

RealHeavyDude

Well-Known Member
When you execte a procdure that creates output to the terminal ( for example display ) then a default window to hold the default frame is created. This size of that window can be configured in the ini that's used by the session. There is a default window section - mine looks like this:
Code:
[Default Window]
;x=
;y=
rows=45
columns=200

Is tthis what you mean?

Heavy Regards, RealHeavyDude.
 

RealHeavyDude

Well-Known Member
Forgot to mention that this will also affect tools like the data administration and data dictionary which will display with a lot of wasted space. But - IMHO of course - they aren't pretty anyway, at least from nowaday's point of view.

Heavy Regards, RealHeavyDude.
 
Top