SetGadgetItemRow
Posted: Wed Mar 03, 2010 8:54 am
As described here: http://www.purebasic.fr/english/viewtop ... 2&p=317655
I'd like to suggest a SetGadgetItemRowText(), much similar to SetGadgetItemText()
With this, changing a whole line inside e.g a ListIconGadget would be a lot easier, as you may use the Chr(10)-feature to divide the cells.
The same could apply to GetGadgetItemTextRow like here:
This would give back the whole Row with Chr(10) as divider or the optional divider Char.
As a result, you don't have to loop through all cells when reading from or writing to a complete row.
I'd like to suggest a SetGadgetItemRowText(), much similar to SetGadgetItemText()
Code: Select all
SetGadgetItemText(#Gadget, Item, Text$ [, Column])
Code: Select all
SetGadgetItemTextRow(#Gadget, Item, Text$)
The same could apply to GetGadgetItemTextRow like here:
Code: Select all
Result = GetGadgetItemTextRow(#Gadget, Item [, DividerChar$])
As a result, you don't have to loop through all cells when reading from or writing to a complete row.