It is currently Sun Jan 21, 2018 2:35 am

News News of CrossUI for Desktop Apps

Site map of CrossUI for Desktop Apps » Forum : CrossUI for Desktop Apps

Develop and Deploy Native Apps for Windows, OS X, Linux, Unix ...

Desktop App Icon

I want to change the icon associated with the exe file created when you compile a desktop app. Can I do this within the IDE or do I have to swap out a file? Which file?
Read more : Desktop App Icon | Views : 2083 | Replies : 3

Reload desktop app from new IP address

I want to deploy my industrial instrumentation app, which was developed as a web app, so that it runs as a desktop app. The web app loads from an embedded server into the browser, connects to a websocket at the embedded server address and then continuously retrieves data that gets displayed on the browser's CrossUI gui. When the user enters a new server address in the browser's address window, the web app restarts and reloads ...
Read more : Reload desktop app from new IP address | Views : 813 | Replies : 1

location.protocol problem

I have a comprehensive web app developed in CrossUI Ver 1.4 that I want to also deploy as a desktop app. The location.protocol property, which in Ver 1.3 and earlier used to return "file:" when deployed as desktop app, now returns "chrome extension" when deployed as desktop app. Any idea what's going on?
Read more : location.protocol problem | Views : 824 | Replies : 1

Load new url in desktop deployment version

I have an app that I have to deploy as either a web version (runs in browser) or as a desktop exe. In the desktop version, the app still has to work in conjunction with a user-defined server, so I added an input box where the user can enter the url of the server. The server destination can be changed at any time by typing a new url in the box. I'm doing this using ...
Read more : Load new url in desktop deployment version | Views : 2268 | Replies : 2

Show debug window programmatically

Show debug window

javascript code
if(typeof(require)=='function') require('nw.gui').Window.get().showDevTools();
Read more : Show debug window programmatically | Views : 3613 | Replies : 0

close application programmatically

close application programmatically :

1-st way
javascript code

2-nd way
javascript code
var win=require('nw.gui').Window.get();

Read more : close application programmatically | Views : 2521 | Replies : 0

shell execute

shell execute:

javascript code
var childProcess = require('child_process');
childProcess.exec('wscript.exe C:\\test\\1.vbs',
function (error, stdout, stderr) {
xui.echo('stdout: ' + stdout);
xui.echo('stderr: ' + stderr);
if (error !== null) {
xui.echo('exec error: ' + error);
Read more : shell execute | Views : 3114 | Replies : 0

File read/write

As i understood Node.js can be used:

javascript code
fs = require('fs');
fs.readFile('c:\\test.txt', 'utf8', function (err,data) {
if (err) {
return console.log(err);

javascript code
var fs = require('fs');
fs.writeFile("c:\\test.txt", "Hey there!", function(err) {
if(err) {
} else {
console.log("The file was saved!");
Read more : File read/write | Views : 3018 | Replies : 0

bug when creating new empty project


I have version 1.22

when creating new blank project, and try to run it in debug a got blank program


here the debug.html

<!DOCTYPE html>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="keywords" content="GUI design,GUI builder,web UI,RAD,RIA,development tool,multi-platform,cross-platform,web app" />
<meta name="description" content="Built by CrossUI RAD Tools - Develop Once,Deploy Anywhere, HTML5, CSS3 and JavaScript for all platforms" />
<meta name="copyright" content="[email protected]" />
<meta http-equiv="imagetoolbar" content="no" /> ...
Read more : bug when creating new empty project | Views : 3563 | Replies : 5

treegrid hotrow

Hi again

I tried the sample on orderManager and try to reproduce hotrow but does't work, ordermanager update row on database or delete it but I want it more simple than that, I want an empty grid
and people can add row on the fly and click a button save to save the data on the grid in a database.

but I don't understand how hotrow work it's not pretty clear and not much explanation ...
Read more : treegrid hotrow | Views : 3855 | Replies : 4


Login  •  Register


Total posts 992 • Total topics 330 • Total members 35