LISP: Window sizes managing

LISP: Window sizes managing

АлексЮстасу
Advisor Advisor
721 Views
5 Replies
Message 1 of 6

LISP: Window sizes managing

АлексЮстасу
Advisor
Advisor

Hi,

 

Are there examples on Lisp managing window sizes by users?


Is it possible to make that the user can resize the window, for example, with the "-", "+" buttons or arrows, or numbers of relative dimensions?
For example, this is:

view-edit2_знаками_60.png  view-edit2_стрелками_60.png  view-edit2_цифрами_60.png

Are there any successful ways?

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
722 Views
5 Replies
Replies (5)
Message 2 of 6

АлексЮстасу
Advisor
Advisor

I am not a programmer. And I was helped by a very inexperienced amateur in Lisp.
We made such a prototype solution - see attach.

Dialog_Size_Control_Idea.png
The basic scheme: image buttons, when you click them, the dialog closes and opens with new horizontal or vertical dimensions.

The two buttons for the horizontal dimensions for "-" "+". Two for vertical.
Buttons-images are taken because of the possibility to make them much smaller than usual buttons, so that they make the size of the window increase minimally.


Instead of buttons, you can make just two narrow strips of images - horizontal and vertical. Which will respond to clicking on their ends.

 

This is just a prototype and a scheme. And they are made by very inexperienced in Lisp.

I hope there are better solutions long ago?

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 3 of 6

Sea-Haven
Mentor
Mentor

You can pre process say a list of strings and find the number of characters so set a width for the dcl if that is what your asking for.

0 Likes
Message 4 of 6

АлексЮстасу
Advisor
Advisor

Not always, of course, but sometimes the user needs to adjust the window size himself.

 

I recently had a case of a routine refusing to work when the length of the lines or the number of lines in the data was too big. And it was very frustrating because the routine was very useful.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 5 of 6

Sea-Haven
Mentor
Mentor

As per your image dcl I would do a list box but with radio button rows say with + - as selection, after choosing the button would have to close the dcl and reopen with new sizes.

0 Likes
Message 6 of 6

АлексЮстасу
Advisor
Advisor

It's hard for me to understand in words, a picture would be better.

 

There may be more than one list in a dialog. There may be no lists.

 


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes