kverko Messages: 8 Registered: December 2005 Location: Porva, Hungary
Promising Member
Well, to be preciser there is a NoInsertAppend method what is said switch off (with false) the default InsertAppend mechanism.
This is the whole object (constructor) I wish to use auto-appending in:
Inswindow::Inswindow(){
CtrlLayout(*this, t_("Add new words"));
ilist.AddColumn(t_("hun")).Edit(es1);
ilist.AddColumn(t_("fin")).Edit(es2);
swapper.WhenPush = THISBACK(Swap);
rdy.WhenPush = THISBACK(Cm);
cancel.WhenPush = Breaker(IDOK);
hufi = 1;
ilist.AppendLine(true);
ilist.DoAppend();
ilist.ShowAppendLine();
}
Of course ilist is an ArrayCtrl. And with the last 3 rows I can get in the new window a row with row cursor active (highlighted). I type the two values in, then hit <Enter> first time - then the highlight disappears, but not any new auto-appended row. If I hit <Enter> once again, then got a newer row.
I suspect non-adequate use rather than a bug, if it is so, you will spot right now.