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

Control as a form within an object

Hi again,

I am referring an earlier question here trying to enlarge upon the concept I
am pursuing.:

Each object is a subassembly. They are all significantly different in
detail and content but are all derived from an abstract subassembly class.

An assembly is defined as a tree of subassemblies. There are multiple
levels of subassemblies that can be assembled in many different
configurations. Someone on the production floor can open an assembly object
and request information regarding that particular object. One subassembly
requested method (among many) would be a list of subassembles within that
object.

If required, a subassembly can be be selected and displayed via a method
specified in the abstract class definition. What I want to do is direct the
subassembly to display itself as a form on the CRT. So, what I want to do
is build into each of these subassembly objects a form method to display its
content. I want the form to exist within the subassembly although the
subassembly, itself, is not a form.

It would be much easier to maintain such a system if I could use the VS form
designed capabilities (as oppopsed to dynamically building a form within the
assembly). So, the sequence would be as follows:

1, Open Assembly
2. Display subassemblies
3. Select subassembly
4. Direct subassembly to display itself
5. Display subassemblies
6. Select subassembly
7. Direct subassembly to display itself
8. ...

This can be repeated to 'n' levels of subassembly.

A sloppy method but equivalent method (IMHO) would be to create a form
application for each subassembly which would be fired off by the subassembly
object when a request is made with the invocation providing the necessary
data retrieval information. I do not like this. I want to find a method
that I can use to include this display mechanism in each subassembly object,
thus encapsulating everything within a subassembly to one inclusive object.

Thanx all,
Happy Ramahanakwasmas
WEB

Nov 16 '05 #1
0 1228

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

Similar topics

9
by: ckerns | last post by:
I want to loop thru an array of controls,(39 of them...defaults = 0). If value is null or non-numeric I want to assign the value of "0". rowString = "L411" //conrol name if (isNaN(eval...
2
by: Craig | last post by:
I'm trying to do this within a control I've created: Cursor.Current = Cursors.WaitCursor; During the initialization of the parent form, my control gets added to the form, and while the control...
4
by: louise raisbeck | last post by:
Resending this as own topic as didnt get answer from original. Would be grateful for a response from anyone that knows. Thanks. Hi there, I found your post really helpful..but i wondered if, once...
0
by: Matthew | last post by:
All, I have searched google and the newsgroups but can't find anything the same as what I am experiencing (though I may have missed something). I have controls (textboxes) within UserControls...
0
by: Brian Henry | last post by:
Ok I've never implemented a snap location before so I dont really know what im doing wrong here... anyways, I am making a custom slider control that takes dates as its values instead of integers......
2
by: glenn | last post by:
Hi folks, I am trying to determine which item in a DropDownList Web control has been selected. I have posted an OnSelectedIndexChanged subroutine in my code with a reference to the subroutine...
8
by: Rob | last post by:
Is it possible for a control to raise an event to remove itself ? Specifically... I have a FlowLayoutPanel that contains several instances of the same user control. Within each "user"...
4
by: =?Utf-8?B?UmljaEI=?= | last post by:
I am trying to create a project using the ASP.NET AJAX accordion control. I would like to dynamically add panes to the control with a form template added when the pane is added. I have tried...
7
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a...
3
by: Allen Chen [MSFT] | last post by:
Hi Richard, Quote from Richard================================================== However I also want to be able to remove the panes. I have tried to include this, but find that when I first...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.