edit compact framework listview to add and editquantity in one sub

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,
Needed urgent,
Do anyone know how to use compact listview for editing purpose . Does
listview support editing . Can anyone suggest some references or code or
logic .
Looking forward for kind reply,
Help is greatly appreciated.
 
I've tried manually editing the style of the native ListView control which
the .NETCF control wraps, to enable editing. While it is possible to set
this style, editing a cell causes the SIP to raise (good sign) then the
whole app to crash :-( So it appears that the .NETCF control is probably not
handling a specific message from the native control which only occurs when
editable.
I can suggest two possible workarounds, one it may be possible to float a
TextBox control over the listview to give the impression of edit in-place,
second you may be able to create your own owner-drawn control incorporating
a textbox, the OwnerDrawnList in the SDF would probably be a good start -
www.opennetcf.org/sdf/

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top