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

How to Create a user Control

Hai,

I need to Create a set of Usercontrol which will be used across my Project,
the reason is, if i want to change the format or font properties in future I
will change the formats in the usercontrol base control( ie the source from
where i've used the control ) then it should be reflected in all the
usercontrols i 've used in my project without doing anything in my project's
controls...

please give me an sample code to create a User control & using it in my
project,
for example if i want to create a User control of Text Box which contains
the following properties:

Back Color - Yellow
Font - Arial
Size - 12
Font Style - Bold
ThanX in Adv.
--
Peter...
Nov 21 '05 #1
1 1200
Can Anybody help regarding my previous post...
--
Peter...
"Prabhudhas Peter" wrote:
Hai,

I need to Create a set of Usercontrol which will be used across my Project,
the reason is, if i want to change the format or font properties in future I
will change the formats in the usercontrol base control( ie the source from
where i've used the control ) then it should be reflected in all the
usercontrols i 've used in my project without doing anything in my project's
controls...

please give me an sample code to create a User control & using it in my
project,
for example if i want to create a User control of Text Box which contains
the following properties:

Back Color - Yellow
Font - Arial
Size - 12
Font Style - Bold
ThanX in Adv.
--
Peter...

Nov 21 '05 #2

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

Similar topics

0
by: Patrick | last post by:
I'm working on a contact management application, and need a hand with one aspect... Here's what I want to create: ------------------------------------ A form split into two parts. There is a...
2
by: macca | last post by:
Hi, I am writing a GUI application. It will have a number of user defined controls( I plan to use/create a user defined control that will output alarm states that the user can also select and...
5
by: Jonah Olsson | last post by:
Hello guys, I have an application which is built upon several user controls. That is, I have a default template (default.aspx) that I load a user control into (using placeholders in the...
2
by: Quentin Huo | last post by:
Hi: I have a user control and I want to dynamically create a Label control and TextBox control when the button "add more author name" is clicked. I did like this: 1. there is a...
3
by: Brian | last post by:
Hi, All, I want to create a single user control (component) with multi-controls. for example, I want to use one button control and 2 listBox controls to build one single user control. so, user...
0
by: Kristian Frost | last post by:
Hi, I'm just getting started with VB.Net, and I'm having trouble getting the routing around of some of the data straight in my mind, which has led me to the following problem. Basically, I'm...
2
by: Roman | last post by:
I would like to slightly change the functionality of the create user control. 1. When creating a user the password shouldn't be supplied. Rather the password should be generated much like...
3
by: Supriya | last post by:
Hi , Can anybody give me some information on how to create an activeX Control in C# with a Picturebox. Thank you, Supriya
2
by: Carl Johansson | last post by:
I'm trying to learn how to create a user control. As far as I can understand, Visual Studio contains a template named "Windows Control Library" to this end. However, this template is missing when I...
3
by: 100grand | last post by:
Modify the Inventory Program to use a GUI. The GUI should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.