PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WM 19] Display value of Edit Control inside a Looper Control
[WM 19] Display value of Edit Control inside a Looper Control
Iniciado por guest, 24,ene. 2015 08:03 - 4 respuestas
Publicado el 24,enero 2015 - 08:03
Hi All,

I want to know that how can i change the content value of an edit contol inside a looper control.

Thanks
Publicado el 24,enero 2015 - 10:02
You have to create attributes in the looper and "bind" each attribute to a property of the edit-control
You can create for example these attributes
att_editvalue
att_editcolor
And do this to populate the looper
LooperAddLine(yourlooper,"Hello",iBlack)
LooperAddLine(yourlooper,"Watch out",iLigthRed)
Publicado el 24,enero 2015 - 10:56
Hi Nemish,

Every row in a table has a 'reference' toward the header and the footer.

nTmpBreakHeader=TableBreakSubscript(BRK_HeaderDoc,nTmpRow)


Once you have that you can adress the EDT_Control in that particular header with

TABLE_T[nTmpBreakSubscript].EDT_YourControlName = "Whatever you like"


With kind regards,
Rudolf van Roosmalen
Publicado el 26,enero 2015 - 09:18
Oops, sorry, I was mistaken and thought (how did I manage to do that?) it was about an edit-control in a header of a table.
Rudolf van Roosmalen
Publicado el 28,enero 2015 - 07:45
Hi Arie,

Thanks for the reply. Kindly suggest me that what if want to fetch value from data file and its primary key of record is already existing in edit control.

Regards