picyka Posted December 17, 2021 Share Posted December 17, 2021 Good morning, UniPanel -> Title Is there the possibility of putting an image at the beginning of the title? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 17, 2021 Share Posted December 17, 2021 Hello, 2 minutes ago, picyka said: an image Do you mean an icon? Quote Link to comment Share on other sites More sharing options...
picyka Posted December 17, 2021 Author Share Posted December 17, 2021 Just now, Sherzod said: Olá Você quer dizer um ícone? yes Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 17, 2021 Share Posted December 17, 2021 Something like this? Quote Link to comment Share on other sites More sharing options...
picyka Posted December 17, 2021 Author Share Posted December 17, 2021 1 minuto atrás, Sherzod disse: Algo assim? Perfect Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 17, 2021 Share Posted December 17, 2021 One possible solution... 1. Demo: \FMSoft\Framework\uniGUI\Demos\Desktop\ToolButtons 2. procedure TMainForm.UniFormCreate(Sender: TObject); begin UniMemo1.Clear; with UniPanel1.JSInterface do JSConfig('titlePosition', [1]); //<----------- end; Quote Link to comment Share on other sites More sharing options...
picyka Posted December 17, 2021 Author Share Posted December 17, 2021 5 minutos atrás, Sherzod disse: Uma solução possível... 1. Demonstração: \FMSoft\Framework\uniGUI\Demos\Desktop\ToolButtons 2. procedure TMainForm.UniFormCreate(Sender: TObject); begin UniMemo1.Clear; with UniPanel1.JSInterface do JSConfig('titlePosition', [1]); //<----------- end; Works for me. Thanks. 1 Quote Link to comment Share on other sites More sharing options...
picyka Posted December 17, 2021 Author Share Posted December 17, 2021 Not wanting to abuse your kindness, this case of mine is a UniDBGrid would there be an icon on the left and one on the right, how? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 17, 2021 Share Posted December 17, 2021 24 minutes ago, picyka said: a UniDBGrid would there be an icon on the left and one on the right, how? procedure TMainForm.UniFormCreate(Sender: TObject); begin UniMemo1.Clear; with UniPanel1.JSInterface do JSConfig('titlePosition', [1]); with UniDBGrid1.JSInterface do JSConfigObject('header', 'titlePosition', [1]); //<---------- end; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 17, 2021 Share Posted December 17, 2021 Also you can use with this property: UniDBGrid.HeaderTitleAlign = taCenter Quote Link to comment Share on other sites More sharing options...
picyka Posted December 17, 2021 Author Share Posted December 17, 2021 24 minutos atrás, Sherzod disse: Também você pode usar com esta propriedade: UniDBGrid.HeaderTitleAlign = taCenter It works on the grid when using ToolType but if using ImageIndex it doesn't show anything. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 17, 2021 Share Posted December 17, 2021 Can you make a simple testcase to check? Quote Link to comment Share on other sites More sharing options...
picyka Posted December 17, 2021 Author Share Posted December 17, 2021 11 minutes ago, Sherzod said: Você pode fazer um caso de teste simples para verificar? yes Quote Link to comment Share on other sites More sharing options...
picyka Posted December 17, 2021 Author Share Posted December 17, 2021 TestGrid.rar Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 17, 2021 Share Posted December 17, 2021 I will try to check it a bit later. Quote Link to comment Share on other sites More sharing options...
picyka Posted December 17, 2021 Author Share Posted December 17, 2021 1 minute ago, Sherzod said: Vou tentar verificar um pouco mais tarde. no problem. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 17, 2021 Share Posted December 17, 2021 17 minutes ago, picyka said: TestGrid.rar 5.92 MB · 0 downloads 47 minutes ago, picyka said: It works on the grid when using ToolType but if using ImageIndex it doesn't show anything. Please open a request in the support portal. Quote Link to comment Share on other sites More sharing options...
picyka Posted December 17, 2021 Author Share Posted December 17, 2021 3 minutos atrás, Sherzod disse: Por favor, abra uma solicitação no portal de suporte. I'm sorry, I don't even have access to it, I've never used it. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 17, 2021 Share Posted December 17, 2021 http://unigui.com/support/support-portal http://jira.fmsoft.net/servicedesk/customer/portal/4 is available to log incidents and create tickets for all incoming requests. You can enter portal from here or simply you can send an email to to initiate a support request. Quote Link to comment Share on other sites More sharing options...
picyka Posted December 17, 2021 Author Share Posted December 17, 2021 9 minutos atrás, Sherzod disse: http://unigui.com/support/support-portal http://jira.fmsoft.net/servicedesk/customer/portal/4 está disponível para registrar incidentes e criar bilhetes para todas as solicitações recebidas. Você pode entrar no portal daqui ou simplesmente enviar um e-mail para iniciar uma solicitação de suporte. Thanks, I just did. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.