Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
U++ Library support
»
TabCtrl
»
Why this doesn't work ?
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
Why this doesn't work ?
[
message #14173
]
Sun, 17 February 2008 23:30
mingodad
Messages:
53
Registered:
February 2008
Location:
Spain
Member
Hello !
I'm lost, I'm trying get this to work, I read the examples and can see that they work but when I try this by myself it simply doesn't work.
I allways get a blank tab, no visible content on it.
I'm using upp 2008.1
I'm sending attached a small complete project with it.
Thanks to anyone that can help !
main.cpp
------
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
#define LAYOUTFILE <TabsTest/tab.lay>
#include <CtrlCore/lay.h>
class DBEdit : public WithDBEdit<TopWindow> {
typedef DBEdit CLASSNAME;
WithTabMainData<ParentCtrl> tab1;
WithTab2Layout<ParentCtrl> tab2;
public:
DBEdit();
};
DBEdit::DBEdit()
{
CtrlLayout(*this, "DB Edit");
tabData.Add(tab1.SizePos(), t_("Main"));
tabData.Add(tab2.SizePos(), t_("Prices"));
}
GUI_APP_MAIN
{
DBEdit dbEdit;
dbEdit.Run();
}
Attachment:
TabsTest.zip
(Size: 1.78KB, Downloaded 459 times)
Report message to a moderator
[
Message index
]
Why this doesn't work ?
By:
mingodad
on Sun, 17 February 2008 23:30
Re: Why this doesn't work ?
By:
zsolt
on Mon, 18 February 2008 00:18
Re: Why this doesn't work ?
By:
mingodad
on Mon, 18 February 2008 00:30
Previous Topic:
[BUG - FIXED] Add() crashes system
Next Topic:
TabDlg callback when another Tab is selected?
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Thu Sep 12 02:21:12 CEST 2024
Total time taken to generate the page: 0.02949 seconds