Scroll Text Area

Scroll Text Area

Postby Arindam » Wed May 23, 2007 4: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
Arindam
 
Posts: 44
Joined: Sat Jul 29, 2006 5:03 pm
Location: Kolkata, India

Postby hua » Wed May 23, 2007 5:06 am

Yes there is. Just remember that at the edit control properties, you will also need to checked "Auto Horz Scroll"
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Postby Arindam » Wed May 23, 2007 3:14 pm

Thanks HUA.

Can you provide a small code for the same ?

With regards,

Arindam
Arindam
 
Posts: 44
Joined: Sat Jul 29, 2006 5:03 pm
Location: Kolkata, India

Postby hua » Thu May 24, 2007 2:21 am

Just do a grep or text search for "@S" in FWH's SAMPLES directory. There are quite a few there
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 53 guests

cron