Op 5/08/2016 om 1:23 schreef Giorgio Garabello:
When you draw a menu with Easymenu, that design is the minimum size of the
menu.
I can not make it smaller by SBASIC, using MDRAW command.
Now, is there any way to read this minimum size of the menu? The manual I
could not find anything useful, but my English is bad and probably escaped
me.

Thanks in advanced

Giorgio
_______________________________________________
QL-Users Mailing List


Hi,

I think is is not possible to make the menu smaller than the size you gave it in Easymenu_exe, but I can be wrong.

To find the smallest size suffice to 'mdraw' it without parameters and look for the size with something like:

dim result%(15)

mdraw#xyz,name of menu without parameters

PVAL#xyz,result%

result%(8) holds the width

result%(9) holds the heigt

You're right there seems to be nothing about minimum size in the manuals, but I can be wrong.

François Van Emelen



_______________________________________________
QL-Users Mailing List

Reply via email to