*create a test.prg file DEFINE CLASS txtBox as TextBox LOCAL tb as textbox && activates IS. Remove this when done tb.BackStyle = 0 tb.BorderStyle = 1 tb.Comment = 'custom textbox' tb.FontBold = .T. procedure Init && beyond this point TB. no longer triggers IS.Once you get what you need out of IS, just cleanup your code to remove what is no longer needed [e.g., tb. and LOCAL tb as textbox].