Jump to content

newsanti

uniGUI Subscriber
  • Posts

    323
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by newsanti

  1. How can parse css file with unigui utility? to add remove css in css file of servermodule.
  2. Do you have other choice to check end scroll? some time H3=1 instand H3=0
  3. function afterrender(sender, eOpts) { var me = sender; me.el.dom.addEventListener('scroll', function(event) { var element = event.target; if (element.scrollTop === 0) { ajaxRequest(me, 'scrolledToTop', []); } else { var H1 = Math.round(element.scrollHeight-element.scrollTop); var H2 = Math.round(element.clientHeight); var H3 = H1-H2; if (H3===0) { ajaxRequest(me, 'scrolledToBottom', {'scrollTop': element.scrollTop, 'scrollHeight': element.scrollHeight, 'clientHeight': element.clientHeight, 'H1': H1, 'H2': H2, 'H-T': H1-H2 }); } } }) } work!
  4. function afterrender(sender, eOpts) { var me = sender; me.el.dom.addEventListener('scroll', function(event) { var element = event.target; if (element.scrollTop === 0) { ajaxRequest(me, 'scrolledToTop', []); } else if (element.scrollHeight-element.scrollTop===element.clientHeight) { ajaxRequest(me, 'scrolledToBottom', []); <== don't fire event } }) }
  5. How to ajaxRequest of TuniFrame on end vertical scroll ? VerticalScrollEnd.zip
  6. Any Idea? write yellow background and progress 80%.
  7. Columns[0].Ellipsis:= False; (StringField) Columns[1].Ellipsis:= False; Columns[2].Ellipsis:= True; (MemoField)
  8. Everyone in the team has their own personal license.
  9. YES. Everyone in the team has their own personal license.
  10. How to Tunimemo change height with body height after user input?
  11. How to paint color of dbgrid cell with 50% height or 20% width ?
  12. How to apply tunistringgrid with multi-line groupheader like tunidbgrid?
  13. after zoom in ...horizontal scrollbar width not changed. can't move image left or right.
  14. procedure TMainForm.UniButton1Click(Sender: TObject); begin var S: string:= UniEdit1.Text; S:= S.Replace('<','&lt;'); S:= S.Replace('>','&gt;'); UniEdit2.Text:= S; UniLabel1.Caption:= S; UniStringGrid1.Cells[1,1]:= S; end;
  15. procedure TMainForm.UniButton1Click(Sender: TObject); begin var S:= UniEdit1.Text; UniLabel1.Caption:= S; UniStringGrid1.Cells[1,1]:= S; //<--- not showing <reserved> end; EditTagAsString.zip
×
×
  • Create New...