>>Mark,
>>You heard right :) Create a container with backstyle transparent and borderwidth = 0. In it place a checkbox with no caption and backstyle transparent. Add container to grid (say column1) and set currentcontrol to container (say container1) :
>>
>>with this.Column1
>> .Container1.Check1.Controlsource = .Controlsource
>>endwith
>>
>>*Container.init
>>with this.Check1
>> .Left = (this.Parent.Width - .Width)/2
>>endwith
If you want it to resize as column resizes, in column resize call container1.init.
>>Cetin
>
>Thanks for posting this, Cetin. I was facing the same problem before I wandered onto your solution.
James,
You're welcome. For a moment I thought you needed it just now and remembered how lucky I'm :) Believe it or not following story is real (and unfortunately victim is me:)
In Turkey there is kind of lottery where not only one number but many earn prizes. There is 6 digits and one ticket gets the big prize. Others have chance like :
If your last 5 digits matches some numbers
If your last 4 digits matches some numbers
...
If your last 1 digit matches some numbers (here only 2 numbers and gets ticket cost)
So say if you buy 10 tickets where last digit is from 0 to 9 you guarantee to get back 2*ticket cost :)
Once I got 8 tickets (financially couldn't buy 10) leaving only 2 digits in 0-9 sequence and guess what :) I earned nothing (I think they teach us probability wrong:)
Funny I should be the only one that never won anything from that lottery in his life.
Cetin