Jump to content
uniGUI Discussion Forums

zhyhero

uniGUI Subscriber
  • Content Count

    58
  • Joined

  • Last visited

  • Days Won

    2

zhyhero last won the day on January 20 2019

zhyhero had the most liked content!

Community Reputation

4 Neutral

About zhyhero

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. zhyhero

    TUniFrameClass in UniTabSheet

    define an unique frame.name for you every single frame ,something like TunivehicleMain_1,TunivehicleMain_2, make every singgle frame's name diffrent and unique.
  2. single month in one row , and date click event.
  3. zhyhero

    UniComboBox - remote query with fixed list

    Try ajaxRequest. UniCombobox -> ClientEvents -> ExtEvents -> beforeselect : function beforeselect(combo, record, index, eOpts) { ajaxRequest(combo,'bselect',['index='+index]); } UniCombobox -> OnAjaxEvent : procedure TMainForm.UniComboBoxAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if SameText(EventName,'bselect') then begin self.ShowToast(Params.Values['index']); end; end;
  4. zhyhero

    [question] how to get the JsId of a UniForm ?

    thank you, Sherzod . I will try this .
  5. I am testing something in scene of dynamic create Frame/Form . As a rule, in one From or Form , we can call jscode ajaxRequest(sender,"method",[{Params}] ); , and respond to delphi procedure AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); . sender ==> Ext.getCmp("id"), id ==> sender.id (jscode) . id of Frame ==> frame.FormRegion.JsId; (pascalcode) . if we pass id of target Frame to source Form , then we can call target frame's method by begin self.unisession.addjs('ajaxRequest(Ext.getCmp("id"),"Method",[{params}])'); end; in source Form . same thing with Frame and Frame. id of Form ,I can't get , (but we have form.show(callbackproc) and form.showmodal(callbackproc) ). So, how to get the JsId of a UniForm ?
  6. zhyhero

    Using NGINX with Unigui

    probably proxy_redirect off;
  7. 那个bmdbgrid是你写的吗?能不能给我一份最新的学习一下?

  8. zhyhero

    pass values dbgrid to frame rowexpand

    rowexpand aframe:=taframe. create(container); aframe. x:=2019; aframe. aprocedure(2019); rowcontrol:=aframe;
  9. Temporary,I do this with DBTreeGird and DBGrid.
  10. zhyhero

    invalid session or session timeout default page

    Sorry, ignore this
  11. testcase -> CheckBoxesInDbTreeGrid.zip new img
  12. hello. I want to make checkboxes disable , readonly or invisable in red box area, checkbox is set column.checkboxfield.enabled=true. Any idea?
  13. 19001504 Project Demo "Grid - ActionColumn" *There 55 records in dataset. Set UniDBGrid.Options.dgDontShowSelected:=true; this is the reason. and dgRowNumbers=true ,only for show RecNo ,not the reason click pervpage nextpage button then.......
  14. zhyhero

    DBLookupComboBox set value

    unidblookupcombobox1.keyvalue:=unidblookupcombobox1.listsource.dataset.fieldbyname(unidblookupcombobox1.keyfield). value
  15. zhyhero

    RowWidget - "Argument out of range"

    Another problem, RowWidget at last page may not work well. 19001504 Project Demo "Grid RowWidget" *There are 55 records in Dataset. UniDBGrid.WebOptions.Paged:=True; PageSize:=10; PageSize:=11;
×