paste to getfield

paste to getfield

Postby Otto » Fri Jan 23, 2009 4:57 pm

Some of my customers complain about that if they paste a long text to a getfield that only a part of the original text is shown.
I tried to test this with an original FIVEWIN program with the same result.
If I insert than mark the get and insert again the whole text is taken.

testfoc.prg

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6328
Joined: Fri Oct 07, 2005 7:07 pm

Re: paste to getfield

Postby Enrico Maria Giordano » Fri Jan 23, 2009 9:41 pm

Open testfoc.rc with BRW, double click on a GET and click on Automatic scroll Horizontal.

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

Re: paste to getfield

Postby Otto » Fri Jan 23, 2009 10:16 pm

Enrico,
would you be please so kind to post the working rc-file.
Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6328
Joined: Fri Oct 07, 2005 7:07 pm

Re: paste to getfield

Postby mmercado » Fri Jan 23, 2009 10:42 pm

Otto wrote:would you be please so kind to post the working rc-file.
Hi Otto:

Here you are a working TestFoc.rc
Code: Select all  Expand view
TESTFOCUS DIALOG 6, 15, 207, 113
STYLE DS_MODALFRAME | 0x4L | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Testing Focus"
FONT 8, "MS Sans Serif"
{
GROUPBOX "", 301, 8, 3, 192, 82, BS_GROUPBOX
LTEXT "Get - 1", -1, 20, 23, 30, 8
EDITTEXT 101, 58, 20, 132, 13, ES_AUTOHSCROLL
LTEXT "Get - 2", -1, 19, 44, 30, 8
EDITTEXT 102, 58, 41, 132, 13, ES_AUTOHSCROLL
LTEXT "Get - 3", -1, 19, 65, 30, 8
EDITTEXT 103, 58, 62, 132, 13, ES_AUTOHSCROLL
PUSHBUTTON "&Create", 104, 74, 92, 40, 15
PUSHBUTTON "&Save", 105, 117, 92, 40, 15
PUSHBUTTON "&Ok", 106, 160, 92, 40, 15
}
Best regards.

Manuel Mercado
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: paste to getfield

Postby Otto » Sat Jan 24, 2009 4:22 am

Enrico, Manuel,
thank you. Now it is working.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6328
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 84 guests