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.
ICON question
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: ICON question
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
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
G. N. Rao.
Hyderabad, India