Can you programmat​ically change a picture control frame/bord​er

In a platform neutral manner can I programmatically change a picture control frame/border
Solved!
Go to Solution.

You can make it look that way using many differnt methods.
The simplest is to make the border transparent and put a boolean behind the picture. Size the boolean so it looks like it is the border of the picture. Change the color of the boolean and you are on you way.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • Can you take a snapshot or picture from IMovies?

    Can you take a snapshot or picture from IMOVIES? On my PC I simply paused the video and hit something that said snapshot and it was done.
    I am struggling a little bit with IMOVIES as I have never had APPLE before. Like it, but am new to it.

    I think you may be confused as to your terminology.
    iMovie is an app that edits video.
    I am guessing you are talking about just playing a video in Quicktime?
    To do a screen grab on a Mac press Command+Shift+3
    This will save the image to the desktop.
    BTW you are posting in the iMovie iOS forum.
    This forum is for editing video on an iPad or iPhone.
    I will get your post moved to a better forum.

  • Can you highlight or change font in notes?

    Can you highlight or change font in notes?

    Settings>Notes>Font. You can choose one of three fonts for Notes but you cannot use more than one font at a time. When you change the font - it will change all of the text that you type to that font.
    You cannot highlight text in Notes.

  • HT202916 what is the type A adapter? can you help to send some picture and information about it

    hi,
    my name is Xue Wenzong, the EFB manager from Xiamen Airlines from China. we find that APPLE reliese released approval for their consumer product chargers to be plugged into a 115 VAC 400 hertz receptacle, you can see this link"https://support.apple.com/en-us/HT202916", my question is what is the type A adapter? can you help to send some picture and information about it?
    thanks!
    <Email Edited by Host>

    See here: http://www.iec.ch/worldplugs/typeA.htm

  • Can you reload the default HTTPS certificate for a Border Controller?

    The HTTPS page does not work for the Tandberg Border Controller (Q6.3). HTTP is fine. I believe that the customer uploaded their own certificate which has now “broken” the HTTPS page.
    So the question is – can you reload the default HTTPS certificate for a Border Controller?
    There’s a handy button to do this on the VCS but not on the BC it seems. The only option I can see is for the customer to generate a “working” certificate and upload it, is this the only option?
    Thanks,
    David

    Hi sherylz,
    It is also possible to edit the theme, but it may be wise to make a copy of it:
    *[https://support.mozilla.org/en-US/questions/940165]
    *[https://developer.mozilla.org/en-US/Add-ons/Themes/Background MDN Reference]
    *Add on to make own skin: [https://addons.mozilla.org/en-Us/firefox/addon/bt-canvas/]

  • Can you programmatically change the width of columns in a table control\indicator

    Is it possible to programmatically change the width of columns in a table control\indicator ie to fit to width of the data or in my case the header information.

    Create a property node (or reference) and use the 'Active Cell' property to select which column you want to change and then use the 'Cell size'--> 'Width' property to change the size.
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
    Attachments:
    table.vi ‏33 KB

  • Programmat​ically changing the TCP/IP address of Windows Vista / 7 / 8

    Hi there!
    I'm pretty new to LabVIEW (started 2 months ago) and still have a long way ahead of me, so please forgive me if anything that I ask is too basic.
    I'm trying to change the IP properties of the PC via LabVIEW for some bigger software I'm working on.
    I can easily do it in Windows XP using the System Exec function to call cmd.exe and then use netsh commands, as previously explained for example here:
    https://forums.ni.com/t5/LabVIEW/Programmatically-​changing-the-IP-address-of-Win-XP/m-p/410533/highl​...
    https://forums.ni.com/t5/LabVIEW/Change-IP-number-​and-Subnet-mask-with-LabView/m-p/407536/highlight/​...
    http://forums.ni.com/t5/LabVIEW/How-to-change-the-​TCP-IP-settings-of-the-LAN-connection-from-LV/m-p/​...
    http://forums.ni.com/t5/LabVIEW/Change-the-compute​r-IP-address-in-LabVIEW/m-p/167481?query.id=108803​... ...
    But then, since I want to run my software in Windows 7 (& by extension to any Windows OS), I have a problem: netsh asks for elevated rights.
    So, the next problem is: how do I run cmd.exe (or any other programm?, by extension) as administrator (from LabVIEW)?. Note that I'm using an account with admin rights. But I would prefer not having to disable the User Account Control configuration, and I don't want to force the user to any interaction (clicking in pop-ups, or right-clicking in anything), I want it to be as automatized as possible.
    I did a bit of research and couldn't find anyway to do it, neither any command to run with cmd, so the two similar solutions that came to my mind are very rudimentary and kind of dirty:
    Use DLLs to make LabVIEW press the keys necessary to open cmd running as admin via key shortcuts (using a variation of https://decibel.ni.com/content/docs/DOC-29563 and the key shortcuts from here: http://www.howtogeek.com/howto/windows-vista/run-a​-command-as-administrator-from-the-windows-vista-r​...). Here, I open the Window menu (with LWIN), properly writes "cmd", and then uses CTRL+SHIFT+ENTER ok... but then the User Account Control appears and LabView keeps doing the commands (I want ALT+Y or LEFT & then ENTER)... without affecting to the UAC! If I make LabVIEW wait a bit and manually close the UAC I succesfully have the command prompt... but LabVIEW is still incapable of write the text that I'm giving it to him (the netsh commands). LabVIEW runs the software, but it's like the UAC & the command prompt are running in a higher? level and are not affected by LV. If I do the same over a .txt I succesfuly have the intended text. Any ideas about this?
    Create a link to cmd.exe and change the properties to "Run as administrator", then use System Exec to call the link, expecting to open a command prompt with elevated rights, and then write the netsh commands either with DLLs (that might not work according to my first solution) or using the "standard input" of System Exec? (not sure if this is possible). But then System Exec gives me an error (code 2) when trying to execute the .lnk and so the command prompt does not open. The error code stands for "Error 2 occurred at an unidentified location. Possible reason(s): LabVIEW: Memory is full." Any idea about how to solve this?
    The conclusion is that I'm stuck with two possible solutions none of them working.
    Maybe there's a more simple solution that I didn't think about?
    Solutions to these problems?
    Any different proposals?
    Thanks in advance for any tip or help!
    Note: I titled the thread as Windows Vista, 7 & 8 since I assume all of them asks for admin rights when changing IPs. In case there are other people with the same problem, altough right now I'm only using XP & 7.
    Alejandro Asensio, CLAD

    First question: Why do you have to change OS properties via a custom application? I know such requirements can exist (sigh...) but nevertheless it seems a little bit weird to me ;-)
    OK, now an idea:
    Run cmd.exe via task scheduler. Here is a how to do it: http://maximumpcguides.com/windows-vista/run-a-pro​gram-with-administrative-privileges-without-uac-pr​...

  • How can I programmat​ically detect transition times in a digital waveform

    Hi, I have a digital waveform and at certain times I have transistions and glinches , how can I programmatically detect and record the time stamps of the transitions
    Thanks  

    Let me see if I understand you. You are reading 14 bits in parallel and you want to know how long between transitions of just one of those bits - say bit 11. Is this bit number constant or can the number of the bit in which you are interested change?
    Well, you could XOR the value from each read of the digital bits with the 14 bits you got from the previous read. If the resulting value of bit 11 is true, the state of bit 11 has changed. Use that flag to read/restart an interval timer. Of course the resolution of your measurement will be dependent upon the rate at which you are reading the 14 bit input. If you are only sampling the 14 bits every 500 msec, you obviously won't be able to measure intervals of less than 1/2 sec.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Can make a menubar for a picture control?

    Hello,
    There is such an idea: right click a picture control, it can popup a menu, by choosing the menu item, I can execute a specific task. Is there any way to achieve the design?
    David

    Some example of RunPopupMenu usage can be found here and here
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to pick up the 3d model after change the picture control to the Opengl control?

    Colleagues,
    I have a problem when I use the cvi.I need to draw a 3D model use the opengl in the picture control,and pick up the mode.For example,I transfer the picture control to the Opengl control,then draw a cube and sphere by Opengl。And I want to pick up them。Such as,when mouse click the cube,it will show a MessagbBox("a cube");when mouse click the sphere,it will show a MessagbBox("a sphere");But it doesn't work.
    I'm a chinese student and juse begin to learm the cvi.And my English isn't very good.I don't know whether the problem has been clear.Anyone can help me?

    I haven't used the OpenGL CVI addition for years, but IIRC there is (was?)
    no callback associated to it. Meaning that some actions are defined within
    the OpenGL control, such as rotation/zoom, but that's it.
    Guillaume Dargaud
    http://www.gdargaud.net/

  • Can you use the apple remote to control tv programs?

    Can you use the apple remote control like a tv remote to control tv programs & DVDs on the computer? Everything I've found about the Apple Remote talks about using it for products other than desktops. I watch some regular tv shows on my iMac & would like to be able to use a remote control.
    I have a built-in infrared receiver.
    Thanks!

    You should be able to control DVD playback now with the Apple Remote. You may be able to get a bit of functionality with web sites by using Remote Buddy by using it as a virtual mouse and keyboard:
    http://www.macupdate.com/app/mac/21872/remote-buddy
    but you're not going to get anything close to the sort of functionality you'd get with a remote and a TV.
    Regards.

  • Can you have more then one iphone control the apple tv at the same time?

    Can you have more then one iphone4 as a remote for one apple tv at the same time?

    iCloud, iTunes & Apps Stores can be assigned different AppleID's from the Settings app. I have my phone and my wife's set up this way for the very reasons you are describing. Works well.

  • Can you programmatically change properties of the Detailed Navigation?

    Is there an SAP EP6.0 API call to allow one to programmatically change the width of the Detailed Navigation, or programmatically hide or unhide it?  I realize that this can be preset, but I am interested in dynamically changing these values.
    Thanks,
    John

    Hi!
    If you look to the sourceCode of your EP (rigthClick->show source) you'll see that some JavaScriptFiles are loaded. One of them is called:
    "WAandNavPanel.js"
    Inside this file are some nice functions like "collapsePanel()" and so on. I didn't try, but perhaps you can use them or they can show you the right way.
    http://<host>:<port>/irj/portalapps/com.sap.portal.layouts.framework/scripts/WAandNavPanel.js
    Regards,
    Christian

  • Can I programmat​ically control USB with LabVIEW?

    I have a requirement to test a USB device. The test includes powering several of the devices off and on, i.e., power cycling for several hours. My plan is to accomplish by using a USB hub, breaking out the power circuit and running it through a relay inside of a DAQ. A neater solution would be to programmatically turn the USB device off and on. I know that the computer communicates with the device under test via USB and not the USB port itself. So I’m wondering if it’s possible with LabVIEW to accomplish this.
    Thank you.

    I'm not exactly sure what Eric was referring to as far as ActiveX. If it's with respect to the operating system, you're not going to find any ActiveX interface with the OS to do this. Unless he was referring to software programmability of the hub? Don't know.
    With respect to power-cycling, a USB port can be disabled using OS calls. Thus, if you want to just turn off the whole hub you can disable the USB port that the hub is connected to. On Windows you can use a command-line utility called devcon to do this (search the forum as this has been mentioned before). The limitation is that devcon is not redistributable. This means that you cannot include it if you're giving this software to a customer. If, on the other hand you need to selective turn off the ports on the hub (i.e., to test individual devices), then you'd have to go back to the manufacturer of the hub and find out if they have a software interface to do this. Otherwise, it's the external power on/off approach via a relay or via a regulator as suggested by SnowMule.
    EDIT: Additional caveat: devcon may not work under Windows 7. You did not indicate what operating system you're using. However, the OS calls that devcon makes are still there.

  • Can you programmatically change the iView Title?

    Hi,
    I have a custom iView, and a requirement is to have the iView tray title changed depending on the content shown.
    Is it possible to have the iView Title changed from the custom iView code?

    Hi,
    Check this code:
    Just have these two methods and use the setPCDContextTitle() method
    public static void setPCDContextTitle(
            String currentPcdLocation,
            Locale locale,
            IUser user,
            String title)
            throws NamingException, PrivilegedActionException {
            IPcdUtils pcdUtils = PcdAccess.getPcdUtils();
            IPcdAttribute basePcdAttribute =
                pcdUtils.createPcdAttribute(PcdAttributeValueType.TEXT, IAttrPcmGeneral.ATTRIBUTE_TITLE);
            basePcdAttribute.set(locale, title);
            IPcdAttributes basePcdAttributes = pcdUtils.createPcdAttributes();
            basePcdAttributes.put((Attribute) basePcdAttribute);
            PcmAdminBase adminBase =
                (PcmAdminBase) getPCDContext(currentPcdLocation, PcmConstants.ASPECT_ADMINISTRATION, user);
            IPcdContext context = adminBase.getPcdContext();
            context.modifyAttributes("", DirContext.ADD_ATTRIBUTE, basePcdAttributes);
        public static Object getPCDContext(String currentPcdLocation, String aspect, IUser user)
            throws NamingException {
            Context pcdContext;
            Object currentObject = null;
            Hashtable env = new Hashtable();
            env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
            env.put(Context.SECURITY_PRINCIPAL, user);
            env.put(Constants.REQUESTED_ASPECT, aspect);
            try {
                pcdContext = new InitialContext(env);
            } catch (NamingException e) {
                logger.severe(e, "Error in PCDPath");
                throw e;
            try {
                currentObject = pcdContext.lookup(currentPcdLocation);
            } catch (NamingException e) {
                logger.severe(e, "Error in PCDPath");
                throw e;
            return currentObject;
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers

Maybe you are looking for

  • Closing an ASP connection

    I have used DW to generate the ASP code as I do not know much about it other than the code that I have seen DW generate. My hosting server intermittently gives me a "Out of resources" error every once in a while and they have assured me that it is be

  • White line artifacts from PowerPoint 2007

    We are testing Windows 7 x64 in our graphics department and have installed Acrobat 9 Pro (from CS4) When creating a PDF from certain powerpoint files, some of the images land up split up with white lines through them. The same powerpoint file convert

  • Error during connect to the instance Content Server MAXDB-XSERVER Receive

    We rebooted this mornning a PROD Instance with SAPDB! Second Instance is a Content Server. Now, we got an error during connect via DBM Gui to Maxdb 7.6.06.04 2011-08-19     10:06:32     577 ERR     11926     XSERVER Receive packet, Ref:8 - socket rec

  • Adobe Illustrator and Photoshop Embed problem.

    Creating in Adobe Illustrator current booklet as usual was linked Adobe Photoshop files. At some point of work i have Embed some pictures, select Flatten Layers. After while I want correct something again in Photoshop. I find all the layers are flatt

  • ORA-30657: error when debbugging mapping

    someone know, why it tell me: not supported function on an external table. what is wrong I defined every thi g right