Jump to content

ldb68

uniGUI Subscriber
  • Posts

    177
  • Joined

  • Last visited

  • Days Won

    13

Posts posted by ldb68

  1. I try to get cursor position inside a TUniHtmlMemo on client side with js.

    The problem is that the TUniHtmlMemo I need to access the textarea of the component (ctl retun more div html tag).

    Somebody can help?

     

    function Onclick(sender)

    {

     try

      {

        var ctl = document.getElementById(sender.id);

        if (ctl != null) 

        {  

          var startPos = ctl.selectionStart;

          /*var endPos = ctl.selectionEnd;*/

          alert(startPos);

        }  

      }

      catch(err)

      {

        txt="There was an error on this page.\n\n";

        txt+="Error description: " + err.message + "\n\n";

        txt+="Click OK to continue.\n\n";

        alert(txt);

      }   

    }

  2. Hi,you  misunderstood WebXone,the .wxo files made from WebXone can run on IE,Firefox,Chrome,etc.Can't you believe it?

     

    Have you tried the demos? On IE9 I get some error (I have to kill IE).

    I like the opengl demo's. But the product seems instable and limited to IE.

     

       Welcome to use WebXone!

    • How to load this page:
    •  
    •  
    • Please install the IE plug-in from HERE (first time only).
    •  
    • Refresh your browser to load this page.
    •  
    • Note: WebXone can only work on IE or IE core browsers.
  3. Ok for now I have a ssl certificate file (invoked using ms makecert.exe).

    I know that from internet I type my public IP (http://x.x.x.x:port) then all trafic (in/out) is managed by unigui, So how can IIS manage unigui traffic.

    I know how to configure IIS to use SSL file, but how can that affect traffic of unigui.

    I also mean that I can run unigui and use it without IIS, so unigui is responsible of all traffic.

     

    Can you please tell how?! it's very very important to me.

     

    many thanx....

     

    But are you using an unigui isapi or an unigui application?

    I think that only with an isapy you can use a ssl certificate ...

  4. If you need to show at run time a selection inside a TUniList use something like:

     

    for I := 0 to list.Items.Count-1 do

    begin

    if list.Items)= 'my item' then

    begin

    list.ItemIndex:= i;

    list.Selected:= true;

    break;

    end;

    end;

  5. Have you tested Abyss Web Server with an isapi?

    Can you explain how?

     

    thanks

     

     

    Excellent, thanks Farshad. I found an additional webserver - Abyss by Aprelium where I successfully tested ISAPI dll's on WIndows. There is a free and professional version, 32 and 64 bit versions and runs of Linux and Mac as well as Windows.

     

    Aprelium site

     

     

    Thanks

  6. Is there a way to move memo and images (in web mode) on a form at run time by click down the mouse on the object?

     

    I need to make a simple pubblisher editor (need to insert text box and images) with the ability to place these objects on the page.

     

    thanks

  7. It depends on the built-in browser in CE. If it does support Javascript then it must be supported. What version of CE is this?

     

    On windows mobile 6.5 (the last CE) IExplorer doesn't work.

    Tested a simple unigui application with Opera 10 for CE and it works.

  8. Sorry, but I don´t know how can I copy my HTML (on UniMemo component) to this component.

     

    Could you help me ?

     

     

    Error:

    Unexpected token ILLEGAL

    tinyMCE.get("ed1").setContent("UniMemo1

    ");

     

    Problem with #13#10 in memo

     

    Try

     

     

    UniSession.AddJS('tinyMCE.get("ed1").setContent("'+ StringReplace(UniMemo1.Text,#13#10, '<br>', [rfReplaceAll]) + '")');

  9. There are problem to get the html text.

    Try put im html editor:

     

    <p>123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890</p>

    <table border="0">

    <tbody>

    <tr>

    <td>111</td>

    <td> </td>

    </tr>

    <tr>

    <td> </td>

    <td> </td>

    </tr>

    </tbody>

    </table>

    <p> </p>

    <p>123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890</p>

     

     

    With GetText you get:

    <p>123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890</p>

    <table border="0">

    <tbody>

    <tr>

    <td>111</td>

    <td>

     

     

     

     

    Why is it called "tiny"? It's freaking 300kb of javascript...

  10. Author of SivakSQlite3 has not yet released a Delphi XE2 compatible version.

    See it at:

     

    http://www.filedepot.eu/

     

     

    I can not compiled with Delphi XE2.When I compiling SivakSQLite3.dpk in IDE, it gives following error: :o

     

    AjaxSqlite\sivak3\sql3_utils.pas(220,28): warning W1057: W1057 Implicit string cast from 'AnsiString' to 'string'
    AjaxSqlite\sivak3\sql3_utils.pas(227,31): warning W1057: W1057 Implicit string cast from 'AnsiString' to 'string'
    AjaxSqlite\sivak3\sql3_defs.pas(441,1): error E2037: E2037 Declaration of 'FreeRecordBuffer' differs from previous declaration
    AjaxSqlite\sivak3\sql3_defs.pas(442,1): error E2037: E2037 Declaration of 'ClearCalcFields' differs from previous declaration
    AjaxSqlite\sivak3\sql3_defs.pas(446,1): error E2138: E2137 Method 'GetBookmarkData' not found in base class
    AjaxSqlite\sivak3\sql3_defs.pas(447,1): error E2037: E2037 Declaration of 'SetBookmarkFlag' differs from previous declaration
    AjaxSqlite\sivak3\sql3_defs.pas(448,1): error E2138: E2137 Method 'SetBookmarkData' not found in base class
    AjaxSqlite\sivak3\sql3_defs.pas(462,1): error E2037: E2037 Declaration of 'InternalInitRecord' differs from previous declaration
    AjaxSqlite\sivak3\sql3_defs.pas(465,1): error E2037: E2037 Declaration of 'InternalSetToRecord' differs from previous declaration
    AjaxSqlite\sivak3\sql3_defs.pas(467,1): error E2037: E2037 Declaration of 'AllocRecordBuffer' differs from previous declaration
    AjaxSqlite\sivak3\sql3_defs.pas(471,1): error E2037: E2037 Declaration of 'GetBookmarkFlag' differs from previous declaration
    AjaxSqlite\sivak3\sql3_defs.pas(472,1): error E2037: E2037 Declaration of 'GetRecord' differs from previous declaration
    AjaxSqlite\sivak3\sql3_defs.pas(490,1): error E2037: E2037 Declaration of 'GetCurrentRecord' differs from previous declaration
    AjaxSqlite\sivak3\sql3_defs.pas(686,18): error F2063: F2063 Could not compile used unit 'sql3_utils.pas'
    

×
×
  • Create New...