Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

Handle Property

Why my form has no handle property?

Thanks in advance.

Leonel
0
leorocha
Asked:
leorocha
  • 2
  • 2
  • 2
1 Solution
 
Deepak LakkadCommented:
Hi,

Handle is a read only property and will be available in code.

It does not appears in Property Window

- Deepak Lakkad
0
 
chaauCommented:
I must add to the previous comment that the property is changing every time the form loads. You can't rely on it as a constant value. You need to get the handle in the code every time you need to use it (e.g. for some API calls)
0
 
leorochaAuthor Commented:
I'know that , the fact is that when I type in code Me.handle, this property is unavailable
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
chaauCommented:
I think the proper property is hwnd
me.hwnd

Open in new window

0
 
Deepak LakkadCommented:
Hi,

The property name is Handle and you can access it in following way

Me.Handle
or
FormName.Handle

- Deepak Lakkad
0
 
leorochaAuthor Commented:
yes, thanks Deepak. I'm confused, so tired...

thks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now