[Gambas-user] Size of Window cannot be decreased when opened with ShowModal()

Claus Dietrich claus.dietrich at freenet.de
Sun Jan 28 22:24:52 CET 2024


Am 28.01.24 um 20:11 schrieb Bruce Steers:
> But Gambas is NOT Microsoft visual basic clone.
>
> vb is vb.  it works how it works.
> gambas is gambas.  it works how it works.
>
> I don't hink it's right to say the vb way correct and gambs in not 
> justified in how it works?
>
> If you want your gambas application to behave exactly the same as 
> microsoft basic then you should code it to do so.
>
> And like i explained you can set the minimum size for your modal 
> window in the IDE or when creating it then grow it when it opens.  
> then it CAN shrink.
>
> Respects
> BruceS

Nobody said that the VB-way is the right way. I just provided an 
information how it is done in Visual Basic and asked whether the modal 
mode of windows in Gambas is "normal". The suggested workaround was 
registered - thanks for that.

I tried to find examples under Linux where the size of a modal window 
can be decreased, but I only found one so far in Thunderbird. The others 
could only be increased. So could this be something which has nothing to 
do with Gambas and is depending on the graphical framework or windows 
manager?

Regards

Claus









More information about the User mailing list