Actions
Bug #3727
closedhow to jump from one page to another page ?
Start date:
01/15/2015
Due date:
% Done:
0%
Estimated time:
Description
I want to realize the function:I clicked one button on the homepage ,the page can jump another "downloadCenter"Page. the code is below:
WText *txt = new WText(L"homepage");
HomePage *homepage = new HomePage();
addToMenu(m_menu, txt->text(), homepage);
DownloadCenter *downloadcenter = new DownloadCenter();
addToMenu(m_menu, L"downloadCenter", downloadcenter);
what should I do?
Updated by Koen Deforche about 9 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
Hey,
You should probably use m_Menu->select(i) with i either the menu item or the index of it, from within the button's clicked() handler.
Koen
Updated by Koen Deforche about 9 years ago
- Status changed from Resolved to Closed
Actions