Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Gui Tutorial 16 oops...
Gui Tutorial 16 oops... [message #8954] |
Mon, 09 April 2007 23:23 |
jimmygyuma
Messages: 6 Registered: April 2007 Location: Yuma, AZ
|
Promising Member |
|
|
You'll need to refer to the Gui Tutorial 16 to follow this.
I compiled and ran it, then changed some things in the designer and it wouldn't complile. I undid everything, compiled. Then I made the following changes one by one, compiling after each.
Set Label font to bold.
Set Label ink to White.
Set Option font to bold.
Set Option ink to White ... and got this:
C:/upp/tutorial/Gui16/dlg.lay: In function `void InitLayout(Upp::Ctrl&, L&, D&, DlgLayout__layid&) [with L = MyApp, D = MyApp]':
C:/upp/uppsrc/CtrlCore/TopWindow.h:220: instantiated from `void Upp::CtrlLayout(T&) [with T = MyApp]'
C:/upp/uppsrc/CtrlCore/TopWindow.h:228: instantiated from `void Upp::CtrlLayout(T&, const char*) [with T = MyApp]'
C:\upp\tutorial\Gui16\main.cpp:10: instantiated from here
C:/upp/tutorial/Gui16/dlg.lay:4: error: 'class Upp::Pusher' has no member named 'SetInk'
Gui16: 1 file(s) built in (0:03.57), 3578 msecs / file, duration = 3594 msecs
In an ideal world, the designer wouldn't let me set something that wouldn't fly, but aside from that, if it 'has no member named "SetInk",' why is it there inviting you to change it?
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 20 00:21:43 CEST 2024
Total time taken to generate the page: 0.02659 seconds
|