It is currently Mon Sep 16, 2019 12:49 pm

News News of Develop Once, Deploy Anywhere! » Develop Once, Deploy Anywhere!

Enables developers to rapidly develop and package the the exactly same code and UI into Web, Native Desktop and Mobile Apps.

Develop Once, Deploy Anywhere! - News - Digest - Source Source » Develop Once, Deploy Anywhere! - News - Digest

  • Post
     

SVG Paper print

CrossUI for Web Apps

SVG Paper print

Can't get dataToURL working to print a SVGpaper. Any help please.

xui.Class('App', 'xui.Module',{
Instance:{
iniComponents : function(){
// [[Code created by CrossUI RAD Studio
var host=this, children=, append=function(child){children.push(child.get(0));};

append(
xui.create("xui.UI.SVGPaper")
.setHost(host,"xui_ui_svgpaper10")
.setLeft("11.666666666666666em")
.setTop("7.5em")
.setHeight("33.333333333333336em")
.setCustomStyle({
"KEY":{
"border-top":"solid 1px #000000",
"border-right":"solid 1px #000000",
"border-bottom":"solid 1px #000000",
"border-left":"solid 1px ...

more ...


Statistics : 1 Post || 35 Views
Post by kevinotton
Link : SVG Paper print
SVG Paper print - Source Source
on Wed Aug 28, 2019 9:35 am
 

Use code in the third part scripts

CrossUI Code Snaps

Use code in the third part scripts

Suppose you have a script like this ( in ThirdPart/scripts/myscript.js ):

javascript code
// An unique namespace is important
MyScript={};

MyScript.User = function(name){
this.name = name || "No Name";
};
MyScript.User.prototype.sayHi = function (msg){
alert("To " + this.name + ": " + (msg||"Hi") );
};
...

more ...


Statistics : 1 Post || 960 Views
Post by support
Link : Use code in the third part scripts
Use code in the third part scripts - Source Source
on Mon Mar 11, 2019 6:05 pm
 

Basic - Calling JS Functions

Tutorials

Basic - Calling JS Functions

Objectives: to learn hwo to use simple javascript function in CrossUI




Download the source code

Online demo

more ...


Statistics : 1 Post || 2063 Views
Post by support
Link : Basic - Calling JS Functions
Basic - Calling JS Functions - Source Source
on Tue Apr 24, 2018 9:06 am
 

Intermediate - Excel-like Formula

Tutorials

Intermediate - Excel-like Formula

Objectives: to learn how to do simple automatic calculation in CrossUI



Download the source code

Online demo

more ...


Statistics : 1 Post || 1661 Views
Post by support
Link : Intermediate - Excel-like Formula
Intermediate - Excel-like Formula - Source Source
on Thu Apr 12, 2018 9:25 am
 

Basic - Hello World

Tutorials

Basic - Hello World

Objectives: to learn how to create a 'Hello World' page.



Download the source code

Online demo

more ...


Statistics : 1 Post || 1659 Views
Post by support
Link : Basic - Hello World
Basic - Hello World - Source Source
on Sun Apr 08, 2018 4:13 am
 

nw_elf.dll missing

CrossUI for Desktop Apps



nw_elf.dll missing

Running CrossUI SPA Builder 1.42 LTS.

Tried (for the first time) to build a desktop version of my web app for Windows 32 and Windows 64. It runs fine on my development machine, however it won't load on any other machine, with error that nw_elf.dll is missing.

Joe

more ...


Statistics : 2 Post || 2432 Views
Post by joedarock
Link : nw_elf.dll missing
nw_elf.dll missing - Source Source
on Mon Apr 02, 2018 5:13 pm
 

how to implement a simple function which adds two values

CrossUI for Web Apps

how to implement a simple function which adds two values

xui.Class('App', 'xui.Module',{
Instance:{
iniComponents : function(){
// [[Code created by CrossUI RAD Studio
var host=this, children=, append=function(child){children.push(child.get(0));};

append(
xui.create("xui.UI.SVGPaper")
.setHost(host,"xui_ui_svgpaper1")
.setLeft("15.833333333333334em")
.setTop("5em")
.setWidth("48.666666666666664em")
.setHeight("18.333333333333332em")
.setZIndex(0)
);

host.xui_ui_svgpaper1.append(
xui.create("xui.svg.path")
.setHost(host,"xui_svg_path3")
.setSvgTag("Arrow:7")
.setAttr({
"path":"M,528,78L,527,181L,331,182L,329.9200279347008,166.55997650455294L,259.84006495363445,183.3599778102984L,329.9200279347008,200.15998716973706L,329.9200279347008,191.75998249001776L,540.1599732576195,191.75998249001776L,541,79Z",
"stroke":"#004A7F",
"fill":"#ffffff",
"stroke-width":2
})
);

append(
xui.create("xui.UI.ComboInput")
.setHost(host,"i_A1") ...

more ...


Statistics : 1 Post || 2246 Views
Post by support
Link : how to implement a simple function which adds two values
how to implement a simple function which adds two values - Source Source
on Sat Mar 03, 2018 10:22 am
 

CrossUI Email Address Broken

Bug Report



CrossUI Email Address Broken

Your email address is no longer working. Emails are being bounced back. Please correct.

more ...


Statistics : 2 Post || 2936 Views
Post by Martin
Link : CrossUI Email Address Broken
CrossUI Email Address Broken - Source Source
on Sun Oct 01, 2017 4:45 pm
 

2.1 Build

CrossUI for Web Apps



2.1 Build

Took the upgrade, get xuiconf.js missing error on opening file.

xuiconf.js is already there as it is an existing new project.

Does not seem to have any impact when running the output or editing the project

more ...


Statistics : 2 Post || 3657 Views
Post by kevinotton
Link : 2.1 Build
2.1 Build - Source Source
on Sun Oct 01, 2017 11:54 am
 

Advanced - A whole CRUD demo

Tutorials

Advanced - A whole CRUD demo

The "CRUD" is a demo to show how the CrossUI to handle CRUD(create, read, update, delete) interactions with the back-end ( database ), no code required.



Download the source code

Online demo

more ...


Statistics : 1 Post || 2929 Views
Post by support
Link : Advanced - A whole CRUD demo
Advanced - A whole CRUD demo - Source Source
on Tue Sep 26, 2017 4:14 am
 
 

Login  •  Register


Statistics

Total posts 1002 • Total topics 337 • Total members 41

cron