Hi Antonio,
I'm in CB mode, so its not a regular matrix
Suppose I'm bound to source table of 1 record. nlines=1.
No matter what happens to the size of the dialog, only the 1 record is
displayed. Resize doesn't make any sense.
Suppose I'm bound to a table of 50,000 records and the matrix and Dialog
just fit together nicely with nlines=10.
So the user drags the Dialog bottom border down, exposing space at the
bottom. I now need to add 3 lines to the matrix. nLines=13
Again, the user drags the Dialog right border across, exposing space at
the right. But this time I don't do anything. There are no columns to add.
At the moment I'm packing it in a vbox with iup.fill{}. If I could track
the change in the iup.fill.size, then I can add the right number of lines.
It just seems messy...
Regards,
John
On 3/05/2016 4:20 a.m., Antonio Scuri wrote:
> So, you don't want to change the lines height, just the number of
> lines right?
>
> The regular matrix behavior already does that. When the dialog is
> resized, the matrix is expanded and more lines are shown.
>
> So, or there is something else you are setting at the matrix or I
> didn't understand your problem.
>
> Best,
> Scuri
>
>
> On Sun, May 1, 2016 at 6:30 PM, John Huttley <[email protected]
> <mailto:[email protected]>> wrote:
>
>
> Hi,
> I have a matrix (call back mode) in a dialog.
>
> it would be nice to get the maximum rows displaying based on the size of
> the dialog.
>
> There's the usual vboxes and other layout controls.
>
> At the moment I have to hard code the matrix nlines for worse case. If I
> expand the dialog, I just get more white space.
>
> Whats the recommended way of doing this?
>
> It would be wonderful if I could monitor the iup.fill() in the vbox. if
> its big, add more lines to the matrix and the reverse.
>
> Regards,
>
> John
>
>
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users