Search the Community
Showing results for tags 'urlframe'.
-
I have oversized content displayed within a UniURLFrame (complete with both Horizontal & Vertical Scrollbars displayed and working as expected). Please advise how I can scroll the displayed content within the UniURLFrame via code at runtime ? //UniURLFrame1.SetXY(1, 1500, nil); // FAILS RENDERS BLANK //UniURLFrame1.JSInterface.JSCall('iframe.contentDocument.scrollingElement.scrollBy', [1, 1500, False]); // FAILS NOTHING HAPPENS //UniURLFrame1.JSInterface.JSCall('iframe.contentDocument.scrollingElement.scrollTo(1, 1500)'); // FAILS NOT A FUNCTION //UniURLFrame1.JSInterface.JSCall('iframe.contentDocument.scrollingElement.scrollTop = 1500'); // FAILS NOT A FUNCTION //UniURLFrame1.JSInterface.JSCall('iframe.contentWindow.document.scrollingElement.scrollTo', ['top', 1500]); // FAILS NOTHING HAPPENS //UniURLFrame1.JSInterface.JSCall('iframe.contentWindow.scroll(1, 1500)'); // FAILS NOT A FUNCTION
-
I have a UrlFrame that is loaded at runtime. In code I want to scroll the contents at runtime, scaling in code works fine, how do I scroll contents in code ? //URLFrame.JSInterface.JSCall('el.setStyle', ['transform', 'scale(0.5)']); // WORKS URLFrame.JSInterface.JSCall('el.setStyle', ['transform', 'scroll(1, 500)']); // FAILS UniSession.AddJS(URLFrame.JSName + '.getTargetEl().scrollBy(1, 500, false);'); // FAILS Please advise - Thanks in advance
-
I'm setting up a html calendar, I was using HTMLFrame, but I had some problems getting the layout right, so I switched to URLFrame and managed to adjust the layout smoothly, but his AjaxEvent is not working and I need to get the data when I click this is the event procedure TfrmAgeCadAgenda.UniURLFrame1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); Var stAux: TStringList; dia : integer; Begin stAux := TStringList.Create; stAux.Delimiter :='_'; stAux.DelimitedText := EventName; .... end; this is part of html <div class="schedule-cell" onclick="ajaxRequest(frmAgeCadAgenda.UniURLFrame1, 'novo_08:00_13',[])"><span class="invisivel">#08_00_13</span></div> What can it be ?
-
How do I get the id from the urlframe? the one in the image below; so the frameBackLog.JSId or frameBackLog.JSName doesn't return I need the same one that is in the image and to use a function that is not in the urlframe, manually passing it, but I have received that this changes.
-
Good afternoon. I'm calling a page from a pdf editor inside the URLFrame. Is it possible that I pass the command to close UniForm after OK via ajaxevent?
- 10 replies
-
Olá a todos! Depois de atualizar o Unigui o scroll no URLFrame ficou habilitado onde já temos um scroll com os painéis. Gostaríamos de desativar esse scroll. ATENÇÃO, o erro só apresenta nos sistemas IOS, já no Android não apresenta. Em anexo o vídeo de como tá. Agradeço quem ajudar! WhatsApp Video 2020-11-16 at 20.10.37.mp4
-
Hello I need another help from you ... I created a service queue in html, css, js and json to stay dynamic, my idea is after getting it all right to create a component, but I'm not able to load this 4 companions .... Attached is a demo, the files are in the folder and also the link of this process working in html https://codepen.io/robinhodemorais/pen/qBBgPRe FilaAtendimento.rar
-
Good night, Guys how do I disable the print button of a report when I am viewing the pdf by URLFrame.
-
help with this topic I have a page loaded in a urlframe and at the end of that page returns a url with parameters as access to the parameter data that are inside the urlframe.
-
- urlframe
- parameters
-
(and 1 more)
Tagged with:
-
hi, how can i load picture into TUniURLFrame? I tried next those two dont work URLViewer.HTML.Add('<img src="/cache/Workflow_exe/'+ CacheFolder + '/' + Node.Text +'?fake='+ DateTimeToStr(Now) + '" style="width:100%;height:100%">') //DONT WORK URLViewer.HTML.Add('<iframe style="width:100%;height:100%;border:none;background-repeat:no-repeat;background-sizecontain;background-image:url(/cache/Workflow_exe/'+ CacheFolder + '/' + Node.Text +'?fake='+ DateTimeToStr(Now) +'");"></iframe>') //DONT WORK This one is working but sizes of picture are two big. scrollers appear. URLViewer.URL:= '/cache/Workflow_exe/' + CacheFolder + '/' + Node.Text +'?fake=' + DateTimeToStr(Now);