FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Change buttonbar size
Posts: 253
Joined: Wed May 25, 2016 01:04 AM
Change buttonbar size
Posted: Tue Oct 08, 2024 06:16 PM

Hi,

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

Thanks in advance.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Change buttonbar size
Posted: Wed Oct 09, 2024 06:01 AM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 253
Joined: Wed May 25, 2016 01:04 AM
Re: Change buttonbar size
Posted: Wed Oct 09, 2024 01:53 PM
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!

Continue the discussion