Optimization of using text constants

Does Forms compiler optimize using text constants when it make *.fmx
file, if yes then how?
What I mean. In many cases Forms programmers use text constants to do
any actions, for sample:
- do_key('EXECUTE_QUERY');
- if (:system.mode = 'ENTER-QUERY') then /* ... */ end if;
- execute_trigger('ON-POPULATE-DETAILS');
- show_alert('ASK_SAVE');
- go_block('ORDERS') or go_item('ORDERS.NAME');
- set_block_property(bid,DEFAULT_WHERE,':orders.pay > '||:r.pay_rate);
As I have undestood myself, Forms divide such constant on types:
- standart text constants('EXECUTE_QUERY','ENTER-QUERY' ...);
- user's text constants ('ASK_SAVE','ORDERS.NAME');
And Forms do any optimization with standart text constants: in *.fmx file
I found only one enter for every from such constants.
But for user's text constants Forms does not optimization: in *.fmx file
I found more then one enter for such constants.
If above is right then is there benefit from creating a package in form
module and creating constants in the package, that contain frequently used
user's text constants(block and items names, e.t.c.) and then writing down
in program these package constants instead of user's text constants?

I get to answer my own question. I found a workaround should you ever what to be sure a certain font is used and not replaced. Granted, this will add my download time but you at least can preserve the look.
Simply make any text with a shadow. But make the offset 0 and the transparency to 1 (you can't make it 0). You won't even notice the "shafow" and the text will be made into a graphic every time.
Stephen

Similar Messages

  • Initialising constants using text-element

    hiii, I want to initialize the constant data object used in my ABAP program with the value of text element, Can anybody plz tell me how to do so?

    Actually in my program I was using some constants data object to hold the description of the field name which will be displayed in ALV list in header. for example,, like this
    *Constants for Field Descriptions:
    Constants:
              c_text1 TYPE descr_40 VALUE 'Material',
              c_text2 TYPE descr_40 VALUE 'Description',
              c_text3 TYPE descr_40 VALUE 'Phys Inv Doc',
              c_text4 TYPE descr_40 VALUE 'Plant'.
    Now i want to make these descriptions <u><b>language independent</b></u> hence i tend to use text element like this:-
        c_text1 TYPE descr_40 VALUE text-001
    but this thing is not working giving some error.

  • Using package constants in package SQL - acts as bind variable or literal?

    I'm looking for confirmation on the performance impact of using package constants in package SQL.
    Let's say I have a number of queries in package code that refer to various literals that are prone to typos e.g. "CANCELLED" instead of "CANCELED". To reduce the chances of this happening, I have an APP_GLOBALS package where I declare constants for each literal:
    C_CANCELED CONSTANT VARCHAR2(12) := 'CANCELED';And in queries that refer to literal 'CANCELED' I use APP_GLOBALS.C_CANCELED instead. This way the typo is caught during compilation. For example:
    BEGIN
    --Do something with all 'Canceled' orders
      FOR r IN (SELECT order_id
                  FROM orders
                 WHERE status = APP_GLOBALS.C_CANCELED)
      LOOP
      END LOOP;
    END;Assume that:
    - the STATUS column is indexed
    - the possible values are PENDING, APPROVED, CANCELED
    - a small percentage of orders are CANCELED
    From the optimizer's perspective is the query equivalent to
    SELECT order_id
      FROM orders
    WHERE status = :varor
    SELECT order_id
      FROM orders
    WHERE status = 'CANCELED'?
    According to what I see in v$sqltext_with_newlines, it's the first one. Can anyone suggest an alternative way of replacing literals in package SQL to prevent typos? Worst case, I suppose I can start with constants so that it compiles successfully then do a global replace of the constants with the literals.

    Can anyone suggest an alternative way of replacing literals in package SQL to prevent typos?I cannot think of any. But, here is the thing. If the typos are there, then, it technically is a bug even though both the codes would compile. The bug will be hunted down when the program doesn't work as intended. Wouldn't most typos be caught in unit testing of the code?
    Also, if you replace a string literal with a variable, then, maybe (just maybe, depending on your version of the dbms), it may end up picking a different execution plan. That might be an unintended consequence.

  • How to use text symbols in webdynpro

    Hello
    I want to assign some text to a variable in webdynpro, that is not a screen field(just a normal variable).
    Instead of hardcoding the text I just want to use a text symbol. Should I go for assistance class or OTR?
    I tried using OTR.but it is not taking the value what I have stored.
    check the below..
    append 'Hello' to  v_text.
    instead of the above i wrote it like,
    append text-001 to v_text, where text-001 is stored in OTR.
    but after executing, v_text contains no value, instead it should take 'hello'.

    Hi,
    make a node and procced as shown below....................
    This is with OTR text
    constants :   lc_directory type string value 'ZHRWEBDEV/IDS',
    data: otr_text  type string,
             otr_text1 type string.
    READ THE NODE CN_IDS TO SET THE ATTRIBUTE VALUES
       data lo_nd_cn_ids type ref to if_wd_context_node.
       data lo_el_cn_ids type ref to if_wd_context_element.
       data ls_cn_ids type wd_this->element_cn_ids.
       data lv_ca_ids like ls_cn_ids-ca_ids.
    READ THE NODE CN_EXAMPLE TO SET THE ATTRIBUTE VALUES
       data lo_nd_cn_example type ref to if_wd_context_node.
       data lo_el_cn_example type ref to if_wd_context_element.
       data ls_cn_example type wd_this->element_cn_example.
       data lv_ca_example like ls_cn_example-ca_example.
    NAVIGATE FROM <CONTEXT> TO <CN_IDS> VIA LEAD SELECTION
       lo_nd_cn_ids = wd_context->get_child_node( name = wd_this->wdctx_cn_ids ).
    GET ELEMENT VIA LEAD SELECTION
       lo_el_cn_ids = lo_nd_cn_ids->get_element(  ).
    NAVIGATE FROM <CONTEXT> TO <CN_EXAMPLE> VIA LEAD SELECTION
       lo_nd_cn_example = wd_context->get_child_node( name = wd_this->wdctx_cn_example ).
    GET ELEMENT VIA LEAD SELECTION
       lo_el_cn_example = lo_nd_cn_example->get_element(  ).
    SET THE CONTEXT CA_IDS
       lo_el_cn_ids->set_attribute(
         exporting
           name =  `CA_IDS`
           value = otr_text ).
    SET THE CONTEXT CA_EXAMPLE
       lo_el_cn_example->set_attribute(
         exporting
           name =  `CA_EXAMPLE`
           value = otr_text1 ).
    Edited by: Neha Thukral on Dec 10, 2008 11:48 AM

  • Using Text Tool Freezes Photoshop CC 2014.2 x64 release

    I have just updated Photoshop CC to 2014.2.0 -- 20140926.r.236 x64 release. Now I am experiencing an issue when I use the text tool to just type a few words on a new document or layer. The application seems to freeze up as soon as I start typing? I wait several minutes with nothing happening and have to resort to using the Windows task manger to kill the photoshop processes. This did not happen before I updated to this release?? Please advise how to fix this if possible to [email protected].
    I'm using Windows 7 x64
    Here's the system info reported from Photoshop:
    Adobe Photoshop Version: 2014.2.0 20140926.r.236 2014/09/26:23:59:59 x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:7, Stepping:10 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1
    Physical processor count: 2
    Processor speed: 3000 MHz
    Built-in memory: 8189 MB
    Free memory: 1413 MB
    Memory available to Photoshop: 7161 MB
    Memory used by Photoshop: 80 %
    3D Multitone Printing: Disabled.
    Windows 2x UI: Disabled.
    Highbeam: Enabled.
    Image tile size: 128K
    Image cache levels: 2
    Font Preview: Medium
    TextComposer: Latin
    Display: 1
    Display Bounds: top=0, left=0, bottom=1024, right=1280
    OpenGL Drawing: Enabled.
    OpenGL Allow Old GPUs: Not Detected.
    OpenGL Drawing Mode: Normal
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    AIFCoreInitialized=1
    AIFOGLInitialized=1
    OGLContextCreated=1
    NumGLGPUs=1
    glgpu[0].GLVersion="3.0"
    glgpu[0].GLMemoryMB=1024
    glgpu[0].GLName="ATI Radeon HD 4800 Series "
    glgpu[0].GLVendor="ATI Technologies Inc."
    glgpu[0].GLVendorID=4098
    glgpu[0].GLDriverVersion="8.850.0.0"
    glgpu[0].GLRectTextureSize=8192
    glgpu[0].GLRenderer="ATI Radeon HD 4800 Series "
    glgpu[0].GLRendererID=37952
    glgpu[0].HasGLNPOTSupport=1
    glgpu[0].GLDriver="aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atium d64.dll,atidxx64.dll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm6 4.dll"
    glgpu[0].GLDriverDate="20110419000000.000000-000"
    glgpu[0].CanCompileProgramGLSL=1
    glgpu[0].GLFrameBufferOK=1
    glgpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="3.30"
    glgpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[2147 483647]
    glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[8]
    glgpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[32]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[16]
    glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[16]
    glgpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[16384]
    glgpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[16384]
    glgpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[128]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[29]
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
    glgpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=1
    License Type: Subscription
    Serial number: 96040090050480634073
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\
    Temporary file path: C:\Users\Home\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
    F:\, 2.73T, 1.89T free
    Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Required\Plug-Ins\
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Plug-ins\
    Installed components:
    A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
    ACE.dll ACE 2014/08/12-23:42:09 79.557478 79.557478
    adbeape.dll Adobe APE 2013/02/04-09:52:32 0.1160850 0.1160850
    AdbePM.dll PatchMatch 2014/09/07-21:07:38 79.558079 79.558079
    AdobeLinguistic.dll Adobe Linguisitc Library 8.0.0
    AdobeOwl.dll Adobe Owl 5.2.4
    AdobePDFL.dll PDFL 2014/08/18-15:13:12 79.512424 79.512424
    AdobePIP.dll Adobe Product Improvement Program 7.2.1.3399
    AdobeXMP.dll Adobe XMP Core 2014/08/20-09:53:02 79.156797 79.156797
    AdobeXMPFiles.dll Adobe XMP Files 2014/08/20-09:53:02 79.156797 79.156797
    AdobeXMPScript.dll Adobe XMP Script 2014/08/20-09:53:02 79.156797 79.156797
    adobe_caps.dll Adobe CAPS 8,0,0,13
    AGM.dll AGM 2014/08/12-23:42:09 79.557478 79.557478
    ahclient.dll AdobeHelp Dynamic Link Library 1,8,0,31
    amtlib.dll AMTLib (64 Bit) 8.0.0.122212002 BuildVersion: 8.0; BuildDate: Wed Jul 30 2014 15:59:34) 1.000000
    ARE.dll ARE 2014/08/12-23:42:09 79.557478 79.557478
    AXE8SharedExpat.dll AXE8SharedExpat 2013/12/20-21:40:29 79.551013 79.551013
    AXEDOMCore.dll AXEDOMCore 2013/12/20-21:40:29 79.551013 79.551013
    Bib.dll BIB 2014/08/12-23:42:09 79.557478 79.557478
    BIBUtils.dll BIBUtils 2014/08/12-23:42:09 79.557478 79.557478
    boost_date_time.dll photoshopdva 8.0.0
    boost_signals.dll photoshopdva 8.0.0
    boost_system.dll photoshopdva 8.0.0
    boost_threads.dll photoshopdva 8.0.0
    cg.dll NVIDIA Cg Runtime 3.0.00007
    cgGL.dll NVIDIA Cg Runtime 3.0.00007
    CIT.dll Adobe CIT 2.2.6.32411 2.2.6.32411
    CITThreading.dll Adobe CITThreading 2.2.6.32411 2.2.6.32411
    CoolType.dll CoolType 2014/08/12-23:42:09 79.557478 79.557478
    dvaaudiodevice.dll photoshopdva 8.0.0
    dvacore.dll photoshopdva 8.0.0
    dvamarshal.dll photoshopdva 8.0.0
    dvamediatypes.dll photoshopdva 8.0.0
    dvametadata.dll photoshopdva 8.0.0
    dvametadataapi.dll photoshopdva 8.0.0
    dvametadataui.dll photoshopdva 8.0.0
    dvaplayer.dll photoshopdva 8.0.0
    dvatransport.dll photoshopdva 8.0.0
    dvaui.dll photoshopdva 8.0.0
    dvaunittesting.dll photoshopdva 8.0.0
    dynamiclink.dll photoshopdva 8.0.0
    ExtendScript.dll ExtendScript 2014/01/21-23:58:55 79.551519 79.551519
    icucnv40.dll International Components for Unicode 2013/02/25-15:59:15 Build gtlib_4.0.19090
    icudt40.dll International Components for Unicode 2013/02/25-15:59:15 Build gtlib_4.0.19090
    igestep30.dll IGES Reader 9.3.0.113
    imslib.dll IMSLib DLL 7.0.0.154
    JP2KLib.dll JP2KLib 2014/06/28-00:28:27 79.254012 79.254012
    libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
    libiomp5md.dll Intel(R) OpenMP* Runtime Library 5.0
    libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
    LogSession.dll LogSession 7.2.1.3399
    mediacoreif.dll photoshopdva 8.0.0
    MPS.dll MPS 2014/08/18-23:43:19 79.557676 79.557676
    pdfsettings.dll Adobe PDFSettings 1.04
    Photoshop.dll Adobe Photoshop CC 2014 15.2
    Plugin.dll Adobe Photoshop CC 2014 15.2
    PlugPlugExternalObject.dll Adobe(R) CEP PlugPlugExternalObject Standard Dll (64 bit) 5.0.0
    PlugPlugOwl.dll Adobe(R) CSXS PlugPlugOwl Standard Dll (64 bit) 5.2.0.46
    PSArt.dll Adobe Photoshop CC 2014 15.2
    PSViews.dll Adobe Photoshop CC 2014 15.2
    SCCore.dll ScCore 2014/01/21-23:58:55 79.551519 79.551519
    ScriptUIFlex.dll ScriptUIFlex 2014/01/20-22:42:05 79.550992 79.550992
    svml_dispmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
    tbb.dll Intel(R) Threading Building Blocks for Windows 4, 2, 2013, 1114
    tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 4, 2, 2013, 1114
    TfFontMgr.dll FontMgr 9.3.0.113
    TfKernel.dll Kernel 9.3.0.113
    TFKGEOM.dll Kernel Geom 9.3.0.113
    TFUGEOM.dll Adobe, UGeom© 9.3.0.113
    updaternotifications.dll Adobe Updater Notifications Library 8.0.0.14 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 8.0.0.14
    VulcanControl.dll Vulcan Application Control Library 5.0.0.82
    VulcanMessage5.dll Vulcan Message Library 5.0.0.82
    WRServices.dll WRServices Fri Mar 07 2014 15:33:10 Build 0.20204 0.20204
    wu3d.dll U3D Writer 9.3.0.113
    Required plug-ins:
    3D Studio 15.2 (2014.2.0 x001)
    Accented Edges 15.2
    Adaptive Wide Angle 15.2
    Angled Strokes 15.2
    Average 15.2 (2014.2.0 x001)
    Bas Relief 15.2
    BMP 15.2
    Camera Raw 8.6
    Camera Raw Filter 8.6
    Chalk & Charcoal 15.2
    Charcoal 15.2
    Chrome 15.2
    Cineon 15.2 (2014.2.0 x001)
    Clouds 15.2 (2014.2.0 x001)
    Collada 15.2 (2014.2.0 x001)
    Color Halftone 15.2
    Colored Pencil 15.2
    CompuServe GIF 15.2
    Conté Crayon 15.2
    Craquelure 15.2
    Crop and Straighten Photos 15.2 (2014.2.0 x001)
    Crop and Straighten Photos Filter 15.2
    Crosshatch 15.2
    Crystallize 15.2
    Cutout 15.2
    Dark Strokes 15.2
    De-Interlace 15.2
    Dicom 15.2
    Difference Clouds 15.2 (2014.2.0 x001)
    Diffuse Glow 15.2
    Displace 15.2
    Dry Brush 15.2
    Eazel Acquire 15.2 (2014.2.0 x001)
    Embed Watermark 4.0
    Entropy 15.2 (2014.2.0 x001)
    Export Color Lookup Tables NO VERSION
    Extrude 15.2
    FastCore Routines 15.2 (2014.2.0 x001)
    Fibers 15.2
    Film Grain 15.2
    Filter Gallery 15.2
    Flash 3D 15.2 (2014.2.0 x001)
    Fresco 15.2
    Glass 15.2
    Glowing Edges 15.2
    Google Earth 4 15.2 (2014.2.0 x001)
    Grain 15.2
    Graphic Pen 15.2
    Halftone Pattern 15.2
    HDRMergeUI 15.2
    HSB/HSL 15.2
    IFF Format 15.2
    IGES 15.2 (2014.2.0 x001)
    Ink Outlines 15.2
    JPEG 2000 15.2
    Kurtosis 15.2 (2014.2.0 x001)
    Lens Blur 15.2
    Lens Correction 15.2
    Lens Flare 15.2
    Liquify 15.2
    Matlab Operation 15.2 (2014.2.0 x001)
    Maximum 15.2 (2014.2.0 x001)
    Mean 15.2 (2014.2.0 x001)
    Measurement Core 15.2 (2014.2.0 x001)
    Median 15.2 (2014.2.0 x001)
    Mezzotint 15.2
    Minimum 15.2 (2014.2.0 x001)
    MMXCore Routines 15.2 (2014.2.0 x001)
    Mosaic Tiles 15.2
    Multiprocessor Support 15.2 (2014.2.0 x001)
    Neon Glow 15.2
    Note Paper 15.2
    NTSC Colors 15.2 (2014.2.0 x001)
    Ocean Ripple 15.2
    OpenEXR 15.2
    Paint Daubs 15.2
    Palette Knife 15.2
    Patchwork 15.2
    Paths to Illustrator 15.2
    PCX 15.2 (2014.2.0 x001)
    Photocopy 15.2
    Photoshop 3D Engine 15.2 (2014.2.0 x001)
    Photoshop Touch 14.0
    Picture Package Filter 15.2 (2014.2.0 x001)
    Pinch 15.2
    Pixar 15.2 (2014.2.0 x001)
    Plaster 15.2
    Plastic Wrap 15.2
    PLY 15.2 (2014.2.0 x001)
    PNG 15.2
    Pointillize 15.2
    Polar Coordinates 15.2
    Portable Bit Map 15.2 (2014.2.0 x001)
    Poster Edges 15.2
    PRC 15.2 (2014.2.0 x001)
    Radial Blur 15.2
    Radiance 15.2 (2014.2.0 x001)
    Range 15.2 (2014.2.0 x001)
    Read Watermark 4.0
    Render Color Lookup Grid NO VERSION
    Reticulation 15.2
    Ripple 15.2
    Rough Pastels 15.2
    Save for Web 15.2
    ScriptingSupport 15.2
    Shake Reduction 15.2
    Shear 15.2
    Skewness 15.2 (2014.2.0 x001)
    Smart Blur 15.2
    Smudge Stick 15.2
    Solarize 15.2 (2014.2.0 x001)
    Spatter 15.2
    Spherize 15.2
    Sponge 15.2
    Sprayed Strokes 15.2
    Stained Glass 15.2
    Stamp 15.2
    Standard Deviation 15.2 (2014.2.0 x001)
    STL 15.2 (2014.2.0 x001)
    Sumi-e 15.2
    Summation 15.2 (2014.2.0 x001)
    Targa 15.2
    Texturizer 15.2
    Tiles 15.2
    Torn Edges 15.2
    Twirl 15.2
    U3D 15.2 (2014.2.0 x001)
    Underpainting 15.2
    Vanishing Point 15.2
    Variance 15.2 (2014.2.0 x001)
    Virtual Reality Modeling Language | VRML 15.2 (2014.2.0 x001)
    Water Paper 15.2
    Watercolor 15.2
    Wave 15.2
    Wavefront|OBJ 15.2 (2014.2.0 x001)
    WIA Support 15.2 (2014.2.0 x001)
    Wind 15.2
    Wireless Bitmap 15.2 (2014.2.0 x001)
    ZigZag 15.2
    Optional and third party plug-ins: NONE
    Plug-ins that failed to load: NONE
    Flash: NONE
    Installed TWAIN devices: NONE
    http://feedback.photoshop.com/photoshop_family/topics/using-text-tool-freezes-photoshop-cc -2014-2-0-20140926-r-236-x64-release/replies/14873829 

    Check out this other thread I started
    http://feedback.photoshop.com/photoshop_family/topics/using-text-tool-freezes-photoshop-cc -2014-2-0-20140926-r-236-x64-release?utm_source=notification&utm_medium=email&utm_campaign =new_reply&utm_content=reply_button&reply[id]=14914157#reply_14914157
    There it's help there.  I've not totally solved my problem but others seemed to have.
    Richard

  • Using text links to open accordion panel

    How do I use text links (from the page's main menu) to
    programatically open a particular panel.
    here is the page:
    http://debrankin.com/tee/SITEDESIGN/
    for example: I want to click on "Resumes and Cover Letters"
    in the left hand menu to open the first accordion panel (by the
    same name). I have this set this page so that all panels are closed
    initially.
    i know i'm missing something because this obviously does not
    work: i've looked for documentation and this issue is inadequately
    addressed!

    twinflame wrote:
    > i know i'm missing something because this obviously does
    not work: i've looked
    > for documentation and this issue is inadequately
    addressed!
    Not really. The problem is that you have attempted to create
    a
    JavaScript object called accordion1 before the accordion HTML
    is even
    loaded into the browser. Moreover, the script that
    initializes the
    accordion is already in your HTML where it should be (after
    the
    accordion), but it uses Accordion1, not accordion1
    (JavaScript is
    case-sensitive.
    Remove this after your menu.
    > <script type="text/javascript">
    > var accordion1 = new
    Spry.Widget.Accordion("Accordion1");
    > </script>
    Change the links in the menu to Accordion1.openPanel(0),
    etc., and it
    should work.
    David Powers
    Adobe Community Expert, Dreamweaver
    http://foundationphp.com

  • How can i use text expander with the new Mavericks,

    how can i use text expander with the new Mavericks,

    I regret upgrading to mavericks for the same reason
    ftamez wrote:
    how can i use text expander with the new Mavericks,
    Now I have been searching - and you have to buy an app and it will cost you $34.99 (what a rip off)

  • How can i use text only instead of text plus the folder icon in the bookmarks toolbar; older firefox allowed this.

    I prefer using text only instead of text plus a folder icon in the bookmarks toolbar because it used less space and I can display more bookmark folders in that toolbar. Is that possible in Firefox 4.0? It was possible in the earlier versions of Firefox. If it is possible in Firefox 4.0 how do I do that? Thank you.

    First install the "Stylish:" extension then you have thousands of styles available to choose from, most consist of only a few lines, and you can modify them to suit yourself.
    * '''Stylish''' :: Add-ons for Firefox<br>https://addons.mozilla.org/firefox/addon/stylish/
    * '''Bookmarks Toolbar Fx4 Blue/Folders, Red/Bookmarks'''<br>http://userstyles.org/styles/46947/
    * '''some styles I use:'''<br>http://kb.mozillazine.org/User:Dmcritchie

  • Cannot get text file to print in jtable. Using text file as a database

    Instead of doing JDBC i am using text file as database. I cant get data from text file to print into JTable when i click find button. Goal is to find a record and print that record only, but for now i am trying to print all the records. Once i get that i will change my code to search desired record and print it. when i click the find button nothing happens. Can you please take a look at my code, dbTest() method. thanks.
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.util.*;
    import java.io.*;
    public class GUIdirectory extends JFrame
    implements ActionListener {
    // Define the components and the layout
    JLabel inputLabel_lastname = new JLabel("Last Name");
    JTextField inputText_lastname = new JTextField("Last Name",15);
    JLabel inputLabel_firstname = new JLabel("First Name");
    JTextField inputText_firstname = new JTextField(" ",15);
    JLabel inputLabel_middleinitial = new JLabel("Middle Initial");
    JTextField inputText_middleinitial = new JTextField(" ",4);
    JButton inputButton = new JButton("Find");
    JPanel inputLayout = new JPanel(new FlowLayout(FlowLayout.CENTER,5,5));
    JButton jButton1 = new JButton();
    //create a new table and scrollpane
    JTable dataTable = new JTable();
    JScrollPane dataTableScrollPane = new JScrollPane();
    public static void main(String args[]) {
    GUIdirectory gui = new GUIdirectory("Telephone Directory");
    gui.show();
    gui.pack();
    //TokenTest tt = new TokenTest();
    //gui.dbTest();
    public GUIdirectory(String Title) {
    super(Title);
    // Add ourselves as a listener for the window closing
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent we) {
    exitWindow(1); }
    inputLabel_lastname.setLabelFor(inputText_lastname);
    inputText_lastname.setHorizontalAlignment(JTextField.RIGHT);
    inputText_lastname.addActionListener(this);
    inputLabel_firstname.setLabelFor(inputText_firstname);
    inputText_firstname.setHorizontalAlignment(JTextField.RIGHT);
    inputText_firstname.addActionListener(this);
    inputLabel_middleinitial.setLabelFor(inputText_middleinitial);
    inputText_middleinitial.setHorizontalAlignment(JTextField.RIGHT);
    inputText_middleinitial.addActionListener(this);
    inputButton.addActionListener(this);
    inputLayout.add(inputLabel_lastname);
    inputLayout.add(inputText_lastname);
    inputLayout.add(inputLabel_firstname);
    inputLayout.add(inputText_firstname);
    inputLayout.add(inputLabel_middleinitial);
    inputLayout.add(inputText_middleinitial);
    inputLayout.add(inputButton);
    getContentPane().setLayout(new BorderLayout(5,5));
    getContentPane().add("North",inputLayout);
    dataTableScrollPane.setViewportView(dataTable);
    getContentPane().add("Center",dataTableScrollPane);
    // A default method, primarily used for testing.
    public void actionPerformed(ActionEvent evt) {
    GUIdirectory gui = new GUIdirectory();
    gui.dbTest();
    void dbTest() {
    DataInputStream dis = null;
    String dbRecord = null;
    String hold;
    try {
    File f = new File("customer.txt");
    FileInputStream fis = new FileInputStream(f);
    BufferedInputStream bis = new BufferedInputStream(fis);
    dis = new DataInputStream(bis);
    Vector dataVector = new Vector();
    Vector headVector = new Vector(2);
    Vector row = new Vector();
    // read the record of the text database
    while ( (dbRecord = dis.readLine()) != null) {
    StringTokenizer st = new StringTokenizer(dbRecord, ",");
    while (st.hasMoreTokens()) {
    row.addElement(st.nextToken());
    System.out.println("Inside nested loop: " + row);
    System.out.println("inside loop: " + row);
    dataVector.addElement(row);
    System.out.println("outside loop: " + row);
    headVector.addElement("Title");
    headVector.addElement("Type");
    dataTable = new JTable(dataVector, headVector);
    dataTableScrollPane.setViewportView(dataTable);
    } catch (IOException e) {
    // catch io errors from FileInputStream or readLine()
    System.out.println("Uh oh, got an IOException error!" + e.getMessage());
    } finally {
    // if the file opened okay, make sure we close it
    if (dis != null) {
    try {
    dis.close();
    } catch (IOException ioe) {
    } // end if
    } // end finally
    } // end dbTest
    // Exits the program upon closing the window
    public void exitWindow(int i) {
    System.exit(i);
    public GUIdirectory() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    jButton1.setText("jButton1");
    this.getContentPane().add(jButton1, BorderLayout.CENTER);

    Nothing happens because in the actionPerformed() method you are creating a new version of GUIdirectory. You just want to execute the dbTest() method of the current instance of GUIdirectory.
    The code should be:
    public void actionPerformed(ActionEvent evt)
    //GUIdirectory gui = new GUIdirectory();
    //gui.dbTest();
    dbTest();

  • I would like to use slideshow in lightroom to export my video as a full screen 1920x1080 video with text overlays.  I am using text overlay in lightroom as it reads from the metadata that is easy for me to input in the library screen.  When i export from

    I would like to use slideshow in lightroom to export my video as a full screen 1920x1080 video with text overlays.  I am using text overlay in lightroom as it reads from the metadata that is easy for me to input in the library screen.  When i export from lightroom slideshow and choose the 1920x1080 resolution the end product is a very small video in the middle of a black background.  i have double checked and do not have any borders turned on.  Another option would be to export from the library but lr mogrify does not seem to put text overlays on video either.  Any input would be welcome.

    I dont understand anything you said in your post.
    Do you have a specific question about video production?
    The forums are for individual technical or creative issues that users have with video production. I am sur someone will be able to help you, but and to get a response it is best to ask a specific question.
    Is this about a technical problem you have or something about setting up a web site? If its the latter this is the wrong forum.

  • Time Format using text variable with replacement path

    Hi Friends,
                                 I've used "Text variable with replacement path" to make the column heading dynamic by replacing the values referring from "0calday"...
    everything is working fine, but here it is displaying the time format like
    YYYYMMDD (20030101), i want it to be displayed DDMMYYYY (01012003) in the column heading... how to make it possible?
    pls waiting for ur inputs, it's an urgent...
    Regards,
    Pattnaik

    Hi Satyakam,
    In the text variable properties make sure that in the replacment path you have chosen "Text" to appear date as per user setting . Other wise as in your case it must be set to "Key" which always shows in the format YYYYMMDD.
    Hope that helps.
    Regards
    Mr Kapadia

  • Using text in JSpinner SpinnerNumberModel.

    I was wondering if there is a way that I can use text in JSpinner SpinnerNumberModel.
    I have created a spinner as following:
    JSpinner spinner = new JSpinner(new SpinnerNumberModel(0,0,127,1));
    What I would like to do is put Text within the NumberModel so that when the spinner hits 127, it will display text such as "OFF"
    Is there a way I can implement this with a Spinner?
    Any help would be appreciated.
    Thanks.

    or you can paint a string, like this
    public void paint(Graphics g) {
         super.paint(g);
         g.drawString("Hello World!", x,y);  // replace x, y with your own coordinates
    }hope that helps

  • Show the period value in column header using Text Variable

    We are using Posting Period & Financial Year to calculate YTD & MTD, for current year and previous years. These posting period and financial year characteristics are custom created characteristics we are using due to customer specific requirement.
    Input values are posting period, financial year and numeric value. To calculate previous year, I need to subtract numeric value from the input financial year. Every thing is working fine up to this.
    In the report I need to show the posting period and financial year values dynamically in each column header of the report for MTD, YTD for current year & previous year. I tried to achieve this using Text Variables, but I didn’t succeed. If some one can give me some idea to resolve this, it would be very helpful.
    I am excellent in ABAP coding. If you can specify me to code in User Exit, I can do it.
    Column headers should be 08.1999 Sales Qty, 08.2008 Sales Qty, 1999 Sales Qty, 2008 Sales Qty.

    Hi Abhinav,
    Try using the content text variables 0T_FYEAR and 0T_FPER3, when used in the head these variable should display the year and period specified in the RKF.
    e.g
    &0T_FPER3&. &0T_FYEAR& Sales Qty = 08.1999 Sales Qty
    If that doesnt work, try creating text replacement path variables referencing the variables you created for the year and period input. To do this click on the RKF and click on the dropdown by the yellow box next to the description on the general tab and select New Variable, enter the description, tech name and set processng by to Replacment Path, then select period as the ref. characteristic, then on the replacement path tab change replace variable with to variable and then select the variable you are using for the period input, save then hit ok, this is now a text representation of the variable your are inputing for period and can be used in the column headers, you will need to repeat the process for the fiscal year.
    Hope this helps
    Josh

  • Using  texting on-line via a pc

    I personally don't have text messaging.  Is it FREE to use texting via my pc to other customers of Verizon?

     It does not cost anything to send a text from your computer.
    . How do I join Vtext.com?vtext.com. Passwords are case sensitive.  
    To join vtext.com, do the following: Enter your 10-digit mobile phone number
    in Box #1 using ONLY numbers. Do not enter dashes, symbols or spaces.
    Click Send to receive your temporary password as a text message on your
    mobile phone. After you have received your temporary password, enter it in
    Box #2. Enter your desired new password in Box #3. You will need this
    password each time you log back into
    This means that each time you enter your password throughout the site, you
    must type it exactly as you just entered it above. Re-enter your new password
    in Box #4 to confirm spelling. Click Save.
    This site expands your Text Messaging service by offering a spectrum of cool
    messaging features. Register your mobile phone number at
    additional information, click on the How do I Sign In?To sign in, enter your mobile number (using ONLY numbers and NO
    dashes or spaces) and enter your password.  Your mobile number and password can be
     remembered on your computer by choosing the Remember My, Mobile Number and
    Mobile Number & Password checkboxes.  Click the Go button on the side navigation or the Login button onthe Sign In page. You are now signed in. Take a look around. Click the Sign Out link to sign out of  vtext.com 
    What is Vtext.com?Vtext.com is a companion web site for use by subscribers of Text Messaging. www.vtext.com to personalize your messaging experience. Registering is as easy as 1-2-3. Forvtext.com Help tab

  • Using text in imovie

    I would like to use text on blank backgrounds in imovie with sound. What would be the best way to do this? Importing a pdf is not working. Do I need another program to make the text into a jpeg?
    Thanks.

    Hello Anne,
    what exactly are you trying to do? if you would likee to make titles, click the titles tab and check out the options there.
    if you feel that you need other titling tools you might want to consider checking out the sites of either virtix or stupendous software. they offer a lot of plug-ins for iMovie.
    if titling itself doesn't do the trick you will have to produce an image file, which you then import into your project. i would suggest you go for a TIFF image for better quality. note that you will have to get the dimensions right for your video standard:
    NTSC 720 x 480 px.
    PAL 720 x 576 px.
    you also might want to consider doubling these values in order to increase image quality on the screen. in any case when making a still image to be used in a video resolution must be set 72 dpi.
    hope it helps & viva la mela

Maybe you are looking for