PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD 19] Table rows: user resizes one -> resize all others
[WD 19] Table rows: user resizes one -> resize all others
Iniciado por guest, 04,dic. 2014 13:38 - 2 respuestas
Publicado el 04,diciembre 2014 - 13:38
Hi,

when a user resizes a table row, i want to resize all other rows to this size too.
Is there an event i can use?

Greetings
Markus
Publicado el 04,diciembre 2014 - 14:12
Hi Markus

there probably is, but you will have to find it yourself:
use an event function for all events on the tablecontrol, and trace them...
Resize the column, and you'll know

Best regards
Publicado el 04,diciembre 2014 - 14:39
Hi Markus,

We used such an event to align automatically a button control right under a specific column in a table. It had to react to horizontal scrolls and column resize. Code, partly translated:

Event(AdjustTable, TABLE_details..NomComplet, 0x114) // WM_HSCROLL = 0x114
Event(AdjustTable, TABLE_details..NomComplet, 0x6CF) // Warning: 0x6CF is an internal message of WinDev : PC Soft does not guaranty that it will exist in future versions

If my memory is right there is a new feature in v20 that is handling column resizes now.

Best regards,
Alexandre Leclerc