added some samples and fix TbActiveForm error