FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Double click in a get
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Double click in a get
Posted: Sun Apr 15, 2012 04:19 PM
In this little sample: if I double click over "Antonio" I select "ANTONIO"
the same behavior over "ENRICO"
I I double click over "MARCO"
I select "MARCO " until the end of oGet

Is it possible to change this and obtain only word "MARCO"

marco


Code (fw): Select all Collapse
#include "fivewin.ch"
FUNCTION MAIN()

 LOCAL oDlg
 LOCAL oGet , cGet := PADR( "ANTONIO ENRICO MARCO" , 100 )

 DEFINE DIALOG oDlg

 @ 1 , 1 GET oGet VAR cGet OF oDlg SIZE 150 , 10

 ACTIVATE DIALOG oDlg CENTER
RETURN NIL
Marco Boschi
info@marcoboschi.it
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: Double click in a get
Posted: Mon Apr 16, 2012 07:21 AM

In your opinion are there any problems if I use MEMO plus NO VSCROLL to create a single line GET object?

Marco Boschi
info@marcoboschi.it
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Double click in a get
Posted: Mon Apr 16, 2012 08:23 AM

A problem could be the Enter key that is still functional.

EMG

Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: Double click in a get
Posted: Wed Apr 18, 2012 03:57 PM

Up

Marco Boschi
info@marcoboschi.it

Continue the discussion