FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Question about pasting a value
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Question about pasting a value
Posted: Wed Dec 20, 2017 02:14 PM

Hello,

Suppose I got a TGET-field with picture "99.99.99-999.99".
Suppose I copy a value from another application of website. This value looks like "99999999999".
How can this value be pasted so that the result in my TGET-field looks like "99.99.99-999.99" ?

Example : "68120509102" has to look like "68.12.05-091.02" after being pasted.

Thanks a lot in advance for any help.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM
Re: Question about pasting a value
Posted: Wed Dec 20, 2017 03:02 PM
Maybe, using:


Code (fw): Select all Collapse
   oGet:cPicture:="@R 99.99.99-999.99"
   oGet:oGet:Picture:="@R 99.99.99-999.99"
   oGet:Refresh()


Regards.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341

Continue the discussion