My program has a string:
@ 100, 100 XIMAGE oImg SIZE 64, 64 OF oDlg RESOURCE "i_bmp" NOBORDER
The icon shown is of size 64x64
In FWH17.12 all right, in FWH18.03 I see the icon 32x32. Why?
Icons 16x16 are inserted in the xBrowse column headers. In FWh17.12 all right, FWH18.03 the size of these icons has increased to the height of the title. Why?
Change the size of icons in FWH18.03
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: Change the size of icons in FWH18.03
Are you referring to "icons" or "bitmaps"?
Can you help me by suggesting names of any *.ico files in fwh folder for me to test and answer you?
Can you help me by suggesting names of any *.ico files in fwh folder for me to test and answer you?
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Change the size of icons in FWH18.03
Icons 16x16 in the xBrowse column headers
..FWH\icons\blue.ico
oBrw:aCols[nn]:AddResource( "blue" )
oBrw:aCols[nn]:nHeadBmpNo:= 1
oBrw:aCols[nn]:nHeadBmpAlign:= AL_RIGHT
-------------------------------------
To show in xImage icons 64x64 additionally added
oImg:FitWidth()
oImg:FitHeight ()
Now works fine
..FWH\icons\blue.ico
oBrw:aCols[nn]:AddResource( "blue" )
oBrw:aCols[nn]:nHeadBmpNo:= 1
oBrw:aCols[nn]:nHeadBmpAlign:= AL_RIGHT
-------------------------------------
To show in xImage icons 64x64 additionally added
oImg:FitWidth()
oImg:FitHeight ()
Now works fine
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: Change the size of icons in FWH18.03
Please try
@ 100, 100 XIMAGE oImg SIZE 64, 64 OF oDlg RESOURCE "i_bmp(64x64)" NOBORDER
oBrw:aCols[nn]:AddResource( "blue(16x16)" )
I will explain more in my next post.
@ 100, 100 XIMAGE oImg SIZE 64, 64 OF oDlg RESOURCE "i_bmp(64x64)" NOBORDER
oBrw:aCols[nn]:AddResource( "blue(16x16)" )
I will explain more in my next post.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India