473,406 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

sliding panel

Hi
I saw C# application that had sliding panel.. I want my panel to slide in up
direction.
Is there an efficient way to do this?
I thought that i can use Timer and change height , but iam not sure if this
would be an efficient and common way.
Thanks
PK

Apr 28 '07 #1
4 11050
PK,

That's really the only way you can do it using Windows Forms. You have
to set up a timer and then adjust the control on timed intervals.

With Windows Presentation Foundation, you can use an animation timeline,
but if your project isn't WPF to begin with, it might be too much to
integrate for the one control.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"piter" <pi*************@gmail.comwrote in message
news:dd***************************@news.chello.pl. ..
Hi
I saw C# application that had sliding panel.. I want my panel to slide in
up direction.
Is there an efficient way to do this?
I thought that i can use Timer and change height , but iam not sure if
this would be an efficient and common way.
Thanks
PK

Apr 28 '07 #2

I also thought that i can create second form and use API to slide it. Then
this form should be somehow embedded in main form.

Apr 28 '07 #3
No, that's not going to work. Having a form embedded in another form
isn't really the way to go about it. You should stick with the timer and
the panel.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"piter" <pi*************@gmail.comwrote in message
news:6e***************************@news.chello.pl. ..
>
I also thought that i can create second form and use API to slide it. Then
this form should be somehow embedded in main form.

Apr 28 '07 #4
Ok thank you then.
Apr 28 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Developwebsites | last post by:
Hi all, I've made a sliding puzzle game in shockwave which works just fine, except I dont know how to have it solve itself. the URL is: http://members.aol.com/rglukov/games/selfsolve.htm ...
8
by: Jakej | last post by:
I've been using a javascript in an html file for a banner slider, and it works as desired. But I'd like to use it on more than one page and it would be great if I could transfer the code to a .js...
2
by: Mohammad Parwez | last post by:
Hi, Can any one help me creating a control, which slides on any particular event. The scenario is something like this: - I have a form, which loads a user control. On load of the form this...
1
by: Guadala Harry | last post by:
AFAIK, when placing an object into the Cache with no special instructions (no dependencies, sliding expirations, hard expirations, etc), it will just sit there in the Cache until the system decides...
2
by: Lonewolf | last post by:
Hi, does anyone know of a way to do sliding window similar to WMP 9's slider bar which can slide up when the mouse gets to the bottom of the screen in fullscreen mode during playback. Basically...
1
by: Max | last post by:
To the group, I am looking for a concept I saw used on at least two sites in the past. The principle is, for example, a 600 pixel area; this area is divided in four 150 pixel panels; if you...
1
by: =?Utf-8?B?QW50?= | last post by:
Hi, I'd like to include a sliding/ hide navigation panel, the likes of what you see in Visual studio. Is there a short cut tool I can use for this? If not, how would this be best done? With...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.