U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Howto disable Insert and Append?
Re: Howto disable Insert and Append? [message #13401 is a reply to message #13381] Fri, 04 January 2008 00:07 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

nixnixnix wrote on Thu, 03 January 2008 12:32

Hi,

I have quite a lot of tables where I do want people to be able to paste cell values and ranges of cell values but I do not want people to be able to change the size of the table.

I have tried

m_grid.Appending(false).Inserting(false);


Use m_grid.FixedPaste() - to disable adding rows to fit clipboard data. Is that what you need?
Quote:


Hey Daniel, are you looking at fixing copy/paste TO excel?


GridCtrl support pasting of text clipboard (OO and MS Office stores grid data both in text and internal format in the clipboard). It should work fine. What's wrong?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to do column resizing after ShowColumn() or HideColumn()?
Next Topic: Repeated Question: How to use Clipboard in DB(SqLite3)?
Goto Forum:
  


Current Time: Sat Jul 04 20:03:35 GMT+2 2026

Total time taken to generate the page: 0.01425 seconds