Page 1 of 1

ICON question

Posted: Thu Jan 21, 2016 10:50 pm
by dpesic
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.

Re: ICON question

Posted: Fri Jan 22, 2016 1:03 am
by nageswaragunupudi
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

Re: ICON question

Posted: Fri Jan 22, 2016 1:53 am
by dpesic
GREAT !!!


Tx