mazluta Posted May 1 Share Posted May 1 Ho do i get the ID of the TitleButton.Item[0] programmatically. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 1 Share Posted May 1 Hello, For what purposes? Quote Link to comment Share on other sites More sharing options...
mazluta Posted May 1 Author Share Posted May 1 i want to make changes using external JS file Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 2 Share Posted May 2 7 hours ago, mazluta said: i want to make changes using external JS file Please describe in more detail what you would like, using a constant in an external file is not a good practice, as this may change as you further add elements. Quote Link to comment Share on other sites More sharing options...
mazluta Posted May 2 Author Share Posted May 2 ok. i'm trying to write Document Sign Routine. a document is enter to the DMS (Document Managment System) app. the user adds the Invoice no, sum, and the group of signers. the members of the groups get Mail or SMS or both scheduler until thay sign or unsign. the member get message like this http://185.185.135.209:8077/?Act=SignRoutine&Ident=26&ChatID=4&UserID=admin if you open in chrome (PC) all ok. but in Mobile, the picture get all the screen, I can not open or size with the finger, I dont see the lower panels... i want to see - by the plain end the screen first I work with frame. and when I show the frame and want to change the text of the TitleButtonfrom "Close" to "Back" on after show or ready it did not work in self.TitleButton.items[0].caption = 'Back". only if I use AddJs + finction+ AddJs (run the function). i can not use the global My_Js_Func.js. i am trying to display the 3 containers as vbox automatically by they dont work as "align=alTop". so I set the layout as flot and set the top-left-height programmatically (width=100%) and the container_1 . height := 800; (after I prepare the screen - and load the image) this don't work so - set it with UniSession.AddJS(PdfContainer.JSName + '.setHeight(''' + IntToStr(NewHeight) + ''');'); NewTop := 3; UniSession.AddJS(PdfContainer.JSName + '.setTop(''' + IntToStr(NewTop) + ''');'); but - as I say - in the develop PC it's work fine. in the external server it dont.... i also want to set the size of the ScrollRange to be total of all containers and margin. and I dont no how to set it. the : self.ScrollRange := TotalHighet; is not working. its look like the render has done and it not repaint itself. Quote Link to comment Share on other sites More sharing options...
mazluta Posted May 2 Author Share Posted May 2 i also want to control the image CSS property Quote Link to comment Share on other sites More sharing options...
mazluta Posted May 2 Author Share Posted May 2 and how do i remove the : clip property from the image - if I put UniImage instead Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 2 Share Posted May 2 32 minutes ago, mazluta said: UniImage UnimImage? Quote Link to comment Share on other sites More sharing options...
mazluta Posted May 2 Author Share Posted May 2 yes, i'm playing with uniimage and uniUrlFrame. see what better Quote Link to comment Share on other sites More sharing options...
mazluta Posted May 2 Author Share Posted May 2 please try this with PC and with mobile and see the different http://185.185.135.209:8077/?Act=SignRoutine&Ident=26&ChatID=4&UserID=admin Quote Link to comment Share on other sites More sharing options...
mazluta Posted May 2 Author Share Posted May 2 do you know this component? https://github.com/justvamp/extjs-image-viewer-component?tab=readme-ov-file do you have any other third-party image component for the UNIGUI framework? Quote Link to comment Share on other sites More sharing options...
mazluta Posted May 4 Author Share Posted May 4 in the end, it was all my bugs..... and the most important. AlignmentControl = uniAlignmentClient 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.