Jump to content

patmap

Members
  • Posts

    263
  • Joined

  • Last visited

  • Days Won

    12

Posts posted by patmap

  1. Hi, Mr. Farshad

     

    I'm glad for adding new PopupMenu component on UniGUI.

     

    I think if these features are added to the program will be very useful. Thank you.

     

     

    1) Checked Item (Popupmenu.Items[x].AutoCheck := true)

    2) Radio Item

    3) Group Index

    4) RTL Property 

    5) Popup property for other components for auto popup

    6) HideOnClick Property (used in Submenu when click on submenu that have childs, menu must be not closed)

    7) Icon Property

     

    Because everything was related together, i put in one post, 

     

    Like this image:

    post-224-0-67594700-1363175050_thumb.png

     

    Regards

    • Upvote 1
  2.  

    Hi,

     

     

    It did not work. Continues with the same problem.
     
    What have you changed?

     

    Hi,

     

    Changes in MoneyField.js

       initEvents : function() {
           if(this.isMoney == true)
           {
             var input = this.inputEl;
             input.on('keypress', this._onKeypress, this);
             input.on('keydown', this._onKeydown, this);
             input.on('blur', this._onBlur, this);
             input.on('focus', this._onFocus, this);
           }
           this.callParent();
       },

    Wrong uploded,

     

    Try this:

     

    XMoneyEdit2.zip

    • Upvote 1
  3.  

    Farshad,
     
    If for example, substitute the URL for www.google.com, returns the link:
     
    http:// localhost:8077/[###www.google.com###]
     
    What is wrong?
     
    I also wonder how to redirect to another direct address to close the Main Form?

     

     

    Hi,

     

    For Restart Application Use

     UniApplication.Restart();
    

     

    And For terminating Application use:

     

     

     UniApplication.Terminate();
    

     

     

     

    Copy this code and paste to UniServerModule->ServerMessages->TerminateTemplate

     

    <html>
    <body bgcolor="#dfe8f6">
    <p style="text-align:center;color:#0000A0">Application Terminated !</p>
    <p style="text-align:center;color:#A05050"><a href="http://www.google.com">Go to Google</a></p>
    </body>
    </html> 

     

    Regards

  4. Hi,

     

    This is very simple:

     

    1) Make a Inherited class from TUniEdit (Ex: TUniNumberText = Class(TUniEdit) )

    2) Then override Loaded method;

    3) Write This line into Loaded Method:

     

      ExtEdit.MaskRe    := '/[0-9]/i';
    
    

     

    Only one line !

     

    Regards

    • Upvote 1
  5. Hi,

     

    For each session (a client connected to your application server) have a own main module and created when a new session is created and connected to your application server.

     

    But for your application server have a one Server Module. and created when your application server is started and destroy when your application server shutdown.

     

    You can use main module for private data and variables in session scope.

    And you can use variable and public data for sharing between all session in server Module.

     

    Regards

  6. Hi,

     

    There is No difference between VCL mode and WebMode in server side table locating !

    Then you check your code for  table events (AfterScroll, BeforeScroll or ... ) or attach a sample project code (if possible with Access database or clientdataset).

     

    This is better use [ try Table.DisableControl ] when you must be insert or locate table then [ finally Table.EnableControl ].

     

    Regards

  7. Hi,

     

    1) Change ServerModule.ExtLocale := [your lang]: ( for  example:  ServerModule.ExtLocale := fa )

    2) Go to [ \uniGUI\ext-4.1.1a\locale\ ] folder and find you lang locale file: ( for example: ext-lang-fa.js )

    3) Add this section in end of file then save and refresh your browser.

     

     

     

        Ext.define("Ext.locale.fa.grid.feature.Grouping", { // <-- Change [fa] letters to your lang name
            override: "Ext.grid.feature.Grouping",
            emptyGroupText: "(None)",           // <-- You can change this text
            groupByText: "Group by this field", // <-- Change this text
            showGroupsText: "Show in groups"    // <-- Change this text
        });
    

     

     

    Regards

  8. The new version is great!

    But still a little less than. :rolleyes:

     

    When I put a TunixTreeview in the UniXPanel4 and set TunixTreeview's align is alClient then run in IE8,the position of the TunixTreeview is not correct.

     

    Development Environment:

    Windows XP - Chinese

    Delphi 2010

    XViewPort5.2

    Browser IE version: 8.06

     

    Steps to reproduce:

    1.Open the XViewPort project;

    2.put a TunixTreeview in the UniXPanel4;

    3.set TunixTreeview's align is alClient;

    4.Run in IE8;

    5.Found the position of the UniStatusBar is not correct.post-364-0-72457200-1358770470_thumb.png

    6.The title of UniXPanel can not been changed in runtime.post-364-0-05788600-1358774392_thumb.png

     

    Test case:

    XViewPort.rar

     

    Thank you a lot!

     

    Hi,

     

    5.Found the position of the UniStatusBar is not correct.

    I work on align of control on UniXPanel;

    If you search on google: ExtJS Fit to parent. you can found why this is a problem in ExtJS.

    but i try to solve it.

    6.The title of UniXPanel can not been changed in runtime.

    I fixed this issue and i reupload this later.

    Thank you

    regards

  9. Error Compile:

     

    Windows 8

    Delphi XE3

    Unigui 0.90.0.976

     

    [MSBuild Error] The "CreateRcFile" task failed unexpectedly.

    System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\Embarcadero\RAD Studio\10.0\XComponents\UniXComponents17.vrc' is denied.

    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)

    at System.IO.StreamWriter.CreateFile(String path, Boolean append)

    at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)

    at System.IO.StreamWriter..ctor(String path, Boolean append)

    at Borland.Build.Tasks.Shared.CreateRcFile.WriteWindowsRC()

    at Borland.Build.Tasks.Shared.CreateRcFile.Execute()

    at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult)

     

     

    Error Compile:

     

    Windows 7

    Delphi 2010

    Unigui 0.90.0.976

     

    [DCC Fatal Error] UniXPopupMenu.pas(32): F1026 File not found: 'System.SysUtils.dcu'

     

    Where do I find the file? 'System.SysUtils.dcu'

     

    ;)

     

     

     

    Hi,

     

    This components tested only on XE3.

    Try with: Remove any "System." or "VCL." from prefix of all uses.

     

    Regards

×
×
  • Create New...