473,320 Members | 1,865 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.

Is a method/property Me.IsLoading available? (WinForms)

dgk
I want to use certain events but only when the form is finished with
the Load event. Obviously I can set a boolean flag but I was looking
around for anything in Me that might do the same thing but I don't see
it. Did I miss it?
Apr 13 '06 #1
2 1101
I don't see one in the help text, but it would be a simple process to
create one for a form. Each form is implemented as a class so just
create a new IsLoading boolean parameter in the form's class, be sure
to either make a constructor to initialize the boolean to false or set
it to flase first thing in the Load event code, and then at the end of
your Load event code, set the property to true, and you can then
reference the Me.IsLoading property.

Apr 13 '06 #2
dgk
On 13 Apr 2006 10:41:29 -0700, za***@construction-imaging.com wrote:
I don't see one in the help text, but it would be a simple process to
create one for a form. Each form is implemented as a class so just
create a new IsLoading boolean parameter in the form's class, be sure
to either make a constructor to initialize the boolean to false or set
it to flase first thing in the Load event code, and then at the end of
your Load event code, set the property to true, and you can then
reference the Me.IsLoading property.


That's what I do, but I figured maybe there was something intrinsic.
No biggie.
Apr 14 '06 #3

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

Similar topics

6
by: Martin | last post by:
I'd like to be able to get the name of an object instance from within a call to a method of that same object. Is this at all possible? The example below works by passing in the name of the object...
2
by: Sreedharan | last post by:
Hi, I am using C#. Is there no Join method (in thread class)for Smart device application? And Also i noticed that Name property isn't there(got compiler error when trying to use them) Is this...
0
by: Atmapuri | last post by:
Hi! I have a public list property on one of my components and the Winforms IDE is not able to correctly store any changes to it in design time. I wish it would be possible to simplify the...
4
by: BK | last post by:
I need to Set & Get the "Comment" property of files. I would like to know what classes handle these in VB.NET. The VBA code is sen at...
1
by: suki | last post by:
How can i set the data binding property of an label to a field of a dataset (defined in a class in my project) ? In this data field, there are many entries and i want to have as much labels as...
13
by: TS | last post by:
Say i have a class car with properties: Color, Make, Model, Year, DriverID And a Driver class with properties: DriverID, Name The driverID PRIVATE property is the id of the driver from say a...
4
by: ianyian | last post by:
hi experts, im doing some staff bween th the aspx + MS Word.chellcheck, and and which running on my ypc is no problem ( windows xp , activation by ASPNET ), buts someshow when i try to deploy to...
1
by: Derek Hart | last post by:
I am using the PropertyGrid control, and have been trying some demos from CodeProject, but cannot seem to find a specific item. I want to simply have a string property, and on the property I want...
23
by: raylopez99 | last post by:
Here I am learning WinForms and two months into it I learn there's a WPF API that is coming out. Is this WPF out yet, and is it a threat to WinForms, in the sense that all the library routines I...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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: 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)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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.