Home » Community » Newbie corner » [SOLVED]Control property syntax (ArrayCtrl, Button), IDE syntax guide unclear to me
Re: Control property syntax (ArrayCtrl, Button), IDE syntax guide unclear to me [message #44305 is a reply to message #44301] |
Sat, 21 February 2015 17:49 |
|
Edward
Messages: 34 Registered: February 2015 Location: United States
|
Member |
|
|
Resolved !!!! Resolved !!!! Resolved !!!!
This solves the build errors found in this example project.
http:// www.codeproject.com/Articles/15163/Getting-Started-With-Ulti mate?msg=5005237
This is a great simple exercise for a newbie planning to work with data forms.
File: main.cpp
#include "SimpleDemo.h"
SimpleDemo::SimpleDemo()
{
CtrlLayout(*this, "Window title");
Sizeable().Zoomable();
arrLIST.AddColumn(t_("Item")); // **** Corrected !! ****
arrLIST.Removing();
btnAdd <<= THISBACK(AddItem); // Uses a callback to link the button to the function
}
void SimpleDemo::AddItem()
{
// The ~ operator calls the object's GetData() function
arrLIST.Add(~strItem);
strItem <<= Null; // Manually clear the item
}
GUI_APP_MAIN
{
SimpleDemo().Run();
}
My mission is to find a powerful(Non MS) C++ IDE w/GUI to marry and spend the rest of my life with...
[Updated on: Sat, 21 February 2015 18:02] Report message to a moderator
|
|
|
|
|
[SOLVED]Control property syntax (ArrayCtrl, Button), IDE syntax guide unclear to me
By: Edward on Sat, 21 February 2015 03:09
|
|
|
Re: Control syntax (ArrayCtrl, Button), & references
By: koldo on Sat, 21 February 2015 09:31
|
|
|
Re: Control syntax (ArrayCtrl, Button), & references
By: Edward on Sat, 21 February 2015 15:37
|
|
|
Re: Control syntax (ArrayCtrl, Button), & references
By: Klugier on Sat, 21 February 2015 17:56
|
|
|
Re: Control property syntax (ArrayCtrl, Button), IDE syntax guide unclear to me
By: Edward on Sat, 21 February 2015 17:49
|
|
|
Re: [SOLVED]Control property syntax (ArrayCtrl, Button), IDE syntax guide unclear to me
By: Edward on Sat, 21 February 2015 18:07
|
|
|
Re: [SOLVED]Control property syntax (ArrayCtrl, Button), IDE syntax guide unclear to me
By: Klugier on Sat, 21 February 2015 21:24
|
Goto Forum:
Current Time: Thu May 09 18:17:05 CEST 2024
Total time taken to generate the page: 0.01524 seconds
|