I have a view in which I have few labels and I want to dynamically clear the view (remove all the labels) at certain condition in my application.
Please help me
Regards, Pratik
I have a view in which I have few labels and I want to dynamically clear the view (remove all the labels) at certain condition in my application.
Please help me
Regards, Pratik
Your most logical option is to use a separate view for the next stage of your interface rather than changing them out, maybe using UIViewControllers.
If you really want to do this, though:
for (UIView *v in myView.subviews) {
// Include the if-statement if you want to remove UIControls only
if ([v isKindOfClass:[UIControl class]]) {
[v removeFromSuperview];
}
}
We are developing in C#.Net. We are dynamically changing a .Net control s location based on mouse movement. The control moves on the screen as expected, but, if the mouse moved too quickly strange ...
Can anyone suggest me how to obtain the view that contains all buttons from MPMoviePlayer ? If you don t know, at least how you obtain the main view/window of the MPMoviePlayer. UPDATE: I need to ...
I m encountering strange behavior with forms on a c# 3.5 app. On a button click, my form1 hides itself, creates a new form2, and shows form2. Form1 also contains the event method triggered when ...
In LabView 2009, is there a way to have one control (slider) affect the output and display of another control (slider)? For example, there are two sliders that adjust two separate parameters. I ...
Does anyone know where to find a list of controls that you can set the template on in Silverlight? I ve wasted several hours now trying to create control templates only to find that the control doesn ...
Is there a new model or best-practise for creating complex controls in asp.net MVC? Do you use code-behind or inline to mirror your view pages?
我有静态的vas。 我增加了一个形状操作时间。 然后,我试图增加一种内容控制,这种控制将保持形态。 但是,由于这些形状已经添加到血管中,它造成了一种合乎逻辑的儿童错误。
I have two UserControls that I want to display in a Window. The value of the property "SelectedItem" of the first UserControl should be set to the second UserControl s "SelectedItem" property. How do ...