Good shot Nick! Alpha is indeed virtual, but when overriding it the setter 
is never called.
Will have a play over the weekend see if I can figure something out.

Is it beer o'clock yet??

Cheers
Hairy

----------------------------------------
 myCal PRO is now available on the Apple AppStore and can be downloaded 
from (iTunes link) here.
Or try out the free (ad supported) version (iTunes link) here. Click a 
banner ad or two! 

----------------------------------------
 From: "Nic Wise" <[email protected]>
Sent: 13 July 2012 12:49
To: "HairyJohn" <[email protected]>
Subject: Re: [MonoTouch] A little help converting a ObjC example

At a guess:

Make public class HJUIImageView : UIImageView { ... more stuff here,
new constructors etc)

Check if Alpha is virtual. if it is, override:

public override float Alpha
{
get { ...} //port the obj-c code they used.
set {....} (just call base.Alpha = value?)
}

Otherwise.... not sure. :)

The use HJUIImageView rather than using UIImageView

2. ????

3. PROFIT! (or, have a beer, it's friday!)

:)

On Fri, Jul 13, 2012 at 12:32 PM, HairyJohn <[email protected]> wrote:
> Hi guys,
> Im trying to display a scroll view with a permanently visible vertical
> scrollbar. I found this example:
> 
http://www.developers-life.com/scrollview-with-scrolls-indicators-which-are-
shown-all-the-time.html
>
> but I *think* its trying to override setAlpha, which isn't visible in
> MonoTouch.
>
> I know its against the guidelines but in the situation Im in it makes 
sense.
> At least until I see it in practice. :)
>
> Thanks
> Hairy
>
> --
> View this message in context: 
http://monotouch.2284126.n4.nabble.com/A-little-help-converting-a-ObjC-examp
le-tp4655954.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch

-- 
Nic Wise
t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. 
http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! 
http://goo.gl/Icp2


_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to