Hi
In the scaling and zooming demo the controls display a popup. How would I make something similar but which allows editing? I'm after something like the toolbar in Word2007 that appears semi-transparent but then goes solid and allows interaction when I move my mouse over it.
Thanks
Sean
In the scaling and zooming demo the controls display a popup. How would I make something similar but which allows editing? I'm after something like the toolbar in Word2007 that appears semi-transparent but then goes solid and allows interaction when I move my mouse over it.
Thanks
Sean
12 Answers, 1 is accepted
0
Hi Sean,
The approach used in the Item Scaling demo for RadComboBox is appropriate just for this example and is meant to show the capabilities of RadComboBox. However, I am afraid this approach is not applicable to your scenario.
If you have additional questions, do not hesitate to contact me.
Regards,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
The approach used in the Item Scaling demo for RadComboBox is appropriate just for this example and is meant to show the capabilities of RadComboBox. However, I am afraid this approach is not applicable to your scenario.
If you have additional questions, do not hesitate to contact me.
Regards,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Sean
Top achievements
Rank 1
answered on 28 May 2008, 04:33 PM
Hi Nikolay
Could you suggest one of your controls that would do the job then, please?
Thanks
Sean
Could you suggest one of your controls that would do the job then, please?
Thanks
Sean
0
Accepted
Hello Sean,
In order to have richer examples, we have created a specific popup control - ZoomPopup (used in the "Business Cards" integration example as well as in the RadComboBox "Item Scaling" example). Unfortunately, ZoomPopup can be used for zooming popups only.
If you need to animate opacity instead of zooming, you will have to make it on your own. We will consider adding such a popup in the future.
The easiest way to achieve a popup that has opacity animation is by inheriting MS Form and using its Opacity property. Set the form FormBorderStyle property to None, StartPosition property to Manual and Bounds property to the rectangle of the popup. Then animate the Opacity from 0 to 1.
You will have to use a mouse hook or a message filter to detect conditions for closing the popup (such as moving the mouse out of the area of the popup or receiving WM_ACTIVATEAPP).
Since Form is a top-level window, special care should be taken for the window activation (and the WM_NCACTIVATE message).
For more information on how to make a form to be a popup window - please consult the article below:
http://www.vbaccelerator.com/home/net/Code/Controls/Popup_Windows/Popup_Windows/article.asp
Greetings,
Angel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
In order to have richer examples, we have created a specific popup control - ZoomPopup (used in the "Business Cards" integration example as well as in the RadComboBox "Item Scaling" example). Unfortunately, ZoomPopup can be used for zooming popups only.
If you need to animate opacity instead of zooming, you will have to make it on your own. We will consider adding such a popup in the future.
The easiest way to achieve a popup that has opacity animation is by inheriting MS Form and using its Opacity property. Set the form FormBorderStyle property to None, StartPosition property to Manual and Bounds property to the rectangle of the popup. Then animate the Opacity from 0 to 1.
You will have to use a mouse hook or a message filter to detect conditions for closing the popup (such as moving the mouse out of the area of the popup or receiving WM_ACTIVATEAPP).
Since Form is a top-level window, special care should be taken for the window activation (and the WM_NCACTIVATE message).
For more information on how to make a form to be a popup window - please consult the article below:
http://www.vbaccelerator.com/home/net/Code/Controls/Popup_Windows/Popup_Windows/article.asp
Greetings,
Angel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Sean
Top achievements
Rank 1
answered on 29 May 2008, 09:32 PM
Hi Angel
Thanks for the response. It's a shame that your controls do not (yet) do what I would like, but I really appreciate your clear response. I will look into what you mention.
Regards
Sean
Thanks for the response. It's a shame that your controls do not (yet) do what I would like, but I really appreciate your clear response. I will look into what you mention.
Regards
Sean
0
kiran
Top achievements
Rank 1
answered on 05 Jun 2008, 01:23 PM
Hi Telerik team,
Do we have zoom feature in Q1 2008 version? If so can you please provide some sample application?
regards,
kiran
Do we have zoom feature in Q1 2008 version? If so can you please provide some sample application?
regards,
kiran
0
Hi kiran,
We have two zoom features, which can be seen in the examples that come with the installation:
Angel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We have two zoom features, which can be seen in the examples that come with the installation:
- Zoomable elements (this is available from the first version of RadControls for WinForms - Q4 2006) - the elements inside a control are zoomed according to their ScaleTransform property.
In Q1 2008 examples, this feature is presented in:
"RadControls Integration" -> "Bubble Bar" and
"RadControls Integration" -> "Magnifier".
In "RadControls Integration" -> "Photo Album" both scaling and rotation are shown.
- Zoomable popup (available since Q1 2007) - a popup control is shown with zooming animation.
In Q1 2008 examples, this feature is presented in:
"RadControls Integration" -> "Business Cards" and
"Editors" -> "RadCombox" -> "Item Scaling".
I hope this helps. If you have any further questions, please contact me.
Sincerely yours,Angel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
kiran
Top achievements
Rank 1
answered on 10 Jun 2008, 02:03 PM
Hi Angel,
this is not what i m expecting. I have a line chart. i want to zoom and zoom out selected part from the graph with magnifier button and i need to show in another window below the chart.
is this feature available in Q1 2008? If so please share some sample application.
Thanks in advance.
Regards,
kiran
this is not what i m expecting. I have a line chart. i want to zoom and zoom out selected part from the graph with magnifier button and i need to show in another window below the chart.
is this feature available in Q1 2008? If so please share some sample application.
Thanks in advance.
Regards,
kiran
0
Hi kiran,
Thank you for getting back to us.
At this time, the WinForms chart does not support the functionality you are looking for. We are also not planning to implement it. Interestingly, you are the first customer to request such a feature. If more customers express interest, we will consider implementing this feature.
Contact us again if you have further questions.
Regards,
Evtim
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for getting back to us.
At this time, the WinForms chart does not support the functionality you are looking for. We are also not planning to implement it. Interestingly, you are the first customer to request such a feature. If more customers express interest, we will consider implementing this feature.
Contact us again if you have further questions.
Regards,
Evtim
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
tanioskahi
Top achievements
Rank 1
answered on 07 Nov 2008, 02:36 PM
Hello,
I have been trying to animate the Opacity property of a RadGridView, but I am unable to do it. Here is the Code I'm using:
Dim ve As VisualElement = Me.RadGridView1.RootElement
Dim animateOpacity As AnimatedPropertySetting = _
New AnimatedPropertySetting(VisualElement.OpacityProperty, _
0.0F, _
1.0F, _
10, 30)
animateOpacity .RemoveAfterApply = True
animateOpacity .ApplyValue(re)
Thank you,
I have been trying to animate the Opacity property of a RadGridView, but I am unable to do it. Here is the Code I'm using:
Dim ve As VisualElement = Me.RadGridView1.RootElement
Dim animateOpacity As AnimatedPropertySetting = _
New AnimatedPropertySetting(VisualElement.OpacityProperty, _
0.0F, _
1.0F, _
10, 30)
animateOpacity .RemoveAfterApply = True
animateOpacity .ApplyValue(re)
Thank you,
0
Hi tanioskahi,
Here is the code to toggle the opacity of RadGridView with animation
Let me know if this does not work for you.
Sincerely yours,
Mike
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Here is the code to toggle the opacity of RadGridView with animation
Dim re As VisualElement = Me.RadGridView1.RootElement |
Dim animateOpacity As AnimatedPropertySetting = Nothing |
If Me.RadGridView1.RootElement.Opacity = 1D Then |
animateOpacity = New AnimatedPropertySetting(VisualElement.OpacityProperty, CDbl(1), CDbl(0), 10, 30) |
ElseIf Me.RadGridView1.RootElement.Opacity = 0D Then |
animateOpacity = New AnimatedPropertySetting(VisualElement.OpacityProperty, CDbl(0), CDbl(1), 10, 30) |
End If |
If Not animateOpacity Is Nothing Then |
animateOpacity.RemoveAfterApply = True |
animateOpacity.ApplyValue(re) |
End If |
Let me know if this does not work for you.
Sincerely yours,
Mike
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
tanioskahi
Top achievements
Rank 1
answered on 10 Nov 2008, 11:39 AM
Hello Mike,
The opacity animation looks fine, nevertheless, when animated, the component hides all elements that are behind it and show only the form solid background.
Thank you,
The opacity animation looks fine, nevertheless, when animated, the component hides all elements that are behind it and show only the form solid background.
Thank you,
0
Hi Tanioskahi,
This is the expected behavior for all controls in Windows Forms. The opacity implementation is limited to the parent control. According to this MS article, There is a way though to implement a control that is completely transparent though painting the parent control and all its children on its background. I modified the sample code to fix some problems and fit it in our scenario. Please find the project attached.
Regards,
Mike
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
This is the expected behavior for all controls in Windows Forms. The opacity implementation is limited to the parent control. According to this MS article, There is a way though to implement a control that is completely transparent though painting the parent control and all its children on its background. I modified the sample code to fix some problems and fit it in our scenario. Please find the project attached.
Regards,
Mike
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.