Jump to content

Recommended Posts

Posted

Hello, this should be a very simple and straight forward question. I have a FileOpenDialog that, when it has a filepath entered, will write the path into an Input box. Looking at the set functions associated with an Input box, there is no GUICtrlSetText or something similar. Could someone point me at an example of help file that can help me?

Posted

Do you mean GUICtrlSetData?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted (edited)

  On 10/7/2011 at 1:20 PM, water said:

Do you mean GUICtrlSetData?

If there is a way to use that to remove the current text and rewrite it, yes. I've looked at the Help page on that and i couldn't see how it could be used (for what i want*).

Edited by ndw
Posted

Should do what you want. According to the help file:

Syntax: GUICtrlSetData ( controlID, data [, default] )

data: Group, Label, Button, Checkbox, Radio, Combo, List, Input, Edit, TabItem, TreeViewItem: Replaces the text.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

Thats it thank you. When i saw that, i thought it was regarding other things that could be considered data, since all the other controls in the list use Caption rather than Text for their display. Thank you!

Posted
:graduated:

My UDFs and Tutorials:

  Reveal hidden contents

 

  • 3 weeks later...

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
  • Recently Browsing   0 members

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