LB- All constants

From Vectorlab
Jump to: navigation, search


All constants that you need for List Browsers. Better store them in a separate ".px" file and load it as include in the constant block whenever you use LBs. By Orso B. Schmid

	{ useful LB constants }
	
	{ control type }
	kLBctrNone			= 1; { Static }
	kLBctrRadio			= 2;
	kLBctrMultiState	= 3;
	kLBctrSingleInstance = 4;
	kLBctrNoClick		= 5; { Static icon }
	kLBctrNumber		= 6;
	kLBctrMultipleImages = 7;
	
	{ display type }
	{kLBdisplTypeText	= 0;} { wrong: what is defined in the VS documentation }
	{ this is the default value upon column creation, but is not usable to SET }
	
	kLBdispImageOnly	= 1;
	kLBdispTextOnly		= 2;
	kLBdispImageAndText	= 3;
	
	{ column owner }
	kLBNotOwnerDrawn	= 0; { none }
	kLBSolidRect		= 1;
	kLBDualSolidRect	= 2;
	kLBPatRect	= 3;
	kLBDualPatRect	= 4;
	kLBGradientOrImage	= 5;
	kLBBlankOwnerDrawn	= 6;
	kLBTxtOwnerDrawn	= 7; { text owner }
	kLBDashedLine	= 8;
	
	{ list browser events }
	kLBcolSel		= -10;	{ user clicked on column }
	kLBrowSel		= -4;	{ user clicked on row }
	kLBrowColDataSel = -2;	{ user clicked on row with column data items }