Search the Community
Showing results for tags 'tuniimagelist'.
-
Since the TuniImageList wasn't properly picking the background color, I decided to look at some of the docs. It said the TuniImageList was DEPRICATED and to use the TuniNativeImageList. It said it was the best alternate to TImageList. So I plopped it onto a form and noticed that I could not load up my image list file. My file contains about 150 icons/images that are 24x24. When I loaded my file, it didn't auto-create the 150 images. It just made it ONE image. Am I doing something wrong? I will attach the imagelist bmp file to this message. Btw, I don't see much documentation on the TuniNativeImageList. Thanks Davie ICONS_24x24_New.bmp
-
Can someone help me with the following problem? I'm trying to change the image (ImageIndex) of a TUniMenuItem of a TUniPopupMenu but in the TUniMenuButton does not refresh the image ... it is only the default defined ... I want to show the option that was clicked ... Does anyone know what I might be doing wrong? Does UniGUI have this limitation of not visually updating ImageIndex? alguem sabe me ajudar com o seguinte problema Estou tentando mudar a imagem (ImageIndex) de um TUniMenuItem de um TUniPopupMenu mas no TUniMenuButton nao atualiza a imagem... fica só a que foi definida default... estou querendo mostrar a opção que foi clicada, mas a propriedade Checked é meio bugada e pensei implementar assim... alguem sabe o que posso estar fazendo de errado? o UniGUI tem essa limitação de não atualizar visualmente o ImageIndex? Ex.: procedure TMainForm.item11Click(Sender: TObject); begin item11.ImageIndex := 0; item21.ImageIndex := -1; item31.ImageIndex := -1; end; procedure TMainForm.item21Click(Sender: TObject); begin item11.ImageIndex := -1; item21.ImageIndex := 0; item31.ImageIndex := -1; end; procedure TMainForm.item31Click(Sender: TObject); begin item11.ImageIndex := -1; item21.ImageIndex := -1; item31.ImageIndex := 0; end;