473,387 Members | 1,621 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,387 software developers and data experts.

Scrolling Form windows CF Control

Hi All

I am Developing in C# with VS2005. I am Developing a Windows Mobile Forms
Application with the CF2

My problem is that when the Input panel is displayed my screen does not
scroll.

I have found some code using an Panel and a scroll bar that will make the
screen scroll when necessary.

What I would like to know is how hard would it be to create an Windows
control for the CF that I can just stick on my form so that I don't have to
keep copping and pasting the code and the controls and laying them out all
the time.

And If any one has already done this some advice would be welcome.

Thanks

ink
Feb 28 '07 #1
4 4341
Why not just use a base form with the panel and SIP (and any other common
items) and derive all other Forms from that? Inheritance. Learn it. Live
it. Love it.
--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
"iKiLL" <iK***@NotMyEmail.comwrote in message
news:ug**************@TK2MSFTNGP04.phx.gbl...
Hi All

I am Developing in C# with VS2005. I am Developing a Windows Mobile Forms
Application with the CF2

My problem is that when the Input panel is displayed my screen does not
scroll.

I have found some code using an Panel and a scroll bar that will make the
screen scroll when necessary.

What I would like to know is how hard would it be to create an Windows
control for the CF that I can just stick on my form so that I don't have
to keep copping and pasting the code and the controls and laying them out
all the time.

And If any one has already done this some advice would be welcome.

Thanks

ink


Feb 28 '07 #2
This is exactly what i was hoping i could do.

but i am not sure i know how. I have been trying using the information at
this web site.

http://samples.gotdotnet.com/quickst...scrolling.aspx

To create the control.
Any sugestions?

Thanks
ink


"<ctacke/>" <ctacke[@]opennetcf[dot]comwrote in message
news:OK**************@TK2MSFTNGP05.phx.gbl...
Why not just use a base form with the panel and SIP (and any other common
items) and derive all other Forms from that? Inheritance. Learn it.
Live it. Love it.
--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
"iKiLL" <iK***@NotMyEmail.comwrote in message
news:ug**************@TK2MSFTNGP04.phx.gbl...
>Hi All

I am Developing in C# with VS2005. I am Developing a Windows Mobile Forms
Application with the CF2

My problem is that when the Input panel is displayed my screen does not
scroll.

I have found some code using an Panel and a scroll bar that will make the
screen scroll when necessary.

What I would like to know is how hard would it be to create an Windows
control for the CF that I can just stick on my form so that I don't have
to keep copping and pasting the code and the controls and laying them out
all the time.

And If any one has already done this some advice would be welcome.

Thanks

ink



Feb 28 '07 #3
I have tried to create a form in my project called BaseForm.

I put the scroll bars and the form and the pannel and i got it all working.

Then i compiled my application and went to create a new form using the
inherit from base form template.

i then selected the BaseForm from the list.

When the form then displays i get the following error i have passed below.
Does any one know where i am going wrong?
Should i be developing my base form in a seporat application?
The designer could not be shown for this file because none of the
classes within it can be designed. The designer inspected the following
classes in the file: Form1 --- The base class 'SquareForm.BaseForm' could
not be loaded. Ensure the assembly has been referenced and that all projects
have been built.
Hide

