473,387 Members | 1,455 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.

Owner change in an inherited form

Hi,

Does anyone know how to change an owner of a control inherited from the
base form? In code it's simple, but the real question is how to force
designer to do this? Is it possible?

I tried to play with the Component Designer Generated Code

Best Regards

Wojciech

Nov 15 '05 #1
3 2034
Can you pls explain it little more

"how to change an owner of a control inherited from the base form? " ???????
cannot get

Nirosh.

"Wojciech Trelak" <wo*************@kruk-inkaso.com.pl> wrote in message
news:u6**************@tk2msftngp13.phx.gbl...
Hi,

Does anyone know how to change an owner of a control inherited from the
base form? In code it's simple, but the real question is how to force
designer to do this? Is it possible?

I tried to play with the Component Designer Generated Code

Best Regards

Wojciech

Nov 15 '05 #2
I have a base form A with certain number of controls. The form is inherited
by another form B. Form A has two panels were the controls are placed. I
need to move some controls between these two panels in form B. Form A must
stay unchanged.

So, the question is: is there any possibility, that such a movement is
doable with component designer in VS.NET? If there is, how to do it?

--
Best Regards

Wojciech

Użytkownik "Champika Nirosh" <cn*****@textcentric.lk> napisał w wiadomości
news:eu*************@TK2MSFTNGP11.phx.gbl...
Can you pls explain it little more

"how to change an owner of a control inherited from the base form? " ??????? cannot get

Nirosh.

"Wojciech Trelak" <wo*************@kruk-inkaso.com.pl> wrote in message
news:u6**************@tk2msftngp13.phx.gbl...
Hi,

Does anyone know how to change an owner of a control inherited from the
base form? In code it's simple, but the real question is how to force
designer to do this? Is it possible?

I tried to play with the Component Designer Generated Code

Best Regards

Wojciech


Nov 15 '05 #3
In theory you cannot and if you can then the whole concept of inheritence
get ruined..

but there may be some other way like copy paste to do this ... keep on
trying..

Nirosh.

"Wojciech Trelak" <wo*************@kruk-inkaso.com.pl> wrote in message
news:el**************@TK2MSFTNGP09.phx.gbl...
I have a base form A with certain number of controls. The form is inherited by another form B. Form A has two panels were the controls are placed. I
need to move some controls between these two panels in form B. Form A must
stay unchanged.

So, the question is: is there any possibility, that such a movement is
doable with component designer in VS.NET? If there is, how to do it?

--
Best Regards

Wojciech

Użytkownik "Champika Nirosh" <cn*****@textcentric.lk> napisał w wiadomości
news:eu*************@TK2MSFTNGP11.phx.gbl...
Can you pls explain it little more

"how to change an owner of a control inherited from the base form? "

???????
cannot get

Nirosh.

"Wojciech Trelak" <wo*************@kruk-inkaso.com.pl> wrote in message
news:u6**************@tk2msftngp13.phx.gbl...
Hi,

Does anyone know how to change an owner of a control inherited from the base form? In code it's simple, but the real question is how to force
designer to do this? Is it possible?

I tried to play with the Component Designer Generated Code

Best Regards

Wojciech



Nov 15 '05 #4

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

Similar topics

1
by: Ange T | last post by:
Hi, I have a secured Access 2000 database, and have encountered a strange error that I can't find any similar postings on. I'd really appreciate your help! In my database, I have a number of...
8
by: Spam Trap | last post by:
I am getting strange resizing problems when using an inherited form. Controls are moving themselves seemingly randomly, but reproducibly. "frmBase" is my base class (a windows form), and...
2
by: John Regan | last post by:
Hello All I am trying to find the owner of a file or folder on our network (Windows 2000 Server) using VB.Net and/or API. so I can search for Folders that don't follow our company's specified...
2
by: Bruce D | last post by:
I have a form that opens up with my application. It acts as the main menu. Let's just say it looks like this: Public Class frmStartup ' some other settings Public UserID As Integer = 0 ' a...
12
by: Tom W | last post by:
What's the difference in these three?
2
by: dan heskett | last post by:
I am owner-drawing a listbox, in an attempt to create a nice list with some custom "fields" and text layout. Essentially it works, but I must be missing something big, conceptually, because I...
4
by: asad.naeem | last post by:
hi to all this is the problem about inheritence. I have designed a form with some essential controls which are required for every form which will inherited from it. for example i have Button1 on...
3
by: eighthman11 | last post by:
Hi everyone. I inherited a database that had a user name ("field") in the user group not admins. This seemed to be fine for woking with the database because it was owned by user "field" and all...
7
by: MarkJ | last post by:
him im kinda new to c-sharp... to reference up the class chain, how do i reference the super class (parent) example class mybase { protected int abc=0 } classs myclass:mybase {
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: 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...
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
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.