It is currently Wed Dec 13, 2017 6:38 pm

News News of Develop Once, Deploy Anywhere!

Site map of Develop Once, Deploy Anywhere! » Forum : 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.

display app in a dom container

Hello,

My question may be simple but I just don't know how or if it's possible.

For now I use iframe to display my crossui app in my webpage, but how if I want to display it in a block dom element it is possible?
I want to integrate my app in my admin.

thanks
Read more : display app in a dom container | Views : 2143 | Replies : 1 | Forum : CrossUI for Web Apps


Clear dialog or container from other controls

dialog.getChildren().destroy();
container.getChildren().destroy();

another way:
dialog.setHtml('', true);
Read more : Clear dialog or container from other controls | Views : 2353 | Replies : 0 | Forum : CrossUI for Web Apps


Multiple scripts called from main script

Can anyone advise me on the best way to do the following.

1 main screen (project1) that can call other scripts(project2, project3 etc) as separate displays. keeping project 1 as the main menu as in a normal website

I have a main screen that the user can login and based on privileges allocated builds a menu. The menu option should then call another project.
I have done each project separate to keep the file sizes ...
Read more : Multiple scripts called from main script | Views : 2889 | Replies : 3 | Forum : CrossUI for Web Apps


Json/xml data example run on local pc

Hi all

I would like to reproduce the Json/xml data example on my local machine.

Looking at the code it appears (please pardon my lack of knowledge) that data may be loaded from the local directory
and displayed in the grid. If that is the case can someone post the data file please.
Update: A while later after I posted this I found the data files that I needed.

Also what would be REALLY REALLY ...
Read more : Json/xml data example run on local pc | Views : 2323 | Replies : 2 | Forum : CrossUI for Web Apps


upload file

Hi there,

I tried the code here post125.html#p125

I can't get it to work in this demo.

also I tried on my side and I got NS_ERROR_FAILURE

I use the same php code as the demo above and I set the folder upload permission to 0777 so I wonder what may be wrong

it is possible to upload multiple file at once ? I don't know if crossui is ...
Read more : upload file | Views : 4062 | Replies : 5 | Forum : CrossUI for Web Apps


License key limited to 3 computers

Hi
I'm not sure if this is the correct place for this post :/

I have one PC that runs Linux.
I installed CrossUI for win32 on the hard drive of this Linux pc.
I run virtual machines with win32 & run CrossUI for win32 to develop apps.
I am having a problem where one of the applications is not working correctly.
So I'm trying different virtual machines to track down the problem
before I ...
Read more : License key limited to 3 computers | Views : 2263 | Replies : 1 | Forum : Functional Requirement


Simple Form Builder, Build form from JSON array

Press 'готово' button and see console.log

// The default code is a com class (inherited from xui.Com)
Class('App', 'xui.Com',{
// Ensure that all the value of "key/value pair" does not refer to external variables
Instance:{
// To initialize instance(e.g. properties)
initialize : function(){
// To determine whether or not the com will be destroyed, when the first UI control be destroyed
this.autoDestroy = true;
// To initialize properties
this.properties = {};
},
// To initialize ...
Read more : Simple Form Builder, Build form from JSON array | Views : 4085 | Replies : 0 | Forum : CrossUI for Web Apps


SVG append

Can anyone help me with the append commands for svg to paper, also show/hide.

Tried all combinations with no joy, not even sure I am on the right track or if it is possible.

Thanks
Kevin
Read more : SVG append | Views : 3085 | Replies : 3 | Forum : CrossUI for Web Apps


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 : 3514 | Replies : 0 | Forum : CrossUI for Desktop Apps


close application programmatically

close application programmatically :

1-st way
javascript code
process.exit(code=0);


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

win.close();
Read more : close application programmatically | Views : 2444 | Replies : 0 | Forum : CrossUI for Desktop Apps


 

Login  •  Register


Statistics

Total posts 992 • Total topics 330 • Total members 35

cron