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

User Interface

I've sorted many difficulties, but couldn't manage these ones:

1)I have textboxes in my form with MaxLenth property set. How can I
configure them to automatically chance focus to the next one when the
maximum lengh is reached?

2)How can I use the "Enter" key to tab from one textbox to the other,
instead of the "Tab" key?

3)How can I set a background image to a form linked to an external jpg file?
I mean, when I set the backgroundimage property of the form, VS compiles the
image to the exe. I need to change the form background by changing the
picture in the application directory.

thanks,

Nov 15 '05 #1
1 2233
for the answer to question #2 see
http://www.syncfusion.com/FAQ/WinFor...c94c.asp#q915q

for #3 - have you tried leaving the property in the designer set to
its default value (whatever that is) and instead initialize it in
code, something like:

this.BackgroundImage = new Bitmap (@"C:\WINDOWS\Soap Bubbles.bmp");

I believe the above will tile the image, have a look at the
dotnet.framework.windowsforms newsgroup as I think there have been
some posts about that.

as for #1, you might be able to incorporate functionality into the
TextChanged event to check for max length, then do as in answer #2
with a SendKeys call.

HTH,
Mike
"J. Marcelo Barbieri" <mb*******@bf.com.br> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I've sorted many difficulties, but couldn't manage these ones:
1)I have textboxes in my form with MaxLenth property set. How can I
configure them to automatically chance focus to the next one when the maximum lengh is reached?

2)How can I use the "Enter" key to tab from one textbox to the other, instead of the "Tab" key? 3)How can I set a background image to a form linked to an external jpg file? I mean, when I set the backgroundimage property of the form, VS compiles the image to the exe. I need to change the form background by changing the picture in the application directory.

Nov 15 '05 #2

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

Similar topics

3
by: zlst | last post by:
Many technological innovations rely upon User Interface Design to elevate their technical complexity to a usable product. Technology alone may not win user acceptance and subsequent marketability....
2
by: Dan | last post by:
All, I have a windows form application. The form will host various user controls that will implement an interface so that was new controls can be added later without recompiling the hosting...
6
by: Earl Teigrob | last post by:
I am writing an application that dynamically loads user controls at run time based on user options. I would like to give my users the ability to build their own user controls and add them to my...
6
by: grist2mill | last post by:
I want to create a standard tool bar that appears on all pages that is a control. The toolbar has a button 'New'. What I wolud like when the user clicks on 'New' depends on the page they are on. I...
24
by: Rob R. Ainscough | last post by:
VS 2005 I have: ClickOnce deployment User's that hate and or don't want to use an IE Client (don't blame them) I don't see how ASPX web pages are going to survive? With .NET 2.0 and clickonce...
1
by: David Hearn | last post by:
I am creating a user control for use on several of my pages. I have some variables that are set on my pages where the user control will be used. I need my user control to automatically be able to...
8
by: mark.norgate | last post by:
I've run into a few problems trying to use generics for user controls (classes derived from UserControl). I'm using the Web Application model rather than the Web Site model. The first problem...
3
by: psbasha | last post by:
Hi, I would like to call the same aplication executable with and without Graphical User Interface. Requirement: With Tkinter User interface,user can give the inputs to run the application (...
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: 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
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
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
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.