Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid - row and column information about active cell
Message
De
30/10/2003 06:16:02
 
 
À
30/10/2003 05:48:24
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00843489
Message ID:
00844440
Vues:
21
>Thanks Gregory...

You're welcome.
LPARAMETERS ncolindex

=DoDefault(ncolindex)

local ac
ac = thisform.GetACtiveControl()

do case
case isnull(ac)

otherwise
	acti screen
	?sys(1272, ac)
	local x, y, w, h
	
	y = objtoclient(ac, 1)
	x = objtoclient(ac, 2)
	w = ac.Width
	h = ac.Height
		
	do case
	case type('thisform.ShapeObj') = T_UNDEFINED
		=thisform.AddObject('ShapeObj', 'Shape')
		thisform.ShapeObj.BackColor = rgb(255,0,0)
		thisform.ShapeObj.Visible = TRUE
	
	endcase
	thisform.ShapeObj.Left = x
	thisform.ShapeObj.Top = y
	thisform.ShapeObj.Width = w
	thisform.ShapeObj.height = h
	
endcase
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform