DateChooser

37 views
Skip to first unread message

hierro

unread,
Dec 16, 2012, 11:35:56 AM12/16/12
to aswing-...@googlegroups.com
I cant get  datechooser into layout, using this code, i dont see anything and got no errors 

var suken:DateChooser=new DateChooser();
suken.setLocation(new IntPoint(5, 5));
suken.setSize(new IntDimension(100, 100));
suken.setPreferredSize(new IntDimension(100, 100));
suken.setBackground(new ASColor(0x339999, 1));
suken.useHandCursor=true;
append(suken);

iiley

unread,
Dec 16, 2012, 10:55:27 PM12/16/12
to aswing-...@googlegroups.com
I'v almost forgot whether i'v made this way to show it: new DateChooser().showDialog()
If it is not, please try to open the DateChooser source code, to see the structure.


2012/12/17 hierro <mitc...@gmail.com>



--
-iiley
Burstyx Studio Limited

hierro

unread,
Dec 17, 2012, 5:53:51 PM12/17/12
to aswing-...@googlegroups.com
Hi Iiley, there is no method in dateChooser like showDialog, not even inherited, i watched already the source, really dunno how to get it visible :)

iiley

unread,
Dec 18, 2012, 12:06:25 AM12/18/12
to aswing-...@googlegroups.com
try to remove this line:

suken.setPreferredSize(new IntDimension(100, 100));

to let it count the preferred size itself.


2012/12/18 hierro <mitc...@gmail.com>

hierro

unread,
Dec 19, 2012, 10:03:45 AM12/19/12
to aswing-...@googlegroups.com
Hi, i tried it already, no way tosee it, im using flash builder, framework 4.6, any hint  ? :)

iiley

unread,
Dec 20, 2012, 5:42:59 AM12/20/12
to aswing-...@googlegroups.com
are you using the lastest version of AsWing at avn: http://svn.aswing.org/aswing ?


2012/12/19 hierro <mitc...@gmail.com>
Message has been deleted

防空洞

unread,
Dec 20, 2012, 9:13:22 AM12/20/12
to aswing-...@googlegroups.com

哈哈,有好多人用aswing啊

hierro

unread,
Dec 21, 2012, 5:41:48 PM12/21/12
to aswing-...@googlegroups.com
YEs last from svn :)

hierro

unread,
Jan 1, 2013, 10:15:07 AM1/1/13
to aswing-...@googlegroups.com
No luck with it, any idea  ?

iiley

unread,
Jan 2, 2013, 3:03:00 AM1/2/13
to aswing-...@googlegroups.com
Make a simple test project to me, i can debug it for you.


2013/1/1 hierro <mitc...@gmail.com>
Reply all
Reply to author
Forward
0 new messages