It is currently Mon Sep 16, 2019 12:52 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.

xui.UI.Label & xui.UI.SLabel

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

append((new xui.UI.Group)
.setHost(host,"group1")
.setLeft(50)
.setTop(20)
.setWidth(690)
.setHeight(100)
.setCaption("xui.UI.SLabel (recommended)")
.setToggleBtn(false)
);

host.group1.append((new xui.UI.SLabel)
.setHost(host,"slabel2")
.setLeft(280)
.setTop(10)
.setWidth(220)
.setCaption("simple label 1")
);

host.group1.append((new xui.UI.SLabel)
.setHost(host,"slabel3")
.setLeft(280)
.setTop(30)
.setWidth(220)
.setCaption("simple label 1-1")
);

host.group1.append((new xui.UI.SLabel)
.setHost(host,"slabel4")
.setLeft(280)
.setTop(50)
.setWidth(220)
.setCaption("simple label 1-1-1")
);

host.group1.append((new xui.UI.SLabel)
.setHost(host,"slabel5")
.setLeft(10)
.setTop(10)
.setCaption("simple label 1")
);

host.group1.append((new xui.UI.SLabel)
.setHost(host,"slabel6")
.setLeft(10)
.setTop(30)
.setCaption("simple label 1-1")
);

host.group1.append((new ...
Read more : xui.UI.Label & xui.UI.SLabel | Views : 2139 | Replies : 0 | Forum : CrossUI Code Snaps


xui.UI.Div

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

append(
(new xui.UI.Image)
.setHost(host,"ctl_image5")
.setClassName("xui-uicmd-max")
.setLeft(240)
.setTop(10)
.setZIndex(10)
);

append(
(new xui.UI.Span)
.setHost(host,"ctl_span5")
.setClassName("xui-uicmd-min")
.setLeft(210)
.setTop(10)
.setWidth(30)
.setHeight(16)
.setZIndex(10)
);

append(
(new xui.UI.Div)
.setHost(host,"div1")
.setWidth("auto")
.setHeight(68)
.setPosition("relative")
.setHtml("text string")
.setCustomStyle({"KEY":"border:solid 1px #888"})
);

append(
(new xui.UI.Div)
.setHost(host,"div2")
.setWidth("auto")
.setHeight("auto")
.setPosition("relative")
.setHtml("<strong>auto height</strong>")
.onShowTips("_showtips")
.setCustomStyle({"KEY":"background:#00ff00;border:solid 1px #888"})
);

append(
(new xui.UI.Div)
.setHost(host,"div3")
.setWidth("auto")
.setHeight(100)
.setRenderer(function (data, uidata) {
uidata.html = ""; ...
Read more : xui.UI.Div | Views : 2781 | Replies : 0 | Forum : CrossUI Code Snaps


How to Load UI module to Tabs UI?

I try cross link between class, but I don't get success.
My plan is load a module and render it to tabs panel, and from module I can activate specific tabs item.

I attached simple test case, please help me to learn cross link in CrossUI.

Thanks
Read more : How to Load UI module to Tabs UI? | Views : 13356 | Replies : 17 | Forum : CrossUI for Web Apps


Debugging feature

I use last version, I see icon to debug in desktop version. But if my page is fill fully in page, this icon is hidden.
I have 2 solutions :
- Use linbar as in previous version and add debug link in this floating bar, but the problem is if we have some error, this floating bar can not be executed.
- best solution is open debug window automatically when we run "Debug application"
Read more : Debugging feature | Views : 3568 | Replies : 1 | Forum : Functional Requirement


CrossUI RAD Desktop 0.1 is released! CrossUI RAD Desktop 0.1 is released!

CrossUI RAD Desktop 0.1 is released!

Please go to http://www.crossui.com/download.html and download it.
Read more : CrossUI RAD Desktop 0.1 is released! | Views : 4148 | Replies : 1 | Forum : Announcement


Remote Debugging

You should add Node-Webkit's Remote Debugging for Web Developers.
Read more : Remote Debugging | Views : 4102 | Replies : 1 | Forum : Functional Requirement


CrossUI should add some sample projects

CrossUI should add some sample projects within the deploy package. Maybe users can use one of those as the start of their project.
Read more : CrossUI should add some sample projects | Views : 2578 | Replies : 0 | Forum : Functional Requirement


 

Login  •  Register


Statistics

Total posts 1002 • Total topics 337 • Total members 41

cron