Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: How to highlight all the Text for a Text field when getting focu
Jim,

Thank, but I've tried your solution.  It work from a SingleThreaded
Menu.  But fails from a Frame.
I went back and tested it again just in case.  I've got a simple App
with 2 menus (SingleThreaded and Frame) and one window procedure.  I
switch from Single to Threaded Frame to verify.  When testing I'm
putting the code in ThisWindow.TakeSelected for the Selected Field.
Currently I'm only testing with ABC.

>From a Frame with your method the highlighting always stops at the
location of the cursor when the mouse is used.

My API method above works, but it moves the cursor.
Which I don't like.  Other than that it seems to work fine.

If you have another idea let me know and I will give it a try.  I would
prefer your solution because then I would not need to move the cursor.

Do you know how to calculate the actual length of the text.  That would
improve what I'm doing.

Thanks,

Jim Mumford


Report this thread to moderator Post Follow-up to this message
Old Post
JMumf
12-18-04 05:46 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clarion archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:01 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.