Change buttonbar size

Post Reply
wartiaga
Posts: 212
Joined: Wed May 25, 2016 1:04 am

Change buttonbar size

Post by wartiaga »

Hi,

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

Thanks in advance.
User avatar
Antonio Linares
Site Admin
Posts: 42259
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Change buttonbar size

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
wartiaga
Posts: 212
Joined: Wed May 25, 2016 1:04 am

Re: Change buttonbar size

Post 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!
Post Reply