Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Win32:GUI ::Textfield Clear()

by Anonymous Monk
on Nov 21, 2011 at 15:29 UTC ( #939230=note: print w/ replies, xml ) Need Help??


in reply to Win32:GUI ::Textfield Clear()

Lets see

http://search.cpan.org/grep?cpanid=ROBERTMAY&release=Win32-GUI-1.06&string=Clear&i=1&n=1&C=1

samples/Notepad.pl 46- " > &Delete" => { -name => "Delete", 47: -onClick => sub { my $self = shift; + $self->Edit->Clear(); 0; } 48- },

Right, notepad won't delete text unless you select text.

You need  ->SelectAll;

This would have been easier/faster to answer if your code was runnable. Short, Self Contained, Correct Examples make for effective questions


Comment on Re: Win32:GUI ::Textfield Clear()
Select or Download Code
Re^2: Win32:GUI ::Textfield Clear()
by hennesse (Sexton) on Nov 21, 2011 at 16:09 UTC

    Thank you! Thank you!

    Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939230]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-07-23 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (154 votes), past polls