Jump to content

YangNing

Members
  • Content Count

    30
  • Joined

  • Last visited

Community Reputation

0 Neutral

About YangNing

  • Rank
    Newbie

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

247 profile views
  1. function afterrender(sender, eOpts) { sender.textareaEl.setStyle("font-family","宋体"); } it works correctly.
  2. I set the fonts of TUniHTMLMemo: function afterCreate(sender) { Ext.apply(sender,{fontFamilies:["宋体","黑体"]}); } But, the default font is "helvetica".
  3. Hi, How to add custom CSS in my custom unigui component inherited Tunicontrol, as CustomCSS of ServerModule? I do not want to use UniAddCSSLibrary. In component,It can access UniApplication.UniMainModule, but it can't access ServerModule. For example, I would like to add '.x-tree-checkbox-unchecked {background-position: 15px -15px}' in my custom unigui component,and use 'x-tree-checkbox-unchecked'.
  4. I want to add a buttom or a href to a TUniDateTimePicker, and click the button to clear the text of TUniDateTimePicker . How can I do it to make a own component based on TUniDateTimePicker. Please help me! Thanks!
  5. I want send some messages from server to client,not client get from server. I use the codes: ASessionList := UniServerModule.SessionManager.Sessions.SessionList.LockList; try try for I := 0 to ASessionList.Count - 1 do begin TUniGUISession(ASessionList).AddJS('alert("timer message");'); end; except end; finally UniServerModule.SessionManager.Sessions.SessionList.UnlockList; end; but it not work.
  6. Hi, Farshad Mohajeri I think it's a good way to send ajax requests if server required. For example, the server writes events.
  7. I create a simple unigui project, only a MainForm. When I resize the window of the browser, client will send ajax-request to server. But I don't write event in service code. Later, I found that there are many like this useless interaction information between client and server. These interactions between client and server cause the browser to slow down. When the project bigger, it's more obvious.
  8. I found a new problem. I can access http://127.0.0.1/beuatyman.dll, but I cannot access http://127.0.0.1 directly. I have added beautyman.dll to the default docs. When I access http://127.0.0.1,I get the error: Invalid session or session Timeout. Restart application Click Restart application, it work well.
  9. http://127.0.0.1 But I have added the dll to the default docs.
  10. I create a new Unigui application with Standalone server/ISAPI mode, and compile it without {define UNIGUI_VCL},then I release the dll to IIS. When I open browser to load the url every first time,I get the error: Invalid session or session Timeout. Restart application When I click Restart application, it work well. the log file: beautyman: 0000143C: 11:49:24 []:Server Inited. beautyman: 0000143C: 11:49:24 [HttpExtensionProc]:EUniSessionException : Invalid session or session Timeout. I get the error when open the browser first time, if I don't close the browser, reload the url, it wor
  11. The old version Font-Awesome work well,demo: http://forums.unigui.com/index.php?/topic/3667-its-posible-to-use-font-icons-for-made-a-toolbar/&do=findComment&comment=18898 But when I use Font-Awesome-3.2.1,it don't work well. I put a TUniURLFrame on the form,and set HTML:='test.html', the result is: But when I open the test.html directly, it display well. fontawesometest.zip
  12. When I use Font-Awesome-3.2.1,it don't work well. I put a TUniURLFrame on the form,and set HTML:='test.html', the result is: But when I open the test.html directly, it display well. fontawesometest.zip
×
×
  • Create New...