Page 1 of 1

Change buttonbar size

Posted: Tue Oct 08, 2024 6:16 pm
by wartiaga
Hi,

How can I change the height and width of a buttonbar created in resource?

Thanks in advance.

Re: Change buttonbar size

Posted: Wed Oct 09, 2024 6:01 am
by Antonio Linares
If you are using it from a dialog then you can resize it from the ACTIVATE DIALOG oDlg ON INIT ...

Could you please provide a small PRG to show how you are doing it ?

many thanks

Re: Change buttonbar size

Posted: Wed Oct 09, 2024 1:53 pm
by wartiaga
Antonio Linares wrote:If you are using it from a dialog then you can resize it from the ACTIVATE DIALOG oDlg ON INIT ...

Could you please provide a small PRG to show how you are doing it ?

many thanks
Hi Antonio,

I solved it with ON INIT (oBar2:SetSize(107.5, 25),oBar2:Refresh())

Thank You!