how to Select All Text in textbox minigui harbour

95 views
Skip to first unread message

mihir danecha

unread,
Feb 4, 2018, 1:06:34 AM2/4/18
to Harbour Users
Please give some syntax to perform the same

Jacek Kubica

unread,
Feb 4, 2018, 8:32:11 AM2/4/18
to harbou...@googlegroups.com

Try following function:

 

#include "i_winuser.ch"

 

Function SelectAll( ControlName , ParentForm )

     SendMessage( GetControlHandle ( ControlName , ParentForm ) , EM_SETSEL , 0 , -1 )

return NIL

 

Example :  SelectAll( ”Textbox_1” , ”Form_1” )

 

Regards

Jacek Kubica

MiniGUI Team

--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

 

mihir danecha

unread,
Feb 7, 2018, 12:12:14 PM2/7/18
to Harbour Users
Thanks. it worked for me.

i have another query. i want to call method from .net c# dll into harbour.
Reply all
Reply to author
Forward
0 new messages