How to catch an error of this type? "ERROR in gtk-interface: TGtkListStringList.Get Out…
Show quoted text 17 lines
Hello,
How to catch an error of this type?
"ERROR in gtk-interface: TGtkListStringList.Get Out of bounds."
Using:
Try
...
Except
On E???Error do // <----- (OjO)
...
end;
Without using:
if xxx.Itemindex < 0 Or...
You can't. It does not raise a specific exception. (FYI: it's a div by zero) Maybe we can add an EIndexOutOfBounds to the LCL, since this is interface independent.
The bad news: "Warning: TgtkObject.GetValue not implemented for TTOGGLEBOX"
implemented.
Mattias
