# ATTR_NEXT_CTRL

Type: | Control attribute
Description: | The ID of the next control on the panel. The panel attribute ATTR_PANEL_FIRST_CTRL returns the lowest control ID that exists in the panel. When you call GetCtrlAttribute on the first control ID, ATTR_NEXT_CTRL returns the next higher control ID in the panel. On the last control, ATTR_NEXT_CTRL returns zero. Use the panel attribute ATTR_NUM_CTRLS to get the total number of controls in a panel.
Control Types: | ActiveX controls, binary switches, canvases, color numerics, command buttons, decorations, digital graphs, graphs, LEDs, list boxes, numerics, picture buttons, picture rings, pictures, radio buttons, rings, numeric slides, ring slides, splitters, strings, strip charts, tab controls, tables, text boxes, text buttons, text messages, timers, toggle buttons, trees.
Restrictions: | Not settable.
Data Type: | integer