Jump to content

Sherzod

Moderators
  • Posts

    19790
  • Joined

  • Last visited

  • Days Won

    643

Everything posted by Sherzod

  1. http://prime.fmsoft.net/demo/desktop/mdemo.dll http://prime.fmsoft.net/demo/touch/mdemo.dll/m ...
  2. Hello, Do you have screenshots or videos to see the problem!?
  3. I think we need to reconsider our decisions with you. Please tell me again the main goal, what would you like to achieve.
  4. Hello, UniMainModule -> OnBeforeLogin event ? procedure TUniMainModule.UniGUIMainModuleBeforeLogin(Sender: TObject; var Handled: Boolean); var S1, S2 : string; begin S1 := (Sender as TUniGUISession).UniApplication.Cookies.Values['_loginname']; S2 := (Sender as TUniGUISession).UniApplication.Cookies.Values['_pwd']; Handled := SameText(S1, 'demo') and SameText(S2, 'demo'); if Handled then LoggedUser := S1; end;
  5. Your question makes sense. You can also use uniAlignmentClient. \FMSoft\Framework\uniGUI\Demos\Desktop\Clientside Alignment - xx
  6. Hello, One possible solution: procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniContainerPanel1.JSInterface do begin JSConfig('border', [1]); JSAddListener('afterrender', 'function(){this.setStyle("border-color", "green"); this.setStyle("border-style", "solid")}'); end; end;
  7. Hello, How can we reproduce it? Do you have a simple testcase to check?
  8. Can you check with this code? function beforeedit(editor, context, eOpts) { return ajaxRequest(this, "GridEditing", ["colIdx="+context.field], false).responseText == "true"; }
  9. Maybe I don't quite understand your case, could you re-create the test case to see the problem?
  10. Yes, this is not always recommended, but in some cases, there is no other option...
  11. Hello, Some themes can overlap your CSS using additional CSS rules.
  12. Hello, Please explain in more detail again what is your problem? (Make a simple testcase if needed)
  13. Please explain in more detail then.
  14. Hi, Something like this: 1. function beforeedit(editor, context, eOpts) { return ajaxRequest(this, 'getCheck', [], false).responseText == 'true'; } 2. procedure TMainForm.UniDBGrid1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = 'getCheck' then begin if ClientDataSet1.FieldByName('EmpNo').AsInteger < 20 then UniSession.SendResponse('true') else UniSession.SendResponse('false') end; end;
  15. Hello, I think you have to use sockets. Try looking for solutions on the forum.
×
×
  • Create New...