====== LIMIT property ====== ==== Applies To ==== Combo box, edit table, list box, edit line, edit box. ==== Description ==== Returns count of items in a control. For an edit table control, the LIMIT property returns a count of columns, with a count of rows @FM-delimited from that column value. For example, an edit table that has three columns with two rows in each column will return 3:@FM:2. You can use Set_Property to limit the length of the text that the user can enter into an edit control (edit line or edit box). ==== Usage ==== //itemcount// = **Get_Property**(//objectname//, "**LIMIT**") //itemcount =// **Set_Property**(//objectname//, "**LIMIT**", //limit//) ==== Returns ==== Values returned by Get_Property: Value ==== Description ==== //itemcount//Number of items in the specified control. When control is an edit table, <1> is the number of columns; <2> is the number of rows. //Limit// Limit size to the length of the text the user can enter in the control. If this param is 0, the text length limit is set to 65,535 bytes. ===== ===== ** **