Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl: how to disable the past at a given row
GridCtrl: how to disable the past at a given row [message #7625] Thu, 11 January 2007 01:23 Go to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

my app has a gridctrl with a fixed number of rows, say 10. So I need to disable the "past" that add rows further this limit.
If this cannot be done how to disable the whole "past" method?

Luigi
Re: GridCtrl: how to disable the past at a given row [message #7626 is a reply to message #7625] Thu, 11 January 2007 10:49 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

forlano wrote on Wed, 10 January 2007 19:23

Hello,
my app has a gridctrl with a fixed number of rows, say 10. So I need to disable the "past" that add rows further this limit.
If this cannot be done how to disable the whole "past" method?
Luigi

Such need seem to be reasonable. I will add a proper switch before a new dev.
Unfortunately it can't be disabled right now - I will add it too, just forgot to do it in 701-dev1.
Re: GridCtrl: how to disable the past at a given row [message #7635 is a reply to message #7626] Fri, 12 January 2007 00:23 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

Ok. Both options are implemented and in uvs.
Re: GridCtrl: how to disable the past at a given row [message #7637 is a reply to message #7635] Fri, 12 January 2007 00:35 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
unodgs wrote on Fri, 12 January 2007 00:23

Ok. Both options are implemented and in uvs.


Thank you very much Daniel. I'll wait the next dev.
Can you remind me the magic words of the new methods?

Luigi
Re: GridCtrl: how to disable the past at a given row [message #7719 is a reply to message #7635] Wed, 17 January 2007 00:51 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
unodgs wrote on Fri, 12 January 2007 00:23

Ok. Both options are implemented and in uvs.


I've downloaded the 701-beta and seems OK.
In this release is it possible enable/disable the paste?
... and what about the method that performs a past without overcome the last row? (I was unable to find such a method)

Thanks a lot,
Luigi
Re: GridCtrl: how to disable the past at a given row [message #7721 is a reply to message #7719] Wed, 17 January 2007 08:13 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

forlano wrote on Tue, 16 January 2007 18:51

unodgs wrote on Fri, 12 January 2007 00:23

Ok. Both options are implemented and in uvs.


I've downloaded the 701-beta and seems OK.
In this release is it possible enable/disable the paste?
... and what about the method that performs a past without overcome the last row? (I was unable to find such a method)

Thanks a lot,
Luigi


Disable:
grid.Clipboard(false)

Paste without overcome:
grid.PasteFixed()

Disabling paste as new rows/inserted rows

grid.ExtraPaste(false)

PS: This should be mentioned in changelog.txt (always see there Wink )
PS2: I'm not sure about name PasteFixed if it is correct, if you have better idea please tell me.
Re: GridCtrl: how to disable the past at a given row [message #7723 is a reply to message #7721] Wed, 17 January 2007 09:18 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
unodgs wrote on Wed, 17 January 2007 08:13


PS: This should be mentioned in changelog.txt (always see there Wink )


ooops... I missed it although I look at. In the top I saw 0.95 and then stop to watch further Smile
Quote:


PS2: I'm not sure about name PasteFixed if it is correct, if you have better idea please tell me.


It's OK.
Thanks

Luigi
Previous Topic: Callback and moving cursor by arrows key
Next Topic: Escaping cursor in gridctrl
Goto Forum:
  


Current Time: Mon Apr 29 03:44:37 CEST 2024

Total time taken to generate the page: 0.02883 seconds