Jump to content

Farshad Mohajeri

Administrators
  • Posts

    12126
  • Joined

  • Last visited

  • Days Won

    811

Everything posted by Farshad Mohajeri

  1. In uniGUI there is no way to initiate a message from server. Client must continously poll server to see if there are new events. However, in this case since client polls server, timeout never occurs because of ongoing continuous polling. You can set a subtle timer on MainForm with a long interval so user session will never timeout as long as browser window is open.
  2. Ext.net is a different product and has nothing to do with uniGUI.
  3. Default button is activated when Enter key is pressed. In web mode Enter key is not monitored by browser, so default button has no effect.
  4. Session timeout happens on server side and there is no way to inform the client that session is terminated. The only way is to set a uniTimer with a long interval > timeout value. In this case client with display a message but it can be long after when session is actually has timed out.
  5. Here is the complete CSS: <style type="text/css"> .ext-color-4, .ext-ie .ext-color-4-ad, .ext-opera .ext-color-4-ad { color: #306da6; } .ext-cal-day-col .ext-color-4, .ext-dd-drag-proxy .ext-color-4, .ext-color-4-ad, .ext-color-4-ad .ext-cal-evm, .ext-color-4 .ext-cal-picker-icon, .ext-color-4-x dl, .ext-color-4-x .ext-cal-evb { background: #306da6; } .ext-color-4-x .ext-cal-evb, .ext-color-4-x dl { border-color: #29527A; } </style> You can add as many as you like by replacing 4s with 5s, 6s, ... Aboce CSS replicates colors of Calendar1. Change them with your favorite colors.
  6. Add this to ServerModule.CustomCss <style type="text/css"> .ext-color-4 { color:#444; } .ext-color-5 { color:#555; } </style>
  7. The answer is simple: Embarcadero didn't have time to make a cross-platform VCL from scratch. Indeed, it was impossible within given time frames in the roadmap to fulfill this complex task. This was where VGScene came to the scene and saved the day.
  8. In Json and JScript Backslash is a control char which can initiates special sequences. Use double backslashes to display them.
  9. In both page mode and windowed mode Background color of MainForm can be set via MainForm.Color.
  10. OnDestroy is called when session is timeout or destroyed by closing MainForm.
  11. Please add your request to our "survey" thread.
  12. Fire Monkey! Formerly known as VGScene. It uses a different set of visual controls for creating xplatform apps. http://www.andreanolanusse.com/en/video-delphi-xe2-and-firemonkey-app-on-windows-mac-and-ios/
  13. XE2 looks like a revolutionary release. Let's hope it won't come with too much bugs.
  14. Nightly builds can be highly unstable as I'm still playing with core elements from time to time.
  15. Series color is automatically selected by Flash chart component. As far as I know title can't be changed at runtime. When we switch to Ext JS 4 and non-flash charts there will be more options.
  16. You can retrieve all active sessions using below code: procedure TMainForm.UniButton2Click(Sender: TObject); var I : Integer; ASessionList: TList; ASession : TUniGUISession; begin UniListBox1.Clear; ASessionList:=UniServerModule.SessionManager.Sessions.SessionList.LockList; try for I := 0 to ASessionList.Count-1 do begin ASession := TUniGUISession(ASessionList[i]); if not ASession.Terminated then UniListBox1.Items.Add( ASession.UniApplication.RemoteAddress ); end; finally UniServerModule.SessionManager.Sessions.SessionList.UnlockList; end; end;
  17. If this error happens inside a user operation then it should pop an exception window. By saying "user operation" I mean an event which is initiated from browser.
  18. It is related to specific site you load in UrlFrame. If it has tendency to put itself over all other screen elements then there is nothing to do about it.
  19. Series can't be created at runtime, but you can modify data of an existing Series.
  20. In ajaxRequest first parameter can not be null. You must provide an instance of an existing object. Try this: ajaxRequest(MainForm.form, "testvalue", ["param0=A","param1=B"]) on server side monitor AjaxEvent of MainForm.
×
×
  • Create New...