Jump to content

NizamUlMulk

uniGUI Subscriber
  • Posts

    72
  • Joined

  • Last visited

Posts posted by NizamUlMulk

  1. Hi, I want to add a script with params, as the last code in the head section of html generated by UniGui.
    I put the code in MainForm. Script, but doesn´t run.
    Ex.
    <script 
        src="https://someplace/somejs.js" 
        data-url="someplace/someother/440eb7fb-1b67-4df8-b814-dfced7d51b8c" 
        data-position="bottom-right"
        data-btn-color="#6366f1"
        defer>
    </script>

    the src, I know, in UniServerModule.CustomFiles .... but with params doesn´t run.
    Pasting that code in Script property of mainform, doesn´t work, neither

    Neither run adding it with UniAddJSLibrary and [upoPlatformDesktop, upoDefer] as last parameter.

    My version is 1.50.0.1482

  2. Hi. I am having problems with TUniURLFrame component, it stays inaccessible or "read only" when clicking over a scroll bar or lugging it, more frequently when crSize cursor is showed over the scroll bar, then the application showed into the frame stay inaccesible. How can fix it?
    My version is 1.50.0.1482
     

  3. On 3/22/2023 at 3:22 AM, Eugeniusz Rink said:

    Hi. If you are talking about the master-detail layout as shown in the screenshot, you can take a look at the demo: C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\Grid - RowWidget
    Or at: http://prime.fmsoft.net/demo/desktop/mdemo.dll e section Grids->Row Widget.
    However, this is an inefficient presentation to the user. The best solution is the Tree format. But that's my opinion.

    Hi. I've 1.50.0.1482 version.
    How can I do master-detail as show in "row widget"?... There isn't aGrid - RowWidget between my demos

  4. This line of code throws "Cannot read properties of undefined (reading 'getSeries')"

    Unichart1.JsInterface.JSCall('chart.getSeries()....')

    And this line 

    UniChart1.JSInterface.JSCall('chart.series.getAt('....

    Cannot read properties of undefined (reading 'series')

    Versión 1.50.0.1482, ExtJS version 6.6.0
    How can resolve it?

  5. On 3/8/2021 at 2:56 PM, Sherzod said:

    Please explain in more detail then.

    Well... an edit field where only would select a little possibilities of values, as PickList works... when mouse focus the text edit, the list open... and select a value.
    Too is posible to go autocompleting while writing... but... the list must be charged.

    Example:
    List of values(322, 625, 783) //and no others values, only thats.
    When focus in text edit must display that list... and it wouldn't a combobox.

    Then, before submit, I can validate the input value with an element of picklist.
    In my case, isn´t for mobile.

  6. I can't find the picklist property in TUniEdit.
    It's very interesting to access to a list of values when focus, or show a history list of values.

    In a while... how can I add a list of values to a TUniEdit?

  7. On 11/25/2019 at 4:57 AM, Abaksoft said:

    @Nizam,

    This works fine. (Thx to Sherzod)

    Unigui 1511 /  Delphi Rio 10.3.2 Pro

    I've Unigui 1500 /XE8 , News updates not are enabled for my account. 
    How can solve?
    And by the way ..... I've posted some "tickets" for corrections, changes, or explanations... and I am awaiting for solutions.  By not having access to updates, does that mean I will never have the corrections I post?

     

  8. Occasionally, at least once a month, an error occurs in an application that runs 24x7x365

    Application crashes with a lot of alerts from javascript.

    The cache log shows:

    PlataformaDRA.dll: 000011EC: 08:19:33 []:Terminating ISAPI Server. Module Handle: 0000000000400000
    PlataformaDRA.dll: 000011EC: 08:19:33 [TUniServerModule]:Shutting Down Server.
    PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Terminating Session manager.
    PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Stopping Cache Eraser...
    PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Cache Eraser Stopped.
    PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Destroying Worker Threads.
    PlataformaDRA.dll: 000011EC: 08:19:33 [TUniGUISessionManager]:Session manager terminated.
    PlataformaDRA.dll: 000011EC: 08:19:33 [TUniServerModule]:Server Shutdown Completed.
    PlataformaDRA.dll: 000011EC: 08:19:33 []:ISAPI Server Terminated. Module Handle: 0000000000400000
    PlataformaDRA.dll: 000011EC: 08:19:33 []:<-------------------------------------------------------------->
    plataformadra.dll: 00000408: 08:21:47 []:Error deleting folder: "C:\inetpub\wwwroot\PlataformaDRA\cache\plataformadra_dll\314J4BZHtb105182102\" [OS Error:2]
    plataformadra.dll: 00000094: 09:29:16 []:Terminating ISAPI Server. Module Handle: 0000000000400000
    plataformadra.dll: 00000094: 09:29:16 [TUniServerModule]:Shutting Down Server.
    plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Terminating Session manager.
    plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Stopping Cache Eraser...
    plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Cache Eraser Stopped.
    plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Destroying Worker Threads.
    plataformadra.dll: 00000094: 09:29:16 [TUniGUISessionManager]:Session manager terminated.
    plataformadra.dll: 00000094: 09:29:16 [TUniServerModule]:Server Shutdown Completed.
    plataformadra.dll: 00000094: 09:29:16 []:ISAPI Server Terminated. Module Handle: 0000000000400000
    plataformadra.dll: 00000094: 09:29:16 []:<-------------------------------------------------------------->
    plataformadra.dll: 00000D58: 09:29:20 []:Error deleting folder: "C:\inetpub\wwwroot\PlataformaDRA\cache\plataformadra_dll\VcA6pCFI4m1051833E5\" [OS Error:2]
    

    After first "error deleting" , always raises same error type, for each new access.

    The problem only is resolved when recycling application group on IIS, or stop the service.....
    How can solve it?

     

    crash2.png

  9. Ex. SeriesBar..
    Make series by month: X are brands and Y quantities. Each serie refers to a datasource.
    Img1: Shows data from June. Note Yamaha is 2nd. and HaoJue 10th.
    image.png.4dacfa4528abd2183236f91e02e91143.png

    Img2: Show July: Note Haojue now is the second, and Yamaha the 4th... But graphic shows same order that previous month!. Doesn´t refresh the order
    image.png.86d1628512c5d63226a3939877d227ab.png

    If select all months. Note HaoJue:

    image.png.631af300decd37b805f4f6b0c6370537.png

    Always is the last, and the quantity, the last quantity in each serie!
    The values form Haojue are:
                    qty      Month
    =================
    HAOJUE    1       Junio
    HAOJUE    35    Julio
    HAOJUE    7      Agosto
    HAOJUE    22    Septiembre
    HAOJUE    2      Octubre

     

    When shows both or all months in series, never changes the order, and the information is bad presented. Is it a bug or there is another way to configure the values?

  10. Which is the best issue for debug code?
    When via Delphi follow step by Step by instrunctio debugging, quicly appear the "Socket error" message, or the "Session expired" message and it is not possible to continue.

    image.png.ecdd2473014a597098fb6db5e82e8fc3.png

    and immediatelly after:
    image.png.6e2caf1aaa4e30505c0e95496bbbf39f.png

    and raises a lot of messages whose icons are shown below!

    image.png.de353957630a99f005d8a65ebed4a7a1.png

     and the only way out is to reset the IDE ...

     

  11. procedure TMainForm.myListKeyPress(Sender: TObject; var Key: Char);
    var vector: TArray<string>;
        index: Integer;
    begin
      with TUniListBox(Sender) do begin
        if Items.Count = 0 then Exit;
        Key := UpCase(Key);
        vector := Items.ToStringArray;
        TArray.BinarySearch<string>(vector, Key, index, TStringComparer.Ordinal);
        if index > -1 then begin
          ItemIndex := index;
          JSInterface.JSCall('boundList.getSelectedNodes()['+inttostr(SelCount-1)+'].scrollIntoView', [True]);
          Selected[index] := False;
        end;
      end;
    end;

     

    • Like 1
  12. I have DB with all modules functionallity.
    Application with all modules for administrators and a lite version with full modules for non administrators.
    Menu is constructed by each application, reading  contracted modules, which, have or not prerequisites.

    And so you can assemble the final version for each client.
    If 1 only wants billing, sales and stock, only that works, or, if accounting module wants for add, it works, or aggregate clients controls, or suppliers controls, subsidiarys, cash, close of box, bulk or itemized sales, logistic, etc. etc.
    All governated by database.

    And if somebody wants some very special.... not included, a custom development override some standard module, and a particular version is provided.
     

     

×
×
  • Create New...