Change buttonbar size

Change buttonbar size

Postby wartiaga » Tue Oct 08, 2024 6:16 pm

Hi,

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

Thanks in advance.
wartiaga
 
Posts: 212
Joined: Wed May 25, 2016 1:04 am

Re: Change buttonbar size

Postby Antonio Linares » Wed Oct 09, 2024 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Change buttonbar size

Postby wartiaga » Wed Oct 09, 2024 1: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!
wartiaga
 
Posts: 212
Joined: Wed May 25, 2016 1:04 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: cmsoft and 37 guests