Double click in a get

Double click in a get

Postby MarcoBoschi » Sun Apr 15, 2012 4: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: Select all  Expand view

#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
 
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: Double click in a get

Postby MarcoBoschi » Mon Apr 16, 2012 7:21 am

In your opinion are there any problems if I use MEMO plus NO VSCROLL to create a single line GET object?
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: Double click in a get

Postby Enrico Maria Giordano » Mon Apr 16, 2012 8:23 am

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8712
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Double click in a get

Postby MarcoBoschi » Wed Apr 18, 2012 3:57 pm

Up
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 33 guests