Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Left most column of second part of a split grid
Message
From
02/03/2007 11:54:57
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01200274
Message ID:
01200333
Views:
25
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
Previous
Reply
Map
View

Click here to load this message in the networking platform