> How do I highlight the row with a callback?
Use the click_cb callback:
int function(Ihandle *ih, int lin, int col, char *status);
And setting the MARKL:C attribute, using MARK*:C (a full column) or
MARKL:* (a full line).
Best,
Scuri
Em qua., 15 de jul. de 2020 às 14:44, Antonio Scuri
> Can you point me to a C example showing how to assign titles?
"A matrix might have titles for lines and columns. Titles are always non
scrollable, non editable and presented with a different default background
color. A matrix will have a line of titles if an attribute of the "L:0"
type is
Please, whenever possible start a new thread if the subject is different.
Creation-only is relative to the creation on the native system. When the
element is "mapped". If you do not call IupMap directly, then it will be
called before the element is displayed inside the dialog on IupShow or
Antonio,
I'm trying to get the DASHED=YES attribute working with the
IupProgressControl. It says this is a creation attribute. I tried using
IupCreatv and passing the attribute as a null terminate string after the
classname. The docs mention a 'list' of paramus null limited.
Can you further
I figured it out and it's working like I wanted. I think the docs for
the L:C is reversed.
On 2020-07-13 12:04, supp...@scriptbasic.org wrote:
Antonio,
Can you point me to a C example showing how to assign titles?
The matrix.c example has no titles.
Thanks!
John
On 2020-07-13 09:25,
Antonio,
Can you point me to a C example showing how to assign titles?
The matrix.c example has no titles.
Thanks!
John
On 2020-07-13 09:25, supp...@scriptbasic.org wrote:
There is no title just a grid of cells. How would I select (highlight)
let's say row 3 if I click on any cell in that
There is no title just a grid of cells. How would I select (highlight)
let's say row 3 if I click on any cell in that row? That makes sense for
columns but clicking on a title for rows doesn't.
How do I highlight the row with a callback?
On 2020-07-13 06:07, Antonio Scuri wrote:
To select a
To select a complete column or a line you just click on the title. If you
want the col or Lin to be selected when clicked on a cell you should use a
callback.
Best,
Scuri
Em dom, 12 de jul de 2020 22:25, escreveu:
> I'm using mark multiple. Should this be disabled for COL / LIN mode?
>
> On
I'm using mark multiple. Should this be disabled for COL / LIN mode?
On 2020-07-12 17:06, John Spikowski wrote:
Hi Antonio,
I can't seem to get anything other than "CELL" to work with IupMatrix
and IupSetAttribute(mat, "MARKMODE","CELL"). If I try COL / LIN nothing
is highlighted when I click
Hi Antonio,
I can't seem to get anything other than "CELL" to work with IupMatrix
and IupSetAttribute(mat, "MARKMODE","CELL"). If I try COL / LIN nothing
is highlighted when I click on a cell.
Running IUP 3.29 Windows 10 32 bit.
John
___
Iup-users
10 matches
Mail list logo