Jump to content

Clearing edit box by clicking button?


rickd
 Share

Recommended Posts

Hi,

I'm new to the forum and want to say Hi first off, I've found heaps of really good info here so far that has helped a lot.

Just one quick question, how do I clear all the text in an edit box (TAEdit) by clicking a button that is also on the form?

Thanks

Link to comment
Share on other sites

Thanks, that did exactly what I wanted.

One other thing I haven't been able to find from the help, is it possible to give a window a status bar? And if so, how to write values to it (ie. status messages)?

Link to comment
Share on other sites

Look at _GUICtrlStatusBarCreate in the "GuiStatusBar Management" section in the help file.

I have got the status bar on my window now, but no text appears in it.

$statusbar = _GUICtrlStatusBarCreate($Form1, 361, "test bar text")

Is that wrong?

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