# To subscribers of the xforms list from Steve Lamont <spl@ncmir.ucsd.edu> :
> Is there a way that I can associate a struct or pointer to a struct
> with a specific line in a browser. ...
Not directly but you can attach an array of pointers to the object
using the `uv_data' member and use the item number as an index. Of
course, if you add and delete lines from the browser, you have to do
all of the appropriate bookkeeping yourself. This probably isn't much
better (or any less obvious) than simply managing the array yourself.
You might also use a Formbrowser, attaching each structure to a form,
but that is probably overkill in most cases.
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Fri Oct 20 2000 - 08:04:47 EDT