Jump to content

Recommended Posts

Posted

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

Posted

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)?

Posted

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?

Posted

I do not know. I use a status bar which is empty on creation and then use

_GUICtrlStatusBarSetText($StatusBar, "Text")

to fill in text.

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