Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Left most column of second part of a split grid
Message
De
02/03/2007 11:54:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01200274
Message ID:
01200333
Vues:
26
This message has been marked as the solution to the initial question of the thread.
>>>How can you activate splitter? I just created a simple form with a grid and a command button, but I do not see how can I make splitter to appear.
>>
>>By dragging the lower left black rectangle to the right. The SplitBar property of the grid must be set to TRUE (=default)
>
>Thanks. Yes, it seems to work <g>

Of course it does !

I've added some comments
local SecondLeftColumnNumber

with m.this.parent.Grid

	do case
	case empty(.Partition)  && The grid is not split into panels
		SecondLeftColumnNumber = 0
		
	case .Panel = 1  && the right panel is active
		SecondLeftColumnNumber = .LeftColumn
	
	otherwise && left panel is active
		.Panel = 1  && activate the right panel
		SecondLeftColumnNumber = .LeftColumn
		.Panel = 0  && and switch back to the left
	
	endcase

endwith

? SecondLeftColumnNumber 
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform