On Fri, 18 Oct 2013, samps okholm wrote:
Why is radiogroup1.ItemIndex:=radiogroup1.ItemIndex+1; working but inc(radiogroup1.itemindex); //unit1.pas(36,71) Error: Can't take the address of constant expressions is not?
Because itemindex is a property, not a variable. Inc() needs a variable. Michael.
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
