Windows Display Problems

Dave dave at looktowindward.com
Thu Nov 15 13:29:35 EST 2007


Hi,

Thanks for the info!

If you just did this, it would be the same:

send "HandleProgressUpdate 0,0,100" to scrollbar "Progress" of card 1  
of stack "Progress"

send "HandleProgressSetCaption 0,0," & AddQuotes("Hello World") to  
field "Caption" of card 1 of stack "Progress"

Wow! I didn't know you could set stackFiles manually, cool!

All the best
Dave


On 15 Nov 2007, at 18:20, Eric Chatonet wrote:

> Hi Dave,
>
> Sorry, but information you provide is not precise enough to be able  
> to help you :-(
> About the "Stack Files" pane in the Stack Property Inspector, just  
> see 'stackFiles' property in the dictionary :-)
>
> Best regards from Paris,
> Eric Chatonet.
>
> Le 15 nov. 07 à 19:03, Dave a écrit :
>
>> Hi,
>>
>> The stuff I posted was just pseudo code, the real code is as shown  
>> below. The Handlers are in the scripts of the objects, the  
>> Progress Bar Itself and a field.
>>
>> I call a function which does the sends, this message has an array  
>> that matches the MessageID and the theMessageKind and sends it to  
>> the correct control. All this is working, except on windows it  
>> doesn't update correctly. Neither the field or the progress bar  
>> gets changed.
>>
>> All the Best
>> Dave
>>
>>
>> On 15 Nov 2007, at 17:39, Eric Chatonet wrote:
>>>>
>>>> The code is here, this in in the Progress Bar Script:
>>>>
>>>> ---------------------------------------------------------------
>>>> --
>>>> --  HandleProgressUpdate
>>>> --
>>>> ---------------------------------------------------------------
>>>> on HandleProgressUpdate theMessageID,theMessageKind,theMessageData
>>>>   local myMessageData
>>>>
>>>>   put ISMDecodeMessage(theMessageData,"String,") into myMessageData
>>>>   set the thumbPosition of me to (0 + myMessageData)
>>>> end HandleProgressUpdate
>>>>
>>>> This works fine on a Mac.
>>>>
>>>>
>>>>
>>>> The code is here, this in in the Caption Field Script:
>>>>
>>>> ---------------------------------------------------------------
>>>> --
>>>> --  HandleProgressSetCaption
>>>> --
>>>> ---------------------------------------------------------------
>>>> on HandleProgressSetCaption  
>>>> theMessageID,theMessageKind,theMessageData
>>>>   local myMessageData
>>>>
>>>>   put ISMDecodeMessage(theMessageData,"String,") into myMessageData
>>>>   set the text of me to myMessageData
>>>> end HandleProgressSetCaption
>



More information about the Use-livecode mailing list