Home » Developing U++ » UppHub » Modified Controls4U demo
Re: Modified Controls4U demo [message #44602 is a reply to message #44598] |
Wed, 15 April 2015 16:03 |
|
deep
Messages: 263 Registered: July 2011 Location: Bangalore
|
Experienced Member |
|
|
Hello Koldo,
I was not expecting change in demo itself.
I wanted to achieve something like this and I chose your demo for quick check.
Your demo has come out well. ctrl.Hide(), ctrl.Show() is new Discovery for me.
I checked the new demo.
I have small suggestion.
for (int i = 0; i < controls.GetCount(); ++i) {
rect.Add(controls[i]->SizePos());
controls[i]->Hide();
}
void Controls4U_Demo::OnGridSel() {
static int last = 0 ;
int row = grid.GetCursor();
controls[last]->Hide();
controls[row]->Show();
last = row ;
}
Warm Regards
Deepak
[Updated on: Wed, 15 April 2015 16:07] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue May 14 03:51:43 CEST 2024
Total time taken to generate the page: 0.02439 seconds
|