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: 189
  • Last Modified:

How to create control and put on a window by code

I want to write a piece of code to create controls for a window and put it on that window?
Thanks
0
Jimsong
Asked:
Jimsong
1 Solution
 
bluecometCommented:
Hi Jimsong,

if I understood you well, you need this:

//create an object control (any kind) here example statictext on a click event of a button

statictext lst_text

lst_text = create statictext

//use the method openuserobject()

window.openuserobject(lst_text,Xpos,Ypos)


Hope that will help you!

$regards
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.

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