ICON question

ICON question

Postby dpesic » Thu Jan 21, 2016 10:50 pm

I can't change size of icon on dialog, it allways show at 32x32 pixels.
As you can see in icon.prg

CLASS TIcon FROM TControl
....
METHOD New( nRow, nCol, cResName, cIcoFile, lBorder, bClick,;
oWnd, lUpdate, bWhen, nClrFore, nClrBack )


there is only nRow and nCol parameters.

Is there any way to show icon in diffrent size.
dpesic
 
Posts: 11
Joined: Thu Jan 21, 2016 8:26 pm

Re: ICON question

Postby nageswaragunupudi » Fri Jan 22, 2016 1:03 am

You can use BTNBMP to display any image including Icons also (any recent versions 2015).

Example:

@ 20,20 BTNBMP FILE "c:\fwh\icons\fivetech.ico" SIZE 64,64 PIXEL OF oDlg ADJUST FLAT NOBORDER
Regards

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

Re: ICON question

Postby dpesic » Fri Jan 22, 2016 1:53 am

GREAT !!!


Tx
dpesic
 
Posts: 11
Joined: Thu Jan 21, 2016 8:26 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 68 guests