Не уверен, что для ImageList есть дополнительные свойства, позволяющие это работать.
Извлечение кода:
Код: Выделить всё
imgLst2 = ImageList(self)
imgLst2.SetProps(Height = 16, Width = 16,
DrawingStyle = 'dsTransparent',
Masked = False,
ColorDepth = 'cd32bit')
for f in icoFileList:
icon = Icon(self)
icon.LoadFromFile(f)
imgLst2.AddIcon(icon)
icon.Free()
mainMenu.Images = imgLst2
mnuItm1.ImageIndex = 0 #The 'Text' disappear on MenuItem
Кто-нибудь знает, как это исправить?
Подробнее здесь: https://stackoverflow.com/questions/793 ... ve-a-style