Jump to content

Sherzod

Moderators
  • Posts

    19783
  • Joined

  • Last visited

  • Days Won

    642

Everything posted by Sherzod

  1. Hello, Which error do you get? Can you make a simple testcase?
  2. Hello Dominique, Can you please explain in more detail?
  3. Hi, UniServerModule.BlockedIPList UniServerModule.WhiteIPList Or using login and password, please see this demo: \FMSoft\Framework\uniGUI\Demos\Desktop\ServerControlPanel procedure TUniServerModule.UniGUIServerModuleControlPanelLogin( ASession: TUniGUISession; const Auser, APassword: string; var LoginValid: Boolean; LoginAttempt: Integer); begin if SameText(AUser, 'demo') and SameText(APassword, 'demo') then LoginValid:=True else begin if LoginAttempt=3 then ASession.Terminate('Login Failed'); end; end;
  4. Hi, Can you please try to use this approach for now?:
  5. Or even better solution that takes into account "Enter, click, dblClick": function beforeedit(editor, context, eOpts) { editor.grid.needToClear?context.value="":{}; } function beforeitemkeydown(sender, record, item, index, e, eOpts) { var me=sender.grid; me.needToClear = (e.getKey() !== 13); } function beforeitemkeypress(sender, record, item, index, e, eOpts) { var me=sender.grid; me.editingPlugin.startEditByPosition({ column: me.uniCol, row: me.uniRow }); }
  6. Hi, Sorry for the late reply. One of the possible solution I think, can you try this approach for now?: UniDBGrid -> ClientEvents -> ExtEvents -> function beforeedit(editor, context, eOpts) { context.value=""; //Or you can use the "condition" } function beforeitemkeypress(sender, record, item, index, e, eOpts) { var me=sender.grid; me.editingPlugin.startEditByPosition({ column: me.uniCol, row: me.uniRow }); }
  7. Здравствуйте, Вы можете использовать UniThreadTimer, посмотрите пожалуйста демо примеры.
  8. Can you make a simple testcase for check?
  9. Please explain again what do you want to achieve?
  10. Maybe something like this at the moment: ... UniFileUpload1.Execute; UniSession.AddJS( 'Ext.defer(function(){'+ ' var fWin = Ext.WindowManager.getActive();'+ ' if (fWin) {'+ ' fWin.setWidth(310); fWin.setHeight(178); fWin.getEl().select("a.x-btn").setTop(100);'+ ' }'+ '}, 200);' ); ...
  11. Which build are you using?
  12. Well, you should use the keyboard for this (ctrl, shift ..) Or use the dgCheckSelectCheckOnly option.
  13. Merhaba, Sorry, can you please explain again?
  14. Selecting all rows will work within the page.
  15. I'm sorry, I do not understand your issue.
  16. procedure TMainForm.UniButton2Click(Sender: TObject); var SId : string; SS : TUniGUISession; begin SId := ClientDataSet1.FieldByName('sessionid').AsString; if (SId <> '') and (SId <> UniSession.SessionId) then begin SS := UniServerModule.GetSession(SId); if Assigned(SS) then try SS.TerminateAfterSecs(1); finally SS.UnBusy; end; end; end;
  17. Hello, You can also analyze this demo example I think: \FMSoft\Framework\uniGUI\Demos\Desktop\Session List
  18. Можете попробовать использовать HTML текст, к примеру использовать <br> тэг: Columns[xx].Title.Caption = 'Первая строка<br>вторая строка'
  19. Or use the "specialkey" event for the column editor:
  20. Perhaps you need to use another event for this.
×
×
  • Create New...