On 5 Jan 2006, at 21:53, Charles Yeomans wrote:
On Jan 5, 2006, at 4:43 PM, Lee Unsworth wrote:
I want a timer to increase a slider and the slider changes the
transparency of a window which causes it to fade in. The code i
have for the timer is
slider3.value = slider3.value + 1
which moves the slider ok
but i can't get the right code for the carbon declares libary to
make the window transparent by using the slider. So far i have
#If TargetMacOS
Dim OSError as Integer
Dim inAlpha As Single
Declare Function SetWindowAlpha Lib "CarbonLib" (inWindow as
WindowPtr, inAlpha as Single) as Integer
inAlpha = (sTransparency.Value/100)
OSError = SetWindowAlpha(Self, inAlpha)
#EndIf]
This says that the method or property does not exist at the point
(strannsparency.value/100 part
What is sTransparency? The declare is correct.
--------------
Charles Yeomans
im running rb 5.5 is that anything to do with it?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>