Fernando Posted May 7, 2019 Share Posted May 7, 2019 Boa tarde Estou usando Unigui a algum tempo já sem muitos problemas, mas me surgiu uma dificuldade que não consigo resolver. Preciso setar o o Id ou o Name de alguns edit's para que eu possa consultar via JS depois. Eu tentei utilizar edtName.JSControl.Id := 'edtName';, no evento UniFrameCreate, o sistema compila normalmente e as telas também carregam normal, mas ao salvar alguma tela ou qualquer outra rotina que ela faça não apresenta erro mas não executa tais funções. Gostaria de saber se existe algum outra opção ou algum outro evento que eu possa setar os Id's dos edit's e buttons sem que tenha problemas. Uso Unigui Versão 1.70.0.1493 Comercial Obrigado Fernando Piovezan Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 7, 2019 Share Posted May 7, 2019 1 hour ago, Fernando said: Uso Unigui Versão 1.70.0.1493 Comercial Hi, Please adjust your forum email address: Quote Link to comment Share on other sites More sharing options...
MilkoSoft Posted May 7, 2019 Share Posted May 7, 2019 eu vi isto: ShowMessage (IntToStr ((Self.FindComponent ('XoMyLabel') as TUniLabel). Width)); Quote Link to comment Share on other sites More sharing options...
Fernando Posted May 8, 2019 Author Share Posted May 8, 2019 16 hours ago, Sherzod said: Please adjust your forum email address: I did not find the section informed, and this print contained in the post does not match the information on the settings screen Quote Link to comment Share on other sites More sharing options...
Fernando Posted May 8, 2019 Author Share Posted May 8, 2019 14 hours ago, MilkoSoft said: eu vi isto: ShowMessage (IntToStr ((Self.FindComponent ('XoMyLabel') as TUniLabel). Width)); Desculpe mas não entendi como posso setar as informações de Id e Name com este código que passou. 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.