Using ActionScript to control where a break happens in TLF linked text boxes

Let's say you want to display a directory of people including name and department person works in. This information is in an xml file and ActionScript is used to read the information in and display the text in TLF text boxes that are linked. Is there a way to use ActionScript to control orphans/widows? Meaning, let's say that the first TLF text box fills up and at the very bottom of that text box another person's name appears. Then at the top of the linked text box the department name that person works in appears. Is there a way to use ActionScript to control it so that the persons name doesn't get separated from the department name? Thanks for any help!!

Thanks for taking time to answer my post, kglad.
Yes. I believe I understand. I could create another button
and call it "Reset Grid" and call this function, however what I am
hoping for is to have the grid redraw simply by the user entering
new values for the width and height and then clicking "draw
floorplan" again.
Currently the first line of code is:
my_button.addEventListener("onPress",gridf); Should not the grid
redraw each time and then parse the new values in the width and
height fields? I am sure I am just dense but my grid is not
clearing each time the "draw " button is clicked.
You can see this happen on the sample link below. After
entering say 20 width and 20 height values and clicking "draw"
button, the grid is created perfectly. Then if, say new values of
10 width and 10 height are entered and "draw" button is clicked,
the grid does not redraw correctly using these new values.
Sample link:
http://216.197.127.249/grid/grid_sample_1.html
Could the problem be that the gridf function should happen as
the first function in the script before the new values are parsed
again? Should a: grid_container.removeMovieClip(); execute before
anything else is executed each time the "draw" button is clicked?

