Difference BTNBMP FWH7.10 - FWH64-16.04

Difference BTNBMP FWH7.10 - FWH64-16.04

Postby Marc Vanzegbroeck » Wed Jun 15, 2016 9:45 am

Hi,

I am migrating a program from FWH7.10 to FWH64-16.04.
I notice that the text is not centered anymore. Now it's on the bottom of the button.

BTNBMP in FW7.10
Image

BTNBMP in FWH64-16.04
Image

Is there a way to center the text?

Thanks,
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Difference BTNBMP FWH7.10 - FWH64-16.04

Postby augustogomes » Wed Jun 15, 2016 6:02 pm

Marc

See this topic, I think that answers your question

viewtopic.php?f=3&t=32444
Augusto Gomes /Suprisystem Informática - Fivewin 16.08 - xharbour 123 - BCC70 - DBFNTX e PostGreSql
User avatar
augustogomes
 
Posts: 23
Joined: Mon Jun 06, 2016 8:38 pm
Location: Ribeirão Preto - SP - Brasil

Re: Difference BTNBMP FWH7.10 - FWH64-16.04

Postby Marc Vanzegbroeck » Wed Jun 15, 2016 6:25 pm

Thank you Augusto!
It's working fine now :D
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Difference BTNBMP FWH7.10 - FWH64-16.04

Postby nageswaragunupudi » Thu Jun 16, 2016 8:53 am

Marc Vanzegbroeck wrote:Thank you Augusto!
It's working fine now :D

Please add the clause "CENTER" while defining btnbmp

@ r,c BTNBMP PROMPT "OK" SIZE <w>,<h> PIXEL OF oDlg CENTER.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Difference BTNBMP FWH7.10 - FWH64-16.04

Postby Marc Vanzegbroeck » Sat Jun 18, 2016 11:32 am

nageswaragunupudi wrote:
Marc Vanzegbroeck wrote:Thank you Augusto!
It's working fine now :D

Please add the clause "CENTER" while defining btnbmp

@ r,c BTNBMP PROMPT "OK" SIZE <w>,<h> PIXEL OF oDlg CENTER.


Thank you Rao, that's what I did :D
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 98 guests