ldb68
-
Posts
177 -
Joined
-
Last visited
-
Days Won
13
Content Type
Profiles
Forums
Events
Posts posted by ldb68
-
-
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);
}
}
-
Is possible to insert html text into UniHtmlMemo at current cursor postion?
How?
-
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.
-
Any ideas?
Add fields to grid and then put the column readonly (--> property TUniDBGridColumns of TUniGrid)
-
Take a look at
http://www.miodiario.com/miopaint.dll
also the site is builded around a unigui application
http://www.miodiario.com/miodiario.html
user = test and password = test
bye
-
Can somebody explain usage / differeces for Free form and Application form
thanks
-
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 ...
-
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;
-
Hi,
Good example,
Thank you,
Maher Ahmad
+1
-
If it is urgent for you, give me an email and i can send it.
Regards,
Last 89 stable version IS "fmsoft_unigui_beta_0.89.0.958_setup.exe" ?
-
-
Last time i used Raudus it was extremly slow
when putting components on the form...a lot
of rendering will be done
And last time I try it was MONO TASK !!!! It's now multitask?
PS:
try http://samples.raudus.com:88/18-FishFacts (with Crome)
close and reopen ....
the form disappeared ....
very instable project ....
-
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.
Thanks
-
I want to add memos and images on the screen.
Clicking down the mouse on them I would place them freely on the screen (like a windows).
Something like this:
http://www.switchonthecode.com/tutorials/javascript-draggable-elements
thanks
You want to "move" the object? In what manner?
-
No way to do the request?
-
-
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
-
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.
-
like "http://localhost:8888/server" command for showing server monitor.
It is interesting to me too.
Me too
-
procedure TMainForm.btnSetTextClick(Sender: TObject); begin UniSession.AddJS('tinyMCE.get("ed1").setContent('+StrToJS(UniMemo1.Text)+')'); end;
Declared in ExtPascalUtils
-
If HTML is more complex it does not work,
I think that it needs more than replace \r\n chars.
Can you add a sample of complex html?
-
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]) + '")');
-
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...
-
Author of SivakSQlite3 has not yet released a Delphi XE2 compatible version.
See it at:
I can not compiled with Delphi XE2.When I compiling SivakSQLite3.dpk in IDE, it gives following error:
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'
Simple photoshop for my site
in Sample Projects
Posted
Here demo source compiled with Delphi XE3 and UniGui 0.93.1.1000.
ajax_paint.zip