Jump to content

newsanti

uniGUI Subscriber
  • Posts

    323
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by newsanti

  1. How to abort keydown of TuniHTMLMemo if text is empty?
  2. UniHTMLMemo1.JSInterface.JSCall('fireEvent',['change',UniHTMLMemo1.JSControl]);
  3. UniHTMLMemo1.JSInterface.JSAddListener('change', 'function(field){var body = field.getEditorBody(); field.setHeight(body.offsetHeight);}'); How to client fireevent change by code? procedure TMainForm.UniButton2Click(Sender: TObject); begin // UniHTMLMemo1.Height:= 300; UniHTMLMemo1.JSInterface.JSCall('Change',[]); end;
  4. How to setting TuniHTMLMemo EmptyText?
  5. oForm.uniHTMLMemo1.Alignment:= taLeftJustify; <--Not work
  6. if Grid is Editing Mode...Editing Mode Exist. How to check Editing Mode in this script?
  7. ClientFrameHeight.zip procedure TUniFrame3.DetermineHeight; begin Panel_MAIN.Height:= 420; //** must read Label_Body.Height from ClientSide How? *** Height:= Panel_MAIN.Height+Panel_MenuA.Height; end;
  8. I try test with example data to calcuate height of memo at clientside.
  9. procedure TUniFrame3.DetermineHeight; begin UniPanel1.Height:= UniHTMLMemo1.Height+Panel_MenuA.Height; <-Serverside Incorect Height:= UniPanel1.Height+20; //<- --Serverside Incorrect end; I don't known How to calculate (Clientside) htmlmemo.height after set htmlmemo.Line.text. AutoHeightHTMLMemoV4.zip
  10. AutoHeightHTMLMemoV3.zip How to set height of uniFrame3 and Frame3.uniPanel1 depend on Frame3.uniHTLMemo1 text length?
  11. AutoHeightHTMLMemoV2.zip How to extend uniPanel1 height after htmlmemo height changed .
  12. AlignmentControl = uniAlignmentClient procedure TMainForm.UniFormCreate(Sender: TObject); begin UniHTMLMemo1.JSInterface .JSAddListener('dirtychange', 'function(){this.autoSize()}'); end; Not Work.
  13. TuniHTMLMemo BorderStyle=ubsnone no effect with Theme, How to Fix?
  14. Requirement: Use CheckBox Like RadioBox with AligmentClient. 1. User Click First CheckBox (CheckBox1.Checked:=True) 2 User Click Second CheckBox (CheckBox2.Checked:= True) (How to code CheckBox1.Checked:=False with CheckBox1.JSInterface.JSCall)
  15. var oForm:= TdtpfUniM0001View2Frame101(Form); var oCheckBox:= oForm.CheckBox_SELECT; oCheckBox.JSInterface.JSCall('setChecked',[False]); <==not work.
  16. function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts) { columns[0].maxWidth = 50; columns[1].maxWidth = 75; columns.forEach(function(el){el.flex=1}); } How to code with .pas code at runtime?
×
×
  • Create New...