You have to replace the matrix scroll_cb callback by your own and call
the previous one from inside it. Not simple.
Best,
Scuri
On Tue, Dec 16, 2014 at 4:36 PM, Milind Gupta <[email protected]>
wrote:
>
> I see we can place the matrix in a cbox and then place a button on top of
> it, but since the matrix does not provide access to the canvas control I am
> not able to figure out how to sync the control to the matrix scroll bars.
> Is there any way to sync that?
>
> Thanks,
> Milind
>
> On Mon, Dec 15, 2014 at 10:26 AM, Antonio Scuri <[email protected]>
> wrote:
>>
>> Yes and No...
>>
>> The IupList and the IupText used internally are simply positioned over
>> the IupMatrix only when necessary. It is the same element used for any cell
>> that it is edited. Since the IupMatrix is not a container it is used
>> internal functions to do that.
>>
>> Instead of inserting an IupButton, I recommend using the IupMatrix
>> attributes and callbacks to simulate the effect of a cell that behaves like
>> a button.
>>
>> Best,
>> Scuri
>>
>>
>> On Sun, Dec 14, 2014 at 3:47 PM, Milind Gupta <[email protected]>
>> wrote:
>>
>>> Hi,
>>> Is there a way to display a button on some cell over iupmatrix or
>>> other controls? How is the dropbox placed on the cell which creates a
>>> dropdown option?
>>>
>>> Thanks,
>>> Milind
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>> Get technology previously reserved for billion-dollar corporations, FREE
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Iup-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Iup-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
>>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users