pro_imaj Posted February 20, 2017 Share Posted February 20, 2017 Merhaba; Form'a ScrollBox ekliyorum ve içinde aşağıya doğru baya nesne var. ScrollBox'ın Scroll'u tasarım anında en üstte görünürken çalışma anında bazen altta gözüküyor bu sorunu nasıl çözerim. Teşekkürler. Link to comment Share on other sites More sharing options...
Sherzod Posted February 20, 2017 Share Posted February 20, 2017 Hi, Can you translate into English, if possible?! Best regards. Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted February 20, 2017 Share Posted February 20, 2017 Merhaba Formun onload eventine aşağıdaki kodu yazın. UniSession.AddJS(UniScrollbox1.JSName+'.body.scrollTo(''Top'', 0, true);'); Link to comment Share on other sites More sharing options...
pro_imaj Posted February 20, 2017 Author Share Posted February 20, 2017 Adding a ScrollBox. The ScrollBox's scroll design appears instantly above, at run time below. Why does not it look like the moment of design? Design.PNG Runtime.PNG Link to comment Share on other sites More sharing options...
pro_imaj Posted February 20, 2017 Author Share Posted February 20, 2017 Merhaba Formun onload eventine aşağıdaki kodu yazın. UniSession.AddJS(UniScrollbox1.JSName+'.body.scrollTo(''Top'', 0, true);'); Cevap için teşekkür ederim, Yukarıda yazılan kodlar Scroll Properties hangi alanlara karşılık geliyor. Link to comment Share on other sites More sharing options...
pro_imaj Posted February 20, 2017 Author Share Posted February 20, 2017 Hayri bey Form=>OnLoad Event yok diğer eventlerde aşağıdaki ajax hatasını veriyor. Cannot read property 'scrollTo' of undefined Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted February 20, 2017 Share Posted February 20, 2017 Merhaba OnReady ye aşağıdakini yazar mısın? UniSession.AddJS(UniScrollbox1.JSName+'.getEl().scrollTo(''Top'', 0, true);'); Link to comment Share on other sites More sharing options...
pro_imaj Posted February 21, 2017 Author Share Posted February 21, 2017 Merhaba; Sonuç olarak oldu fakat görsel olarak altta açılıp sonra düzeldiği görülüyor. (Bilgiler bi gelip gidiyor gibi hoş bir görüntü olmuyor.) Link to comment Share on other sites More sharing options...
Sherzod Posted February 21, 2017 Share Posted February 21, 2017 * Why does not it look like the moment of design? Hi, If I understand correctly, if the "problem" still existsI think you have a component at the bottom of scrollbox, which is the active control of the main form (like MainForm.ActiveControl = ...) Best regards. Link to comment Share on other sites More sharing options...
pro_imaj Posted February 21, 2017 Author Share Posted February 21, 2017 * Why does not it look like the moment of design? Hi, If I understand correctly, if the "problem" still exists I think you have a component at the bottom of scrollbox, which is the active control of the main form (like MainForm.ActiveControl = ...) Best regards. The problem is resolved as you mentioned. Form=>ActiveControl Thank you Best regards Link to comment Share on other sites More sharing options...
pro_imaj Posted March 5, 2017 Author Share Posted March 5, 2017 Error with new version Link to comment Share on other sites More sharing options...
Sherzod Posted March 5, 2017 Share Posted March 5, 2017 Hi, What error? Link to comment Share on other sites More sharing options...
pro_imaj Posted March 5, 2017 Author Share Posted March 5, 2017 Hi, What error? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now