Similar Messages

  • I'm using pages.  How can I change the shape of a text box to arch?

    I'm using pages.  How can I change the shape of a text box to arch?

    You can't do that in Pages. If you need text in an arch use Art text 2 lite, free from the Mac AppStore.

  • When using classic dialog controls in labview 7.1 why does the text color that I have selected always stays black?

    I have an older program created in LV 6.0.2 that uses dialog buttons. The text color is red or blue. When I load it into LV 7.1 the color stays black. When I edit text I can see that the color is correct but it will not display the color when I leave edit mode on the control. Even if I select a new button from the classic tools pallete "dialog controls" I am unable to change the text color.
    What is happening? Why does LV 7.1 prevent this text color change?
    Roger

    The dialog control colors are set by the operating system so they match other controls that the OS generates. So in LabVIEW 6, they were actually not behaving correctly.
    The following text is from the LabVIEW help on Dialog controls.
    "You cannot customize the appearance of the dialog spin control, slide controls, or progress bars because the controls and indicators use platform-specific drawing functions that do not support customization. You also cannot use Property Nodes and Invoke Nodes to customize the appearance of these controls and indicators."
    If you need different text color, you'll have to use the non dialog controls.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Using InDesign CS6, why does a drop shadow applied to a text box, cause a photo on the same page to

    I thought it was just a screen appearance so I made a pdf and the photo is lighter here too.  I've never had this issue with CS5.5 or earlier.  Drop shadows were able to be applied to one object without affecting others on the page. Is it a bug? Is there a setting I'm missing?  Thanks!

    Overprint preview didn't stop the lightening of the photo.
    A google search turned up the suggestion to change the transparency blend space to RGB, which worked in InDesign.  When I make the pdf (no color conversion) it looks ok. But when turning on Output Preview in Acrobat, the photo lightens again.  Weird and frustrating - I'm not sure what the final output will look like. 
    Is Transparency Flattener set at High res an option?
    I appreciate your help!
    Anne

  • Using Slider to Control an Image Zoom

    I want to use the control Slider1 to Control the Zoom of Sectional Viewer image control.  Can't quite figure that out.  Any help?

    Hi Matthew,
    Until the feature is available, there is a possible workaround you could use. It requires more work but you could probably get something close to a zoom effect.
    The trick is to change the size of the image (Width and Height) and its
    X and Y position to control where the zoom happens. The Image will end-up taking more space than the screen so you will need to have elements on top of it so the user does not see the overflow.
    For example, to zoom on the top left corner, try the following:
    - Set the image Image Position property to Fill
    - Set the image Height and Width properties to its current value +
    ZoomSlider!Value*10
    If you want to zoom to the center:
    - Also set the image X and Y properties to their current values +
    ZoomSlider!Value*5
    Remember the image visual will be quite large and you will need to place elements on top of it (e.g. rectangles) to hide the overflow.
    This is clearly a workaround yet you can get close to a zoom effect.
    Olivier

  • Pages 5 Where is text box linking and autoflow?

    Pages 5 appears to be missing the ability to link text boxes and autoflow them. This is really important for the imposition (putting the printed pages in order) of small booklets.
    Does anyone know if it is possible in Pages 5?

    Many thanks Peter. I'll do that. Along with the old iMovie and iWeb.
    It is infuriating when Apple replaces a good application - easy to use and very functional - with something that is clunky and lumpen and has fewer features, or discontinues it altogether.

  • DataGrid Control using ActionScript

    Hi,
    Is it possible to generate the rows of a datagrid dynamically
    using actionscript?
    I want to put information of multiple XML's on one line of my
    datagrid.
    Mark

    Ok, I found out my problem, the thing is i wanted to combine
    info in a datagrid, from 2 xml's, but since it's not directly
    possible to access a row of the grid, I created a labelfunction for
    the datagridcolumns which i wanted to populate with a different
    value.
    Source is included below, hope it will help someone.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="1120" height="300" initialize="doInit();">
    <mx:XML id="dataContacts"
    source="/data/Contactperson.xml"/>
    <mx:XML id="dataCommunication"
    source="/data/Communication.xml"/>
    <mx:Script>
    <![CDATA[
    private function doInit():void {
    trace(dataContacts.Contactperson.Firstname);
    protected function getPhonenoById(row:Object,
    column:DataGridColumn):String {
    for each(var node:XML in row.Communicationid) {
    var value:String = new String;
    if (dataCommunication.Communications.Communication.@id ==
    node.toString) {
    value = dataCommunication.Communication.(@id ==
    node.toString()).(@type == "Phone");
    if (value != "") // if the string is empty
    // return to the returning parameter.
    break;
    // returning the value to the cell
    return value;
    ]]>
    </mx:Script>
    <mx:DataGrid x="10" y="10" width="493" id="dg"
    dataProvider="{dataContacts.Contactperson}">
    <mx:columns>
    <mx:DataGridColumn id="dcFirstname" dataField="Firstname"
    headerText="Voornaam"/>
    <mx:DataGridColumn id="dcLastname" dataField="Lastname"
    headerText="Achternaam"/>
    <mx:DataGridColumn id="dcPhone"
    dataField="Communicationid" labelFunction="getPhonenoById"
    headerText="Telefoonnummer"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Canvas>

  • How to adjust the path of a tween using actionscript

    I'm a novice at Actionscript3 and would greatly appreciate an answer to what seems like a simple question:
    Here's my project:
    http://home.comcast.net/~samiri/director/mortals/amadoFlashPortrait/index.htm
    Click on the gray scale frame images. A larger version of that image tweens out along the z axis. However it comes from 'somewhere else' not from 'within the frame.' How do I get the each larger gray scale frame image to look like it comes directly from the place where the user clicks (not to one side or the other)?
    So I guess what I'm asking is how to adjust the path of the tween along the x and y axis using the actionscript code (below).
    My method:
    I'm using this line of code in my script:
    var myTween:Tween = new Tween(mdImg, "z", Strong.easeOut, 300, 0, 1, true);
    "mdImg" is the variable that holds the name of the hotspot clicked upon by the user.
    I have the larger (faded edge) image positioned directly on top of the frame image and just kept invisible until the User clicks on the hotspot over the frame image.
    Thanks much.

    Thanks moccamaximum,
    By "do your tweens manually" you mean to use the timeline to do frame-based tweening? That is an option but I'm wondering (as a newbie): Isn't it better to use actionscript to do animation since you have more control and it's time based rather than frame-rate based (and works better on low performance machines)? Just curious if I should be spending the time to learn actionscript or do it in the traditional way.
    Thanks

  • Can storing a live stream using actionscript fail by the cache filling up with overhead?

    Hi,
    Lately we have been seeing a problem with the archives of live streams we create using FMS. We use FMS for live streaming and concurrently store the stream in a file using ActionScript. We use the following code to record:
    var s2 = Stream.get('mp4:' + mp4name);
    application.publishedStreamMP4= s2;
    application.publishedStreamMP4.record();
    application.publishedStreamMP4.play(application.publishedStream.name,-1,-1);
    (some lines have been removed that are used for logging, etc).
    Sometimes some of these functions fail and return false. In these cases FMS's core log shows that the cache is full:
    2013-06-11 11:45:55        13863   (w)2611372      The FLV segment cache is full.  -
    In investigating this issue I have not yet been able to recreate this exact situation. By lowering the cache to 1MB I have however been able to create a situation where storing a stream can stop because the cache is full. The situation occurs as follows:
    * The server is restarted, the cache is empty.
    * A live stream is started, which is also recorded.
    * Via the Administration API the cache values <bytes> and <bytes_inuse> show to be exactly the same as the <overhead> of the object that relates to the file being saved. The <bytes> and <bytes_inuse> values of the object are 0.
    * This continues in the same way untill the cache is full.
    * When the limit of the cache is reached the message
    2013-06-11 12:07:35        13863   (w)2611372      The FLV segment cache is full.  -
    is shown in the core log and storing of the file stops. The instance log also show status changes:
    2013-06-11 12:07:35        13863   (s)2641173      MP4 recording status for livestream.mp4: Code: NetStream.Record.NoAccess Level: status Details:         -
    2013-06-11 12:07:35        13863   (s)2641173      MP4 recording status for livestream.mp4: Code: NetStream.Record.Stop Level: status Details:     -
    In the filesystem I can confirm that the last change of the file is on this moment (in this case 12:07). The live stream continues without problems.
    I have reproduced this several times. Though I can understand that caches can fill up and this can cause trouble I feel like this situation is a bug in FMS. The cache fills up with overhead, which is apparently reserved untill writing the file ends.
    I hope someone here can help out. Has anyone seen a situation like this and is there any remedy for it? Or even a workaround where this overhead in the cache can be released so the cache does not fill up?
    We use FMS version 4.5.1.

    You can use an XML socket, but the FMS application will need to initiate the connection, as FMS has no support for listening for anything other than RTMP and HTTP requests.
    Stream switching can happen on the FMS side. In your FMS application, you'll create a server side stream, and use the Stream.play method for playing other sources (live streams or recorded flv/h.264 files) over that stream. Your subscribers will connect to the server side stream
    See the FMS docs for the Stream class and the XMLSocket class.

  • How can I use LabView to control Altera Scripting

    Hi
    I have kind of run into a stone wall. I am building a production test executive based on LabView. Part of this process includes loading an FPGA image on to a CFI flash that is in the JTAG chain. I am trying to make so that the production operators don't have to open a second application, select the right FPGA and Flash navigate to the file then load it, then go back to LabView and run the rest of the tests.
    Altera has a command line interface that will let me load .cdf file.  The problem is that nowhere in Altera’s documentation does it show me how to first load the “Parallel Flash Loader IP” into the FPGA. The flash loader acts as a temporary bridge between the JTAG input and the CFI Flash.  I have looked on Altera’s Forums and have had an open ticket with Altera’s support engineers for more than a week.
    I can’t be the first person to want to do this; I am hoping someone here has done it before. I would really rather not try to use the activeX controls to manipulate the windows based program.
    Any suggestions would be greatly appreciated (Note I am not trying to put LV code on the FPGA/Flash just use LV to control the process)  
    Thanks in advance
    Below is the error message and the script I am using. It almost works just missing the flash loader IP
    C:\altera\12.1sp1\qprogrammer\bin>quartus_pgm -c USB-BLASTER -m JTAG  S_FPGA.
    cdf
    Info: *******************************************************************
    Info: Running Quartus II 32-bit Programmer
        Info: Version 12.1 Build 243 01/31/2013 Service Pack 1 SJ Full Version
        Info: Copyright (C) 1991-2012 Altera Corporation. All rights reserved.
        Info: Your use of Altera Corporation's design tools, logic functions
        Info: and other software and tools, and its AMPP partner logic
        Info: functions, and any output files from any of the foregoing
        Info: (including device programming or simulation files), and any
        Info: associated documentation or information are expressly subject
        Info: to the terms and conditions of the Altera Program License
        Info: Subscription Agreement, Altera MegaCore Function License
        Info: Agreement, or other applicable license agreement, including,
        Info: without limitation, that your use is for the sole purpose of
        Info: programming logic devices manufactured by Altera and sold by
        Info: Altera or its authorized distributors.  Please refer to the
        Info: applicable agreement for further details.
        Info: Processing started: Thu Oct 03 18:16:53 2013
    Info: Command: quartus_pgm -c USB-BLASTER -m JTAG S_FPGA.cdf
    Info (213045): Using programming cable "USB-Blaster [USB-0]"
    Info (209060): Started Programmer operation at Thu Oct 03 18:17:19 2013
    Error (209062): Flash Loader IP not loaded on device 1
    Error (209053): Unexpected error in JTAG server -- error code 5
    Error (209012): Operation failed
    Info (209061): Ended Programmer operation at Thu Oct 03 18:17:21 2013
    Error: Quartus II 32-bit Programmer was unsuccessful. 3 errors, 0 warnings
        Error: Peak virtual memory: 376 megabytes
        Error: Processing ended: Thu Oct 03 18:17:21 2013
        Error: Elapsed time: 00:00:28
        Error: Total CPU time (on all processors): 00:00:03
    Solved!
    Go to Solution.

    Hi Eric,
    I got it figured out today, basically you have to load the Parallel Flash Loader first into FPGA ram. It is a special .sof file (pfl_epXXXX.sof) based on your FPGA. Code is actually pretty straight forward, using the Sys Exec VI. Use the windows based programmer to generate the .cdf file that identifies your FPGA, attached Flash and .pof file .
    Syntax was odd going into Sys Exec. Note the extra "C" in in front of the "quartus_prm.exe" I have no idea why that was needed, but I was getting an error until I just happened to put it in there (Blind Luck :-))
    I used a 2 element array going into a four loop
    cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG -o P;pfl_epXXXX.sof
    cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG S_FPGA.cdf
    Defining the working director C:\altera\12.1sp1\qprogrammer\bin
    And added match string with "Successfully performed operation" on the output in the loop to make sure everything loaded correctly then adding the array to give me a overall P/F
    To anyone doing this same thing Altera's documentation is poor to say the least. It took most of a week to figure this out Not allowed to upload code, so anyone wanting details just post here and I will try to help. This was painful, with lots of lessons learned.
    Thanks for the interest though
    Best regards John

  • How to use Source Code Control for Large Application?

    Hi, All!
    I would like to collect knowledge about "best practice" examples for using Source Code Control and project organization for relative large application (let's say approx 1000 SubVIs).
    Tools used:
    LabVIEW 8.0
    CVS Server
    PushOK CVS Proxy Client
    WinCVS
    With LabVIEW 8 we can organize large project pretty well. This described in article Managing Large Applications with the LabVIEW Project.
    I have read this article too: Using Source Control Software with LabVIEW In this Article Source Safe used, but with PushOK all looks nearby the same and works (some tricks for compare function are required).
    Example. Two developers working together on same project. Internally project is modular, so one developer will work with module "Analysis", and another one with "Configuration" without interferences. These modules placed into Subfolders as shown in example above.
    Scenario 1:
    Developer A started with modification of module "Analysis". Some files checked out. He would like to add some SubVIs here. So, he must also perform check out for the project file (*.lvproj), otherwise he cannot add anything into project structure.
    Developer B at the same time would like to add some new functions into module "Configuration". He also needed to check out project file, but this file already checked out by Developer A (and locked). So, he must wait until lvproj file will be checked in. Another way is mark *.lvproj files as text files in PushOK, but then one of developers will get conflict message by checking in and then merging will be necessary. This situation will coming very often, because in most cases *.lvproj file will be checked out all the time.
    Question: Which practice is better for such situation? Is Libraries better than folder for large project?
    Scenario 2:
    Developer C joined to the team. First, he must get complete project code for starting (or may be at least code of one Library, which assigned to him).
    Question: How it can be done within LabVIEW IDE? Or WinCVS (or other SCC UI) should be used for initial checkout?
    Scenario 3:
    Developer D is responcible for Build. Developers A,B,C have added lot of files into modules "Analysis", Configuration" and "FileIO". For building he need to get complete code. If our project splitted into folders, he should get latest *.lvproj first, then newly added SubVIs will appear in Project Explorer, then he should expand tree, select all SubVIs and get latest versions for all. If Project organized in Libraries, he must do the same for each library, isn't?.
    Question: Is this "normal way", or WinCVS should be used for this way? In WinCVS its possible with two mouseclicks, but I prefer to get all code from CVS within LabVIEW IDE recursively...
    That was a long post... So, if you already working with LabVIEW 8 with SCC used for large project, please post your knowledge here about project structure (Folders or Libraries) and best practices, its may be helpful and useful for all of us. Any examples/use cases/links etc are appreciated.
    Thank you,
    Andrey

    Regarding your scenarios:
    1. Using your example, let's say both developers checked out version 3
    of the project file. Assuming that there are only files under the
    directories in the example project, when Developer A checks in his
    version of the project, there will be new files in one section of the
    project separate from where Developer B is working. Developer B,
    notices that there is now a version 4 of the project. He needs to
    resolve the changes so will need to merge his changes to the latest
    version of project file. Since the project file is a text file, that is
    easy to do. Where an issue arrises is that after Developer B checks in
    his merged changes, there is a revision 5. When Developer A and B go to
    make another change, they get the latest version which will have the
    merged changes to the project file but not the referenced files from
    both Developer A and B. So when A opens version 5, he sees that he is
    missing the files that B checked in and visa versa. Here is where the
    developers will needs to manually use the source control client and,
    external to LabVIEW, get those new files.
    Where libraries help with the above scenario is that the library is a
    separate file from the project so changes made to it outside of the
    project do not require the project to be modified. So this time, the
    developers are using a single project again which time time references
    two libraries. The developers check out the libraries, make changes to
    the libraries, and then check those changes in. So when each developer
    opens the project file, since it references the project file, the
    changes to the library will be reflected. There is still the issue of
    the new files not automatically coming down when the latest version of
    the library is obtained. Again, the developers will needs to manually
    use the source control client and, external to LabVIEW, get those new
    files. In general, you should take advantage of the the modularity that
    libraries provide.
    2. As noted in the above scenario, there is no intrinsic mechanism to
    get all files referenced by a LabVIEW project. Files that are missing
    will be noted. The developer will then have to use the source control
    provider's IDE to get the initial contents of the project  (or library).
    3. See above scenarios.
    George M
    National Instruments

  • What are the uses of table control and tabstrip control

    can anyone tell me the uses of table control and tabstrip control

    Hi,
    table control is more comfortable for customizing.scroll bars all possible in this.where as it is not possible in step loops.
    check this example.
    PROGRAM ZBHTCTRL.
    TABLES: LFA1, EKKO.
    DATA: OKCODE1 LIKE SY-UCOMM,
    OKCODE2 LIKE SY-UCOMM.
    CONTROLS TABC TYPE TABLEVIEW USING SCREEN 1001.
    DATA: BEGIN OF ITAB OCCURS 0,
    MANDT LIKE EKKO-MANDT,
    EBELN LIKE EKKO-EBELN,
    BSTYP LIKE EKKO-BSTYP,
    BSART LIKE EKKO-BSART,
    END OF ITAB.
    MODULE USER_COMMAND_1000 INPUT.
    CASE OKCODE1.
    WHEN 'BACK'.
    SET SCREEN 0.
    WHEN 'NEXT'.
    SET SCREEN 1001.
    SELECT * FROM EKKO INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE
    LIFNR = LFA1-LIFNR.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_1001 INPUT
    MODULE MOVE_DATA OUTPUT.
    EKKO-MANDT = ITAB-MANDT.
    EKKO-EBELN = ITAB-EBELN.
    EKKO-BSTYP = ITAB-BSTYP.
    EKKO-BSART = ITAB-BSART.
    ENDMODULE. " MOVE_DATA OUTPUT
    MODULE USER_COMMAND_1001 INPUT.
    CASE OKCODE2.
    WHEN 'BACK'.
    SET SCREEN 1000.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_1001 OUTPUT
    MODULE STATUS_1001 OUTPUT.
    SET PF-STATUS 'MENU'.
    SET TITLEBAR 'TIT'.
    ENDMODULE. " STATUS_1001 OUTPUT
    MODULE STATUS_1000 OUTPUT.
    SET PF-STATUS 'DMENU'.
    SET TITLEBAR 'xxx'.
    ENDMODULE. " STATUS_1000 OUTPUT
    FORM ON_CTMENU_FORM1 USING CMENU TYPE REF TO CL_CTMENU.
    CALL METHOD CMENU->LOAD_GUI_STATUS
    EXPORTING
    PROGRAM = ' ZBHTCTRL'
    STATUS = 'CMENU'
    MENU = CMENU.
    CALL METHOD CMENU->ADD_FUNCTION
    EXPORTING
    FCODE = 'RX'
    TEXT = 'RECIEVE'.
    ENDFORM.
    FLOW LOGIC:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1000.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_1000.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1001.
    LOOP AT ITAB WITH CONTROL TABC CURSOR TABC-TOP_LINE.
    MODULE MOVE_DATA.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_1001.
    LOOP AT ITAB.
    ENDLOOP.
    for more info check this link.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm
    thanks
    Ashu.

  • Is it possible to use *only* voice control - no keyboard or mouse at all?

    Short story, hope you can bear with me.
    I have a client who was using Windows for years. He has some disability that means he really can't use a mouse or keyboard. He has been using Dragon Naturall Speaking for about 5-7 years *on Windows*. He also has a Wacom tablet, but uses it sparingly.
    About 6 months ago, he was having problems and was fed up with the problems he was having on his Windows machine. He called me and said "That's it. I'm going to Mac." He bought an iMac the next day, about two weeks before Lion was released. He had also purchased Dragon Dictate for Mac.
    I set it all up, installed it and he was ready to start training Dragon.
    A few months later, he calls and says, "I need to install Windows on my Mac because the Dragon Dictate for Mac is useless. I've spoken to them and they admit that there are several things you just can't do. Like moving the mouse." I think he means things like dragging an item into another folder, or drawing a box around several items on the desktop in order to trash them or copy them or drag them into an email as an attachment, etc. I keep asking him to be more specific, but all I can really get is that It. Can't. Be. Done. On. A. Mac.
    And that, of course, really makes my skin crawl. I mean, come on, it's a Mac. They have *great* features for Accessibility. Surely, this must be a solved problem.
    But, I have looked. I looked at the additions in Lion. I looked at the literature for Dragon. I have tried to do it myself on my computer. So far, I'm stumped.
    I understand that there might be a learning curve, such as learning to say *where* you want something to be dragged to, instead of actually dragging it there visually. "Move selected document to Documents" and so on. But, I'm still hard pressed to find a way to do *every*thing (or a 99+%) using only voice control.
    Does *any*one have any ideas, suggestions, thoughts, solutions?
    His solution? He bought a used Windows computer today. I've copied (again) all his data from his iMac back to the Windows PC and installed Dragon Naturally Speaking, etc.
    Surely, this can't be the only solution. There *must* be a way to do this on the Mac. Right?
    Thanks.

    Hi again,
    I checked the Bios of my neighbors A100, so he has no option for Wake-on-Keyboard, too. I think its not implemented in that bios.
    If this helps you: try the latest bios for that machine, maybe the implemented that option in a newer version.
    Greets man

  • When using the new controls of CVI 7 in my DLL it crash on the DisplayPanel call

    I have a CVI DLL that was build under CVI 6. When I recompile it in CVI 7 everything works fine when I load the DLL from my application. But If I add a button on my uir file with the new CVI 7 style (no event code associated, just a plain button) my DLL crash and hang my main application on the DisplayPanel call. If I don't use the new controls (use the classic-style controls) everything works fine. I use LoadPanelEx to load my uir file. The returned panel handle is good (> 0) But when I call DisplayPanel it doesn't show me any error but just crash my DLL and jump back in the DLLMain function saying that my process is detaching and hang my main application.
    I am running on Win2k. I have
    LabVIEW 7 and LabVIEW 6.0.2 installed also. The main application that calls the DLL is made in Delphi 6.
    I have re-installed the run-time engine from the CDs but this didn't do the trick. Is there something else that I must include with my DLL to use thoses new controls styles. The DLL is running from the same place where it was build.

    Hi,
    I have created another cvi DLL and it create the same behavior in my application (crash on DisplayPanel). But if I do a standalone CVI executable with thoses new buttons everything is fine. Also I have created another application(in Delphi) to load the cvi-dll and it works fine in that one. So I would tend to say that it is in my application but on the other hand everything works fine if I don't put thoses LabStyle controls...Weird I know...
    In shorts It is just crashing with a specific application but for any UI project that I create. If I don't put thoses buttons everything is ok...Any other advises would be helpful because I'm kind of out of ideas...
    Gilles Hache

  • How to use OEM grid control to find any database not in archivelog mode?

    Hello,
    currently we have 130 databases, say, if I want to pick out any database currently NOT in archivelog mode, is there a quick way to find out ?
    by using OEM grid control
    or
    some trick similar,
    but really don't need to check each database manually.
    thank you very much!

    This query works in 12c - please run as SYSMAN.
    It is based on undocumented assumptions though +( AND key_value = 'NOARCHIVELOG')+.
      SELECT *
      FROM SYSMAN.MGMT$GROUP_DERIVED_MEMBERSHIPS O ,
        SYSMAN.MGMT$TARGET T ,
        sysman.MGMT$AVAILABILITY_CURRENT st
      WHERE
      o.member_target_type     IN ('oracle_database', 'rac_database')
      AND ( t.target_type           ='rac_database'
      OR (t.target_type             ='oracle_database'
      AND t.type_qualifier3        != 'RACINST'))
      AND o. member_target_guid     = t.target_guid
      AND t.target_guid             = st.target_guid
      AND st.availability_status    = 'Target Up'
      AND ( EXISTS
        (SELECT *
        FROM sysman.mgmt$metric_current i
        WHERE I.TARGET_GUID = O.MEMBER_TARGET_GUID
        AND metric_name     = 'archFull'
        AND Metric_Column   = 'archTotal'
        AND metric_label    = 'Archive Area'
        AND column_label    = 'Total Archive Area (KB)'
        AND key_value       = 'NOARCHIVELOG'
        ));Another way to achieve the goal is to push extended metrics (SELECT LOG_MODE FROM V$DATABASE) on each DB, and monitor the values they return to the repository. This is an example for a (slightly) different problem - http://iiotzov.wordpress.com/2012/08/08/how-to-use-the-new-oem-12c-metric-extensions-to-enforce-enterprise-wide-custom-policies .
    OEM Repository has many other great uses as well - http://iiotzov.files.wordpress.com/2012/05/oem-repository-a-second-look.doc , http://iiotzov.files.wordpress.com/2011/08/iotzov_oem_repository.pdf
    Iordan Iotzov
    http://iiotzov.wordpress.com/

Maybe you are looking for

  • How to order more than 1 item from iphoto?

    I just created 3 calendars and 3 photobooks and want to order all of them but it seems like I have to order them one by one and also pay for the shipment separately = 6 times.. is there anyway I could make ONE order for all my items at the same time?

  • Version 8.2 vs 8.1 (newbie question)

    Would you expect any compatibility issues when developing on PE 8.2 for deployment under 8.1 SE or EE? Seems like 8.2 is the only downloadable version for platform edition. Thanks.

  • HELP ME PLEASE! My SWF movie works but as a GIF it doesn´t works

    Hi, Could you help me with this problem?  I have many movie clips inside the scene1 and I know that ´s the problem. But I don´t know  how should I start a new animation using just one layer and keyframe to do easier the export in a gif format.THANKS!

  • The requested page contains stale data Error

    Hi All, I have two table in the back end. VikCountry(country_code PK,country_name). VikCities(country_code FK,city_name).I have created two EO's and TWo VO's for them and the AssociationObject. In the UI ,I have two messageTextInput fields, one for t

  • Importing photos from iPhone to computer

    Am I able to import photos from my iPhone to my computer again after I have already imported them once? I can't find a setting to allow me to do this. It will only import new ones.