CompuServe Thread

#Playing FLC in Windows

4 messages in this thread
#125414From: Dror ZoharSep 24, 1994 11:39 AM
brian, i solved my problem, the visible propetry had to be set at runtime , for some reason if set to false at design time it reverts to true when the program starts. -Dror
#125455From: Brian Rudolph [Adesk]Sep 24, 1994 8:25 PM
Hmmmm. See, my other answer, which I wrote (and tested and confirmed) before seeing this one. Can these two statements be correct for the same property of the same control? -Brian
#125506From: Dror ZoharSep 25, 1994 2:18 PM
>>Simple misunderstanding of what the Visible property is controlling. This control >>makes the _animation_ visible or not. Not the control itself. Try this test. I double checked & here's how it goes: there are 2 related properties: 1)the HideAnimation property toggles the animation visibility on/off while leaving the control visible on screen 2)the Visible property makes the whole control appear/disappear however, Visible has a pecularity, suppose we set up a form as you suggested with a running animation and a button that does something like: Command1_click Animation1.visible = not Animation1.visible End Sub now if I Set Visible = False at design time and run the program, a break in Command_Click will show that Visible has mysteriously changed to true. but if you check in form1_load the value is still false, which means that it changes somewhere in between.( the Form_load and the command_Click) and now the strangest thing, if you add this line to form_load : — Animation1.visible = false it remains false when you get to Command1_Click, even though theoretically the "Animation1.visible=false" command did nothing!!! my guess is that the value yielded by QuickWatch is a neglected copy maintained by VB , while the actual value is kept in the DLL and is changed by the property assignment. what a fascinating world we live in… Dror.
#125627From: Brian Rudolph [Adesk]Sep 26, 1994 11:00 AM
Well, Thanks for double checking my facts. I'm glad we got it straight. -Brian