Jump to content

Czar

Members
  • Content Count

    445
  • Joined

  • Last visited

  • Days Won

    13

Posts posted by Czar

  1. [info] Program starting
    *** Cannot create process "\node.exe" --no-warnings --stack-size=1200 "C:\sms3\Projects\Featured Demos\Node.js\Websocket Server Example\output\WebSocketServer.js". [2] The system cannot find the file specified
    [info] Program stopped



    I have latest version node

    I have installed ws folder in output folder as suggested in file. Not sure how to proceed
     

  2. Just wondering how feasible would it be to use https://peerjs.com

    to connect two separate web sessions?

     

    What I am trying to achieve is to have a tutor and student working on their browser but the two instances of the exercise are linked. So when student types something in the tutor side is updated to show what was typed. Likewise, if tutor clicks a button that action can be transferred to the student side.

    If this appears feasible I would consider a commission or bounty to implement in an existing project depending on how much effort etc

     

    Alternatively would it be possible to show the tutor side a simple screen capture of the student side? If so where would I find information on that option.

     

     

     

  3. Hi everyone,

     

    Once again I am trying to incorporate a JS library into my SMS files. 

     

    https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.js

     

    https://katex.org/docs/api.html

    I can put the code below into the custom template

      <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
    
        <!-- The loading of KaTeX is deferred to speed up page rendering -->
      <script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script>
    
        <!-- To automatically render math in text elements, include the auto-render extension: -->
      <script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous"
            onload="renderMathInElement(document.body);"></script>

     

    I would like to render a maths string into the caption of a label but I don't understand how I do that.

     

    I am hoping someone can help explain or show me how to set up KaTex inside the form and how to access the functions in the JS file..

     

    lbl.caption := myKatex.renderToString("c = \\pm\\sqrt{a^2 + b^2}");

     

     

     

     

  4. HI,

    I am keen make an app for our tutors to manage their shifts. The push notification system would seem to be an ideal solution for alerting tutors that their shift-roster is available or changes have been made.

     

    However, the demos above are no longer available. This is an area I have zero experience in so an example demo or other helpful information would be super helpful. 

  5. Components on the visual form lose their name property if they are cut and paste. I use this quite often as I will use a panel to organise related editboxes, and labels.

    1. drop a label on the visual forum and call it lbl1

    2. now drop a panel on the form.

    3. We will cut the label and paste it inside form.

    select the lbl + ctrl X. And then select the panel and ctrl + v to paste the label into the form.

    4 . This works fine but the label is now call w3label1

     

    It would be nice if the component retained the name property.

     

     

     

     

  6. The colour property is irritating to use. It is not possible to edit directly, you cannot paste a value in the only way is bring up the colour picker. And even then you can can't paste in colour values in Hex you have to add them in one bye at a time.

     

    Could this property be opened up so we can simply type in $c0c0c0 etc 

     

     

     

    SmartMS_2019-05-28_14-57-35.png

×
×
  • Create New...