Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » ArrayCrl - compiling error
ArrayCrl - compiling error [message #200] |
Fri, 02 December 2005 10:54 |
jobs
Messages: 6 Registered: November 2005
|
Promising Member |
|
|
I've got compiling errors within this code:
localHTML::localHTML()
{
CtrlLayout(*this, "Localize HTML files");
butDir <<= THISBACK1(DoBrowse, &path_a);
butLocalize <<= THISBACK(LocalizeAll);
file_mask <<= "*.html *.htm";
tableFiles.AddColumn("Name");
tableFiles.AddColumn("Path");
tableFiles.AddColumn("Check");
[B]tableFiles.WhenLeftClick <<= THISBACK(ShowFile);[/B]
}
void localHTML::ShowFile()
{
int row = tableFiles.GetCursor();
if (row +1) {
String file( (const String) tableFiles.GetColumn(row, 0));
rtxView.SetQTF(LoadFile((const char*)file));
}
}
Quote: | C:\Devel\MyApps\localHTML\main.cpp: In constructor `localHTML::localHTML()':
C:\Devel\MyApps\localHTML\main.cpp:26: error: no match for 'operator<<=' in '((WithlocalHTMLLayout<TopWindow>*)this)->Withloca
lHTMLLayout<TopWindow>::tableFiles.ArrayCtrl::WhenLeftClick <<= callback(OBJECT*, void (METHOD::*)()) [with OBJECT = local
HTML, METHOD = localHTML](&localHTML::ShowFile)'
|
Why doesn't match callback ArrayCtrl.WhenLeftClick (neither others callbacks)?
Thanks and regards!
|
|
|
Goto Forum:
Current Time: Wed May 15 05:18:40 CEST 2024
Total time taken to generate the page: 0.01869 seconds
|