in VB .net
how will an event procedure instantiate a new object with a constructor
call and then show the main form again?
i am lost, any help appreciated,
thanks
portroe 5 2352
* portroe <bo*@sleigh.com> scripsit: in VB .net
how will an event procedure instantiate a new object with a constructor call and then show the main form again?
A new main form? Did you close the main form?!
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
yes you are correct, but i am using combo boxes, and I need the reset,
what i do not understand fully is the method for instantiating a new object,
Murt
Herfried K. Wagner [MVP] wrote: * portroe <bo*@sleigh.com> scripsit:
in VB .net
how will an event procedure instantiate a new object with a constructor call and then show the main form again?
A new main form? Did you close the main form?!
* portroe <bo*@sleigh.com> scripsit: yes you are correct, but i am using combo boxes, and I need the reset,
what i do not understand fully is the method for instantiating a new object,
I am still not sure what you want to do. Do you want to reset all
controls on a particular form?
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
My example in one case is that I need to enter a persons details (name,
address etc) using text boxes, and Combo boxes
I want to submit and repeat the procedure for the next persons details,
thanks
Herfried K. Wagner [MVP] wrote: * portroe <bo*@sleigh.com> scripsit:
yes you are correct, but i am using combo boxes, and I need the reset,
what i do not understand fully is the method for instantiating a new object,
I am still not sure what you want to do. Do you want to reset all controls on a particular form?
* portroe <bo*@sleigh.com> scripsit: My example in one case is that I need to enter a persons details (name, address etc) using text boxes, and Combo boxes
I want to submit and repeat the procedure for the next persons details,
IMO it's really user-unfriedly if the form disappears and then
reappears. Why not write a procedure which resets the controls do their
default values?
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: jerrygarciuh |
last post by:
Hello,
Is it possible to instantiate a child class within the constructor of its
parent?
eg
Class DBI extends DB {
function DBI() {
// explicit parent constructor call
|
by: Glenn Serpas |
last post by:
I have Class A and Class B .. Class B has a private member that is a pointer
to a Class A object.
private:
B *mypointer ;
I instantiate the A object
A* myobject new = A();
|
by: gabon |
last post by:
Due a big project I would like to create different javascript classes
and assign them to divs. But how? :)
I know the usage of prototype but given that this could be possible:
function...
|
by: J-T |
last post by:
I can instantiate my object in my *ASP.NET* application in two ways:
A)
public sealed class RSSingleton
{
private static ReportingServiceProxy m_RsProxy=null;
static RSSingleton()
{...
|
by: GiBo |
last post by:
Hi all,
I have a class URI and a bunch of derived sub-classes for example
HttpURI, FtpURI, HttpsURI, etc. (this is an example, I know there is
module urllib & friends, however my actual problem...
|
by: Anthony Greene |
last post by:
This is probably a very introductory object-oriented question, but it
has been nagging me for years, and since I've never been able to find
the right answer, I've had to work around it with...
|
by: learning |
last post by:
Hi how can I instaltiate a class and call its method. the class has
non default constructor. all examples i see only with class of defatul
constructor. I am trying to pull the unit test out from...
|
by: Fei Liu |
last post by:
Hello,
We all know that a template function can automatically deduce its
parameter type and instantiate, e.g.
template <tpyename T>
void func(T a);
func(0.f);
This will cause func<floatto...
|
by: Fei Liu |
last post by:
Hello,
We all know that a template function can automatically deduce its
parameter type and instantiate, e.g.
template <tpyename T>
void func(T a);
func(0.f);
This will cause func<floatto...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: 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...
|
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: 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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |