[Mono-winforms-list] GetColumn problem

PFJ pjohnson1 at uclan.ac.uk
Thu Sep 17 05:08:24 EDT 2009


Hi,


Jonathan Pobst wrote:
> 
> Paul wrote:
>> Sorry for this being a dumb question, but can you explain this? I'm
>> doing things I've never done before, so you need to be gentle with
>> me ;-)
> 
> Maybe we need to step back a little bit, what are you trying to do?
> 

I have created a TLP in the designer which contains 6 rows and 1 column. The
column contains the days of the week and a blank at the top.

The user enters the number of columns they want (1 to 10) and the program
creates them using the code I've posted. On Row0, the labels saying the
lesson number are added in. There are no other labels in anywhere else.

What I'm trying to do is when the TLP is clicked, that the program finds the
row and column for use elsewhere in the application.

My current efforts *always* return -1 when using GetColumn or
GetPositionFromControl. I'm assuming it's giving -1 as there is nothing
inside of the layout blocks other than the labels in row 0 and column 0.

I've filed a bug as there is a winforms problem currently (the border style
is not working correctly) and have attached the full source to that bug (BZ
539606) - this may help...

TTFN

Paul

-- 
View this message in context: http://www.nabble.com/GetColumn-problem-tp25472747p25487704.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list