Jump to content

ShaunR

Members
  • Posts

    4,942
  • Joined

  • Days Won

    308

Posts posted by ShaunR

  1. That's whacky ShaunR!

    What type of image is that? Is it an animated gif? I can see that it works but when I replace your image with my animated gif it doesn't work. So all I can think of is your animated gif is a different format.

    Yup. An animated gif. That's about all that windows tells me. I don't know what type or version. Yours doesn't seem to work on my machine either. Hmmmm. Now I'm really interested biggrin.gif

  2. The problem is we are pretty much stuck with the controls we are given. As we don't have access to the control canvas and the "OnRedraw" event, we cannot change the control (with the exception of a few cosmetics). Everything we do to get around it is really a kludge and not for the faint of heart.

    You are probably better off finding an Active X or .NET control tat supports images and using that.

  3. (I would still like more options tho - status bar, status text etc...)

    Thats because I can't get this to work. Ok, so I must be doing something completely stupid?

    If I set Visible = FALSE first then Defer = TRUE the gif does not show until I set Defer = FALSE

    If I set Defer = TRUE first then Visible = FALSE if only updates when I resize the window.

    <object id="scPlayer" class="embeddedObject" width="841" height="502" type="application/x-shockwave-flash" data="http://content.screencast.com/users/jgcode/folders/LabVIEW/media/2b81030a-c431-43c2-b553-967c8e470db3/jingswfplayer.swf"> <param name="movie" value="http://content.screencast.com/users/jgcode/folders/LabVIEW/media/2b81030a-c431-43c2-b553-967c8e470db3/jingswfplayer.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#FFFFFF"> <param name="flashVars" value="thumb=http://content.screencast.com/users/jgcode/folders/LabVIEW/media/2b81030a-c431-43c2-b553-967c8e470db3/FirstFrame.jpg&containerwidth=841&containerheight=502&content=http://content.screencast.com/users/jgcode/folders/LabVIEW/media/2b81030a-c431-43c2-b553-967c8e470db3/Defer%20Panel%20Updates.swf&blurover=false"> <param name="allowFullScreen" value="true"> <param name="scale" value="showall"> <param name="allowScriptAccess" value="always"> <param name="base" value="http://content.screencast.com/users/jgcode/folders/LabVIEW/media/2b81030a-c431-43c2-b553-967c8e470db3/"> </object>

    Can you or Francois post code?

    Try this.

  4. Ok, (as I posted above) I assumed differently, a quick test confirms that I was wrong, so that is good.

    I can do as per your example but I would still like to see something (i.e. throbber, status bar etc...) moving on the panel though.

    As a test I loaded the entire C:\ directory into a Tree it was taking minutes.... (I didn't wait for it to finish)

    So in this case, I would really like my user to see something moving during this time.

    I would very much like to keep it simple, but I workarounds aren't i.e. sticking the Tree in a subpanel OR having a VI overlayed (what if the user wants to be move the screen? O will have to synch both VIs) are currenly my only options? Unless there is a method for defer Tree updates I haven't seen? If not this would make a good Idea on the Idea Exchange IMHO.

    Doesn't get much simpler than an animated gif that is visible or not :P

  5. Also saw a slick demo at the last NI week that had a VI grey out when it displayed a modal dialog box. Pretty sure it was done with a simple image overlay using the alpha channel. Not sure if it was as simple as toggling visibility, or if it involved moving the image from an off screen location, but it looked really slick.

    I quite like making the vi a little bit transparent (say 5-10%) it really brings the focus to the dialogue and is dead easy.

    But I'm +1 on disable and greying out controls.

  6. I've come across various variations of this over time

    How To Shoot Yourself In The Foot In Any Programming Language

    What about Labview?

    We need an entry in this prestigious list. Suggestions?

    This is my favourite biggrin.gif

    C++

    You accidentally create a dozen clones of yourself and shoot them all in the foot. Emergency medical assistance is impossible since you can't tell which are bitwise copies and which are just pointing at others and saying, "That's me, over there."

  7. Nope you are right (only 1/2 a rep point then wink.gif) When I launched your example (dbl clicked) it switched to 2010 instead of my usual 2009. Making sure 2009 was open when I dbl clicked made sure I was using 2009, and it worked ok without moding.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.