FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Scroll Text Area
Posts: 44
Joined: Sat Jul 29, 2006 05:03 PM
Scroll Text Area
Posted: Wed May 23, 2007 04:49 AM

Hi everybody,

If display area is less then the test length, how can I scroll to view or enter the entire text length?

For example, due to the insufficient space I can provide maximum 25 char to display the Name field. But length of the name field is 35 char. In such case, if I can provide scroll option, the entire 35 char of the name field can be entered by the user.

Is there any option like "@!S25"?

With regards
Arindam

Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Scroll Text Area
Posted: Wed May 23, 2007 05:06 AM

Yes there is. Just remember that at the edit control properties, you will also need to checked "Auto Horz Scroll"

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 44
Joined: Sat Jul 29, 2006 05:03 PM
Scroll Text Area
Posted: Wed May 23, 2007 03:14 PM

Thanks HUA.

Can you provide a small code for the same ?

With regards,

Arindam

Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Scroll Text Area
Posted: Thu May 24, 2007 02:21 AM

Just do a grep or text search for "@S" in FWH's SAMPLES directory. There are quite a few there

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour

Continue the discussion