Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Ctrl * GetCallbackCtrl()
Re: Ctrl * GetCallbackCtrl() [message #6120 is a reply to message #6119] |
Tue, 31 October 2006 13:46   |
|
Quote: | How so? You do not know on which line you have placed the Button?
Anyway, instead of int line, you can use Ctrl *ctrl and THISBACK1(Action, &btn).
|
Yes, you're right, line is constant for ctrl..
Second solution is even better, I already thought about that.
Quote: | Of course. That is what I expect from the ArrayCtrl (moving focus moves cursor).
Actually, what I wanted to say is that perhaps not even WhenAction is enough here.... but OTOH all depends on what you really expect.
|
The problem is that in my case cursor should always change line if click is in another place. It is connected with callbacks
WhenUpdateRow, WhenUpdateCell mostly used to updating a database. If I click option ctrl in cell the value of cell is changed - WhenUpdateCell should be called and cursor should be moved to this row - to update provious row and to be prepare to call WhenUpdateRow at the new row.
Moving cursor for all controls is more logical to me. Wide used developer express grid behave the same.
|
|
|
 |
|
Ctrl * GetCallbackCtrl()
By: unodgs on Tue, 31 October 2006 08:56
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: mirek on Tue, 31 October 2006 11:34
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: unodgs on Tue, 31 October 2006 13:08
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: mirek on Tue, 31 October 2006 13:20
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: unodgs on Tue, 31 October 2006 13:46
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: unodgs on Tue, 31 October 2006 14:01
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: unodgs on Thu, 02 November 2006 09:36
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: unodgs on Thu, 02 November 2006 09:41
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: mirek on Thu, 02 November 2006 14:39
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: unodgs on Thu, 02 November 2006 14:51
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: mirek on Thu, 02 November 2006 14:55
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: unodgs on Thu, 02 November 2006 15:11
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: mirek on Thu, 02 November 2006 15:15
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: unodgs on Thu, 02 November 2006 15:52
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: unodgs on Thu, 02 November 2006 22:48
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: mirek on Thu, 02 November 2006 22:54
|
 |
|
Re: Ctrl * GetCallbackCtrl()
By: unodgs on Thu, 02 November 2006 23:08
|
Goto Forum:
Current Time: Sat Aug 16 22:43:25 CEST 2025
Total time taken to generate the page: 0.04123 seconds
|