Jump to content

ControlGetText


Recommended Posts

Hello!

I would like to get the text of a textbox.

I used the function ControlGetText, but this function didnt return always a string.

e.g. my Textbox is empty I get null string with the follow command:

ControlGetText(myForm, , ID_of_TextBox)

What is the second parameter for?

If my textbox contains something I can use some first letters at the second parameter to get the complete text.

Have someone an explanation for me? Im little confuse

Best regards,

Alex

Edit: Have this function known issues with Controls like Infragistics.Win.UltraWinEditors.UltraTextEditor?

(Just a TextBox from Infragistics)

Edited by AlexR
Link to comment
Share on other sites

thanks,

but my problem is that the function doesn't return any string. The parameters should be okay, because the function controlgethandle works fine with the same parameters and return the right handle

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...