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

Painting Parent Control Area..............

Hi

I have created one control by inheriting class from control
this class has one property caption, now i want that this caption will
be printed on each and every instance of class is created on consuming
class/container, this caption will be near the control/object created
on container.

in short i have one control when i place on form its capton[default TXT
any] must be printed on form or panel

How do i do that

Thanks
Hitendra

Nov 17 '05 #1
1 1202
Not entirely sure what you are asking but if you want to work with the parent
just use the Parent property of your control.
Brian Delahunty
Ireland

http://briandela.com/blog

"Hiten" wrote:
Hi

I have created one control by inheriting class from control
this class has one property caption, now i want that this caption will
be printed on each and every instance of class is created on consuming
class/container, this caption will be near the control/object created
on container.

in short i have one control when i place on form its capton[default TXT
any] must be printed on form or panel

How do i do that

Thanks
Hitendra

Nov 17 '05 #2

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

Similar topics

0
by: Harry_Crow | last post by:
I'm painting in the Non Client area of the control. I'm facing some flicker problem. Is it possible to achive Double buffer painting in Non Client area. The SetStyle with...
1
by: Ian | last post by:
I have a parent MDI with a menu that calls all the children forms and that works fine. My issue is I created a user control that looks like a toolbar and it has various windows controls on it and...
1
by: Bill K | last post by:
I am developing a winforms project in vb.net. I have several forms that have a number of controls, grids, etc. When I load these as MDI child forms, they load slowly AND they paint/repaint on the...
5
by: Alien | last post by:
I have a hex editor-type class that extends UserControl and paints its data to a PictureBox. Basically the problem is that repainting it takes usually between 60 and 80ms, which may seem pretty...
2
by: SpotNet | last post by:
Hello NewsGroup, I have a MDIParent form with a docked left treeview control, a splitter control and a generic docked control on the right. Kind of looks like Windows Explorer, though it's...
0
by: Bob | last post by:
I would like to (alpha) paint over any particular area within an MDI Parent - in the client area, forms, controls within these forms, etc. There are a few ways to do this, but I would prefer...
6
by: Tom | last post by:
This seems like a dumb question, but here goes: In my own VB.NET user control, how do I gain access to the user controls parent? (i.e. the form that is hosting the user control) For instance, in...
4
by: Steve Hershoff | last post by:
I have two UserControls I'd like to have talk to each other. One of them is contained within the other, in a parent/child relationship. The child control is loaded dynamically (it's declared as a...
0
by: triannha | last post by:
I have an app which uses a usercontrol I have created. In the usercontrol, I need to create a large number of button controls each of which coorelate to either data from a database or a 'blank'...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: 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: 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...
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...

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.