将更改的位图分配给 VCL 样式时发生访问冲突
Access violation when assigning a changed bitmap to a VCL style
Delphi XE7 位图样式设计器:当我更改 Delphi 视觉样式(例如 'Auric')的导出位图时,我在导入 png 后遇到访问冲突并尝试分配颜色。有任何想法吗?
您可能正在通过以下方式导入图像:
Images -> style.png -> Delete -> Add -> Style Assign Colors -> AV
改为:
Images -> style.png -> Update -> Style Assign Colors
看来只能用支持透明的Photoshop或Gimp来编辑png图片了。如果我在像 Paint 这样的简单位图编辑器中更改颜色,就会出现上述问题。
Delphi XE7 位图样式设计器:当我更改 Delphi 视觉样式(例如 'Auric')的导出位图时,我在导入 png 后遇到访问冲突并尝试分配颜色。有任何想法吗?
您可能正在通过以下方式导入图像:
Images -> style.png -> Delete -> Add -> Style Assign Colors -> AV
改为:
Images -> style.png -> Update -> Style Assign Colors
看来只能用支持透明的Photoshop或Gimp来编辑png图片了。如果我在像 Paint 这样的简单位图编辑器中更改颜色,就会出现上述问题。