at
System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.EnsureDocument(IDesignerSerializati onManager
manager)
at
System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.PerformLoad(IDesignerSerializationM anager
manager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.PerformLoad(IDesignerSer ializationManager
serializationManager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.DeferredLoadHandler.Micr osoft.VisualStudio.TextManager.Interop.IVsTextBuff erDataEvents.OnLoadCompleted(Int32
fReload)

Thnaks
ink

"iKiLL" <iK***@NotMyEmail.comwrote in message
news:eN**************@TK2MSFTNGP02.phx.gbl...
This is exactly what i was hoping i could do.

but i am not sure i know how. I have been trying using the information at
this web site.

http://samples.gotdotnet.com/quickst...scrolling.aspx

To create the control.
Any sugestions?

Thanks
ink


"<ctacke/>" <ctacke[@]opennetcf[dot]comwrote in message
news:OK**************@TK2MSFTNGP05.phx.gbl...
>Why not just use a base form with the panel and SIP (and any other common
items) and derive all other Forms from that? Inheritance. Learn it.
Live it. Love it.
--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
"iKiLL" <iK***@NotMyEmail.comwrote in message
news:ug**************@TK2MSFTNGP04.phx.gbl...
>>Hi All

I am Developing in C# with VS2005. I am Developing a Windows Mobile
Forms Application with the CF2

My problem is that when the Input panel is displayed my screen does not
scroll.

I have found some code using an Panel and a scroll bar that will make
the screen scroll when necessary.

What I would like to know is how hard would it be to create an Windows
control for the CF that I can just stick on my form so that I don't have
to keep copping and pasting the code and the controls and laying them
out all the time.

And If any one has already done this some advice would be welcome.

Thanks

ink




Feb 28 '07 #4
I have figgerd out what is causing the errors.

But how do i solve it.

It seems that the problem is the SIP (Software input Panel)

When i remove it all of a suddent the form displays in the designer.

Is there some whay of solving this because the whole point of me doing all
of this was so that i would not have to write the resize screen code when
the pannel is selected.

Thanks
ink



"iKiLL" <iK***@NotMyEmail.comwrote in message
news:eZ**************@TK2MSFTNGP06.phx.gbl...
>I have tried to create a form in my project called BaseForm.

I put the scroll bars and the form and the pannel and i got it all
working.

Then i compiled my application and went to create a new form using the
inherit from base form template.

i then selected the BaseForm from the list.

When the form then displays i get the following error i have passed below.
Does any one know where i am going wrong?
Should i be developing my base form in a seporat application?
The designer could not be shown for this file because none of the
classes within it can be designed. The designer inspected the following
classes in the file: Form1 --- The base class 'SquareForm.BaseForm' could
not be loaded. Ensure the assembly has been referenced and that all
projects have been built.
Hide

at
System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.EnsureDocument(IDesignerSerializati onManager
manager)
at
System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.PerformLoad(IDesignerSerializationM anager
manager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.PerformLoad(IDesignerSer ializationManager
serializationManager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.DeferredLoadHandler.Micr osoft.VisualStudio.TextManager.Interop.IVsTextBuff erDataEvents.OnLoadCompleted(Int32
fReload)

Thnaks
ink

"iKiLL" <iK***@NotMyEmail.comwrote in message
news:eN**************@TK2MSFTNGP02.phx.gbl...
>This is exactly what i was hoping i could do.

but i am not sure i know how. I have been trying using the information at
this web site.

http://samples.gotdotnet.com/quickst...scrolling.aspx

To create the control.
Any sugestions?

Thanks
ink


"<ctacke/>" <ctacke[@]opennetcf[dot]comwrote in message
news:OK**************@TK2MSFTNGP05.phx.gbl...
>>Why not just use a base form with the panel and SIP (and any other
common items) and derive all other Forms from that? Inheritance. Learn
it. Live it. Love it.
--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
"iKiLL" <iK***@NotMyEmail.comwrote in message
news:ug**************@TK2MSFTNGP04.phx.gbl...
Hi All

I am Developing in C# with VS2005. I am Developing a Windows Mobile
Forms Application with the CF2

My problem is that when the Input panel is displayed my screen does not
scroll.

I have found some code using an Panel and a scroll bar that will make
the screen scroll when necessary.

What I would like to know is how hard would it be to create an Windows
control for the CF that I can just stick on my form so that I don't
have to keep copping and pasting the code and the controls and laying
them out all the time.

And If any one has already done this some advice would be welcome.

Thanks

ink




Feb 28 '07 #5

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

Similar topics

3
by: Martin | last post by:
Thanks to all those who assisted me with my last question re: What is the best way to produce WYSIWYG pages for viewing and printing. I think that I have mastered the form with scrolling picture...
1
by: Wesman | last post by:
Threads, textboxes and scrolling Thanks in advance for any information on this matter. I have run into a small richtextbox, scrolling and tread issue. Which has me totally confused. Instead of...
2
by: James CC | last post by:
I have a strange bug in C# using windows forms. To make sure it's not some bug with my code, I've gone back to a simple test app, and still see the same behavior. I have created a simple C#...
1
by: Tim Frawley | last post by:
I have a large form with many controls, almost like legal size paper in height. Just so I can head these off, I am not looking for suggestions to the effect of using Tab controls, multi-window...
5
by: Rob T | last post by:
To keep my example simple, let's say I have a windows application form with a panel in it. For this example, I want to draw a single line in the panel, which is larger than the size of the panel. ...
1
by: Oberfuhrer | last post by:
Hello all VB.net friends ! i have done most of my programming in assembly, at least so far. Recently i decided to learn a high level language for windows programming. I didnt take long to...
1
by: atif | last post by:
Hi, I m new to CSharp.. so may be my preliminary questions look stupid.. but plz help me.. I want to drag controls like buttons or some other user controls over form.. i have set form's...
11
by: =?Utf-8?B?UmF5IE1pdGNoZWxs?= | last post by:
Hello, I know I sound like a one-note Johnny on this but I'm still looking for a solution. I need to display characters coming in from a serial port or a socket. I also need to be able to type...
7
by: robert.waters | last post by:
I have an Access database frontend linked via ODBC to a large (gigabytes) mysql database. I need to view a large amount of data in a a textbox (variable up to 300K), but I receive a 'there isnt...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.