drag a selection in a field

A PocketC native palm library offering native forms and assorted utilities

Postby tthkbw on Wed Jan 22, 2003 11:03 pm

I create fields for display of text using resource forms and PToolboxLib. The really cool Note function in PToolboxLib allows me to drag the stylus and select text, but my field does not. Is there something I am missing in the definition of the field:

field id VSTAT_FIELD at (0 prevbottom+2 150 115) usable leftalign maxchars 4096 editable multiplelines dynamicsize underlined hasscrollbar

or do I have to handle the pen events and do the selection myself?



tthkbw
tthkbw
 
Posts: 75
Joined: Wed Nov 07, 2001 4:04 pm
Location: USA

Postby jstadolnik on Thu Jan 23, 2003 12:20 am

Just don't use the dynamicsize option. The library doesn't support that type of field.

Joe

The PToolboxLib guy.
http://www.geocities.com/retro_01775/PToolboxLib.htm
jstadolnik
 
Posts: 1741
Joined: Wed Dec 06, 2000 3:34 am
Location: USA

Postby tthkbw on Thu Jan 23, 2003 2:44 pm

As usual, the man with the answers.

Thanks, Joe

tthkbw
tthkbw
 
Posts: 75
Joined: Wed Nov 07, 2001 4:04 pm
Location: USA


Return to Pocket Toolbox

Who is online

Users browsing this forum: No registered users and 3 guests

cron