It is currently Tue Jul 17, 2018 7:24 pm

News News of UI Development & Deployment

Site map of UI Development & Deployment » Forum : UI Development & Deployment

For discussing development & deployment issues

contextmenu problem.

Hi developper.

this example does't seem to work anymore

http://www.crossui.com/xui/Examples/xui/widgets/PopMenu/index.html

it's work on the web but if I open it in CrossUI builder there a bug when switching to Code tab.

also I tried to reproduce the same thing in CrossUI rad and it's not working , it doesn't pop at the mouse position like the sample does. any clue?


_tg_oncontextmenu:function (profile,e,src,item){
var ns = this, uictrl = profile.boxing();
this.mypop.pop(profile.getRoot());
this.mypop.target = profile;

} ...
Read more : contextmenu problem. | Views : 2533 | Replies : 1 | Forum : CrossUI for Web 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 : 2441 | 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 : 2638 | 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 : 3436 | 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 : 2695 | 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 : 4973 | Replies : 5 | Forum : CrossUI for Web Apps


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 : 4462 | 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 : 3719 | 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 : 3896 | 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 : 2786 | Replies : 0 | Forum : CrossUI for Desktop Apps


 

Login  •  Register


Statistics

Total posts 998 • Total topics 335 • Total members 38

cron