Home » U++ TheIDE » U++ TheIDE: Layout (Forms) Designer » Widget that not supported yet by TheIDE
Widget that not supported yet by TheIDE [message #10613] |
Thu, 19 July 2007 05:33  |
johnevans77
Messages: 38 Registered: July 2007
|
Member |
|
|
Dear All,
How to deal with widget that not supported yet by TheIDE layout designer?
I look at supported widget when adding widget to layout and found that not all of widget is supported yet. Should i add manually in my .cpp file (writing code), or we have another better way?
Please advise,
JE
|
|
|
|
|
|
|
Re: Widget that not supported yet by TheIDE [message #10624 is a reply to message #10623] |
Thu, 19 July 2007 19:25   |
 |
fudadmin
Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
|
Ultimate Contributor Administrator |
|
|
johnevans77,
My first guess, you've already explored EyeCare for your system tray needs.
My second guess, your boss is not happy because he can't see in Layout designer what kind of images you are putting inside his company's software ???
Btw, from EyeCare.lay:
LAYOUT(EyeCareLayout, 270, 216)
ITEM(MenuBar, menu, LeftPosZ(0, 256).TopPosZ(0, 24))
ITEM(ImageCtrl, image, LeftPosZ(10, 253).TopPosZ(32, 40))
....
END_LAYOUT
[Updated on: Thu, 19 July 2007 19:27] Report message to a moderator
|
|
|
|
Re: Widget that not supported yet by TheIDE [message #10640 is a reply to message #10629] |
Fri, 20 July 2007 10:24   |
 |
fudadmin
Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
|
Ultimate Contributor Administrator |
|
|
johnevans77 wrote on Fri, 20 July 2007 02:14 | Mirek,
I am sorry, but i can not find ImageCtrl from All widget i can put on designer.
fudadmin,
Sure. I have looked at EyeCare example Thank you.
So, regarding to EyeCare.lay, if someday i can not find widget on layout designer, i can add it manually to the code?
Please advice,
JE
|
Yes.
LayDes is just to display things. With layouts you must think in C++ terms and have in mind:
1. if a widget is already supported (programmed) in C++/U++ but not programmed (you meant this "supported"?) in Laydes *.usc (this is why some U++ widgets are not shown or "fully" functional)
OR
2. You programmed in C++/U++ your own widget
------->then your actions:
1. enter the name of your widget class
2. enter the name of your widget instance
3. !!!important: #include your widget declarations correctly.
[Updated on: Fri, 20 July 2007 10:27] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 14:50:29 CEST 2025
Total time taken to generate the page: 0.00634 seconds
|