PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → Looper hightlight
Looper hightlight
Débuté par Joao Cruz, 17 oct. 2008 01:30 - 1 réponse
Posté le 17 octobre 2008 - 01:30
Dear All,

Has someone ever tried to hightlight a looper "current" line ?

Can it be done ? How ?

My aim would be to click on a specific looper row and know where I am.

Any ideias (or even better examples) ?

Thank you in advance.

JC
Posté le 17 décembre 2008 - 00:00
I haven't tried changing color with just a click on any part of the row, but here is how with a check box in the looper. Place a check box control inside the looper to select the row - no caption, no option-.
on Whenever Modified process of the check box, do the following. And make sure the process is in AJAX mode to prevent reload.

You might have to use Javascript instead if you wanna do it with a click anywere. Brushcolor attribute is not accessible in browser code. Or put all controls in a cell, and try to manipulate the cell bgcolor with executeprocess.

IF AttributeCHKBOX[Looper]..Value THEN
Looper[Looper]..BrushColor = LightRed
ELSE
Looper[Looper]..BrushColor = White
END


>>>>>

Dear All,

Has someone ever tried to hightlight a looper "current" line ?

Can it be done ? How ?

My aim would be to click on a specific looper row and know where I am.

Any ideias (or even better examples) ?

Thank you in advance.

JC