Creating a panorama, for use on a tablet (HTML5/CSS3/JS/PhoneGap/CS5.5)

I'm looking for a way to do a panorama image that the user can simply drag left/right to pan the image and view around the panorama. Without a cursor this is becoming a bit difficult. Looking for some javascript/phonegap/jquerymobile/cs5.5 tips that might make this easier.
jQuerymobile can tell you basic events like swipeleft, swipe, swiperight, tap, etc. What I'm interested in is when the user touches and drags their finger, I'd just like to slide the image. What I find is that javascript seems to "stop" the moment the onmousedown event occurs. I poll for the cursor position (event.clientX) but it's not updating until I let go. On a standard browser it dutifully keeps updating the value even though I have the mouse button down.
What potential ways could I execute this horizontal sliding panorama using the above technologies in CS5.5/JS/CSS3/HTML5?
Thanks for any tips!

I did find a nice resource on an exhaustive effort to check compatibility of various browsers and devices and to my suprise there's a mobile touchmove event I never knew about. This event fires off in both my iPad and Android tablet (and phones for that matter). The problem is, the data returned does not contain any kind of position information. It has clientX and pageX and such but they have no usable values.
Here's a demo I'm using as an example. I just want to pan the large (randomly googled) image to the left and right when I drag my finger on it. I'm printing out the touchmove data that is returned along with a 'count' variable so you can see how many times it has fired off. Note: this only works on tablets/phones, not a desktop browser.
Any tips on doing this?

Similar Messages

  • HT4191 iPhone Local Storage "My iPhone" - How do you create this folder for use by the Notes app on a iPhone or iPad?  If I want to keep some notes only on my device and not in a cloud environment associated with an e-mail account.

    iPhone Local Storage "My iPhone" - How do you create this folder for use by the Notes app on a iPhone or iPad?  If I want to keep some notes only on my device and not in a cloud environment associated with an e-mail account.  I've seen reference to the  "My iPhone" local storage put no mention on how you create this folder or access this folder within the Notes app.  I realize storing information in a local storage like this provides no syncing between other iDevices but that is exactly what I'm looking for.  I'm running iOS7.0.4 on a iPhone 5S, and a iPad Air.  Any help would be greatly appreciated.

    If you go to Settings > Notes > Default Account you will see "On My iPhone" as the default account and the only choice if you have not enabled syncing Notes in Settings >iCloud or Settings > Mail, Contacts, Calendars. If you have enabled syncing you can still select "On My iPhone" as the default account. When you are in the Notes app you won't see any accounts listed if you have not enabled syncing because they are all in the On My iPhone account and that is the only place possible. It is not a folder that you create.

  • Can 10G express be used to create an application for use with a 10G instanc

    Hi
    Can 10G express be used to create an application for use with a 10G instance? I am new to Oracle 10G. I like the interface for creating applications, maintaining users, etc. Can this tool be pointed at a regular instance of 10G so that applications can be created against a regular 10G database not the express database?
    Can PL/SQL proceedures that are created in 10G express also be migrated to a 10G database?
    Thanks in advance
    Dean-O

    Can 10G express be used to create an application for use with a 10G instance?Yeah, that's the whole point from a marketing perspective ;)
    Can this tool be pointed at a regular instance of 10G so that applications can be
    created against a regular 10G database not the express database?Yes but it's a different version. Check out:
    http://www.oracle.com/technology/products/database/application_express/index.html
    Can PL/SQL proceedures that are created in 10G express also be migrated to a 10G database?Yes they can!
    ~Jer

  • How to create SDA file for using AXIS Framework in the SOAP Adapter

    Hi experts,
    I have the following question:
    How I can create the SDA file aii_af_axisprovider.sda for using the AXIS Framework in the SOAP Adpater described in http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/content.htm ?
    I have downloaded the files axis.jar, commons-discovery-0.2.jar, commons-logging-1.0.4.jar, commons-net-1.0.0-dev.jar and wsdl4j-1.5.1.jar. But how to create the SDA file aii_af_axisprovider.sda? Which tool I have to use for this? It is enough to compress these 5 jar-files in the sda file or need I further files with further information (meta information etc.)?
    Thanks and best regards
    Christopher

    Hi Christopher,
        Check this discussion if you have not checked already.
    Re: NTLM Authentication dosent work with XI ?
    Regards,
    Ravi

  • How to create a BOM for use in purchasing

    Hello Experts
    We are a University, and I have been asked to create something similar to a bill of material for using on a purchase order.
    We purchase light bulbs from a supplier, but each bulb also incurs a 15p disposal charge and this charge has to be shown as a separate line item on the purchase order.  So we want to create a material that when used pulls through an additional line for the disposal charge.  Also the light bulbs are held in stock and are issued out to departments, therefore the cost of the light bulb and disposal charge must be charged out too.
    Thanks

    HI,
    Bills of material are best used when there are components that are relevant. They CAN be used for things like you mention here but I am not sure that it will help your business requirements.
    I would suggest that you consider adding the charge as a new pricing condition.
    That way the total cost of the item will be the price plus the disposal charge. If you use a separate line on the PO the cost of the disposal will not be connected to the cost of the bulb and so when you issue any they will use the cost without the disposal charge.
    SO I would create an info record and enter the details of the price and then add in a surcharge condition type (for the disposal cost).
    That ay whenever you order these bulbs from this vendor, the system will propose the cost including the disposal cost.
    Steve B

  • Create a Task, for use in "Deferred Task"

    I am in the processing of creating Deferred Tasks for my Update-User workflow.
    I know how to create these easily. My problem is : the actual "Task" itself, which will be called upon from the Workflow.
    I don't know the proper syntax for it.
    For instance, below is the code I am using for my "Send Email Task". This task is supposed to send an automatic email notification.
    *<?xml version='1.0' encoding='UTF-8'?>*
    *<!DOCTYPE TaskDefinition PUBLIC 'waveset.dtd' 'waveset.dtd'>*
    *<!-- MemberObjectGroups="#ID#Top" authType="UserAdminTask" createDate="Thu Jul 16 15:22:08 EEST 2009" extensionClass="WFProcess" name="Send Email Task" visibility="invisible"-->*
    *<TaskDefinition name='Send Email Task' creator='%STARTUP%Configurator' createDate='1247746928617' lastModifier='%STARTUP%Configurator' lastModDate='1247746928617' repoMod='1247746928170' primaryObjectClass='TaskDefinition' wstype='ProvisioningTask' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='3600' resultOption='delete' visibility='invisible' progressInterval='0'>*
    *<Extension>*
    *<WFProcess maxSteps='0' audit='true'>*
    *<Variable name='user' input='true'>*
    *<Comments>&#xA; A user view. This is required.&#xA; </Comments>*
    *</Variable>*
    *<Variable name='backgroundProvisioning' input='true'>*
    *</Variable>*
    *<Variable name='provisioningRetryButton' value='true' input='true'>*
    *<Comments>&#xA; Set to "true" to enable the inclusion of a Retry link&#xA; in the task result if the provisioning fails.&#xA; </Comments>*
    *</Variable>*
    *<Variable name='approvals'>*
    *<Comments>&#xA; Returned from the Lighthouse Approval process. Contains the&#xA; approval structure. The approvals.approved variable set if&#xA; all approvals were successful. This is passed into the Notify&#xA; process later for post-provisioning notifications.&#xA; </Comments>*
    *</Variable>*
    *<Variable name='userCreated'>*
    *<Comments>&#xA; Set to "true" from the Provision workflow when the&#xA; Lighthouse account has been created.&#xA; </Comments>*
    *</Variable>*
    *<Variable name='sunset'>*
    *<Comments>&#xA; Object containing information for registering a sunset date/time.&#xA; </Comments>*
    *</Variable>*
    *<Variable name='error'>*
    *<Comments>Set in the event of unusual processing errors.</Comments>*
    *</Variable>*
    *<Variable name='options'>*
    *<Comments>Options to pass to the provisioning task regarding resource&#xA; provisioning.&#xA; </Comments>*
    *</Variable>*
    *<Transition to='end'>*
    *<Comments>&#xA; Terminate if we encounter unusual errors (not provisioning errors).&#xA; </Comments>*
    *<ref>error</ref>*
    *</Transition>*
    *<Activity id='0' name='start'>*
    *<Transition to='Notify'/>*
    *</Activity>*
    *<Activity id='1' name='Notify'>*
    *<Action id='0' name='Email' application='com.waveset.provision.WorkflowServices'>*
    *<Argument name='op' value='notify'/>*
    *<Argument name='template' value='Send Email Now'/>*
    *</Action>*
    *<Transition to='End'/>*
    *</Activity>*
    *<Activity id='2' name='end'>*
    *<WorkflowEditor x='428' y='275'/>*
    *</Activity>*
    *</WFProcess>*
    *</Extension>*
    *<MemberObjectGroups>*
    *<ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>*
    *</MemberObjectGroups>*
    *</TaskDefinition>*
    I am not sure if my syntax is correct?
    Any tips?

    Thanks again, sbalu.
    I may have found the error (although, I don't understand what it means).
    Something about *"Missing View"*
    Catalog#format() Entry locale=null, key=SES_WORKITEM_MISSING_VIEW, defVal=SES_WORKITEM_MISSING_VIEW
    20091126 08:28:22.701 TaskThread(0x0052fecf) Catalog#format() Info parameters=null
    20091126 08:28:22.701 TaskThread(0x0052fecf) Catalog#format() Info tmp=null
    20091126 08:28:22.701 TaskThread(0x0052fecf) Catalog#format() Info pattern=Missing view id.
    20091126 08:28:22.701 TaskThread(0x0052fecf) Catalog#format() Info msg=Missing view id.
    20091126 08:28:22.701 TaskThread(0x0052fecf) Catalog#format() Exit returned= Missing view id.
    20091126 08:28:23.092 TaskThread(0x0052fecf) DeferredScanner#addTaskResult() Entry name=Send Email Task, ti=TaskInstance:Send Email Task tdalton
    20091126 08:28:23.092 TaskThread(0x0052fecf) Catalog#format() Entry locale=null, key=SES_WORKITEM_MISSING_VIEW, defVal=SES_WORKITEM_MISSING_VIEW
    20091126 08:28:23.092 TaskThread(0x0052fecf) Catalog#format() Info parameters=null
    20091126 08:28:23.092 TaskThread(0x0052fecf) Catalog#format() Info tmp=null
    20091126 08:28:23.092 TaskThread(0x0052fecf) Catalog#format() Info pattern=Missing view id.
    20091126 08:28:23.092 TaskThread(0x0052fecf) Catalog#format() Info msg=Missing view id.
    20091126 08:28:23.092 TaskThread(0x0052fecf) Catalog#format() Exit returned= Missing view id.
    20091126 08:28:23.092 TaskThread(0x0052fecf) DeferredScanner#addTaskResult() Exit void
    20091126 08:28:23.092 TaskThread(0x0052fecf) DeferredScanner#launchTask() Data executeOnce= false
    20091126 08:28:23.092 TaskThread(0x0052fecf) DeferredScanner#launchTask() Exit returned= false
    20091126 08:28:23.092 TaskThread(0x0052fecf) DeferredScanner#processTrigger() Exit returned= false
    20091126 08:28:23.092 TaskThread(0x0052fecf) DeferredScanner#endObject() Entry no args
    20091126 08:28:23.092 TaskThread(0x0052fecf) DeferredScanner#endObject() Exit void
    20091126 08:28:23.092 TaskThread(0x0052fecf) DeferredScanner#processObject() Exit returned= false
    20091126 08:28:23.092 TaskThread(0x0052fecf) DeferredScanner#processDeferredTasks() Data idOrName== #ID#6BF7-:B3702F65421:491FD113-:D0E4376B71977D1D
    20091126 08:28:23.092 TaskThread(0x0052fecf) DeferredScanner#processDeferredTasks() Data nameOrId== ukaila
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#processDeferredTasks() Data object lastMod= 24
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#processObject() Entry obj=User:ukaila
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#processObject() Data tasks= [ { accountId=ukaila, task=Send Email Task, name=Send Email Task, date=11/25/2009 11:15:00 } ]
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#processObject() Data task list object= { accountId=ukaila, task=Send Email Task, name=Send Email Task, date=11/25/2009 11:15:00 }
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#processTrigger() Entry obj=User:ukaila, trig={ accountId=ukaila, task=Send Email Task, name=Send Email Task, date=11/25/2009 11:15:00 }
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#processTrigger() Data start= 11/25/09 11:15 AM
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#processTrigger() Data _now= 11/26/09 8:28 AM
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#processTrigger() Data task definition= CSC Send Email Task
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#startObject() Entry obj=User:ukaila
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#startObject() Entry type=User, nameOrId=ukaila
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#startObject() Exit void
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#startObject() Exit void
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#processTrigger() Data task template= null
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#processTrigger() Data task definition= TaskDefinition:Send Email Task
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#processTrigger() Data task template= TaskTemplate:null
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#launchTask() Entry obj=User:ukaila, trig={ accountId=ukaila, task=Send Email Task, name=Send Email Task, date=11/25/2009 11:15:00 }, tt=TaskTemplate:null
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#launchTask() Data taskName= null
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#launchTask() Data generated taskName= Send Email Task ukaila
    20091126 08:28:23.123 TaskThread(0x0052fecf) TaskTemplate#setTaskName(String) Entry no args
    20091126 08:28:23.123 TaskThread(0x0052fecf) TaskTemplate#setTaskName(String) Exit void
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#launchTask() Data orgName= null
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#launchTask() Data owner= null
    20091126 08:28:23.123 TaskThread(0x0052fecf) DeferredScanner#launchTask() Data subjectLength= 29,650
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#create(Element) Entry element=[Map: null]
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#getConstructor() Entry element=[Map: null]
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#getConstructor() Info elname=Map
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#getConstructor() Info classAtt=null
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#getConstructor() Info classAtt=null
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#getConstructor() Info regName=Map
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#getConstructor() Exit returned= com.waveset.util.XmlObjectFactory$Registration@1edf84f
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#create(Element) Info handler=com.waveset.util.XmlHashMap@493dca
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#create(Element) Entry element=[Locale: null]
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#getConstructor() Entry element=[Locale: null]
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#getConstructor() Info elname=Locale
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#getConstructor() Info classAtt=null
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#getConstructor() Info classAtt=null
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#getConstructor() Info regName=Locale
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#getConstructor() Exit returned= com.waveset.util.XmlObjectFactory$Registration@77a748
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#create(Element) Info handler=com.waveset.util.XmlLocale@1876e5d
    20091126 08:28:23.123 TaskThread(0x0052fecf) XmlObjectFactory#create(Element) Exit returned= en_US

  • My software can not create with thinapp for use in workspace

    i have problem appear  this error when i am create a software with thinapp for workspace for all of them i get this error when click on save
    Could not copy file C:\Users\Administrator\NTUSER.DAT -> C:\Program Files (x86)\VMware\VMware ThinApp\Captures\GOM\%drive_C%\Users\Administrator\NTUSER.DAT
    Could not copy file C:\Users\Administrator\ntuser.dat.LOG1 -> C:\Program Files (x86)\VMware\VMware ThinApp\Captures\GOM\%drive_C%\Users\Administrator\ntuser.dat.LOG1
    i have login with admin domain user (Administrator) now what is the problem ?  i have attached error appear this error for most of spftware that i want to create with thinapp and can not sync any of these software in workspace
    Best regards
    babak

    thanks
    i readed that post but it was not usefull i do all of these steps on the other host and it work fine just on the other host my os is windows server 2008 r2 but on that machine which get eror my os is server 2008 r2 sp1
    i think it is not very important
    in addition when we create a software for workspcae with thinapp it have to create 4 files .dat , .alt , .msi , .exe  but here when get error just create 3 file  .alt can not create

  • Create drawing toolbar for use on website

    So first and foremost I need to mention that I am a complete novice when it comes to flash. However, what I need to create is an interactive toolbar to be featured on my website, similar to that of MS word draw toolbar or something like this http://drawisland.com.
    It needs to be supported by most browsers so I was informed that Flash would be the way to do this. I'm using a mac and I currently have flash CS5. Any tips would be hugely appreciated

    Here are a couple of tutorials that should get you started:
    A Smooth and Responsive Drawing Application in AS3 Flash
    http://code.tutsplus.com/tutorials/create-a-basic-drawing-application-in-flash--active-162 7

  • Creating a GUI for use on an Ethernet Network

    I'm designing a data logger to log voltage, current and temperature data on a reserve battery string while it's being charged. The logger will have the capability to be viewed remotely via Ethernet. With that said, I'd like some advice regarding the GUI for the remote PC which will be used to view the logger. Will it be easier to create the GUI using LabView or another high-level language  (Java, C++ etc)? (Note: I have some programming experience in C (though I've never written/created a GUI) and I've never used LabView).
    Solved!
    Go to Solution.

    Hi Joe1373.  In general, for a small one-off project, I would suggest you go with a language you know.
    In this case it sounds like whatever you choose you will have a learning curve, so I would recommend
    LabVIEW if that is a possibility cost-wise.  LV has a lot of built-in support for GUI development so
    you can make realtively sophisticated GUIs without a whole lot of work/learning.
    There are time-limited evaluation versions of LV available for download.  I would take a look there, especially
    the examples.  Find something a little similar to what you want to do, then change the GUI on the 
    example to more closely match your ultimate objective to get a feel for the GUI development in LV.
    This forum is a great resource with some very helpful developers, so come back with questions.
    There are also many professional developers available to assist if you have a budget or inclination
    towards that direction.
    Matt

  • Opinion of creating s/w for using JDBC

    Hi,
    Can anyone pls give opinion regarding this case.
    I plan to create a JDBC s/w which is used to connect to linux server.The Database that i m going to use is mySQL for storage and use red hat linux 9.0 for client platform.
    My questions are :
    1) I have to install the JDBC s/w in three different places and insert or retrieve data from DB(DB is placed in another place).What kind of JDBC s/w should i create?Is it just create normal JDBC s/w and set URL in Properties file in order to connect to DB?
    2) What is the different between J2SE(in writing s/w) and J2EE?
    3) Can i use J2SE to write this s/w?If no,pls give some opinion.
    4) What are the possibilities/better ideas(including technologies that i use) that i can do in order to implement this client/server system?
    Thanks in advance for replying this message.
    Regards,
    marcalena

    Hi duffymo,
    I appreciate for your opinions.
    Yes i agree with your ideas/opinion.Three app need to update immediate to centralize DB in order to update latest information.I know the important of this.
    Can i do it in this way?
    Three app is connected to Internet,but i am not going to create app in JSP/Servlet,since i am not that familiar with those technologies.
    My idea of creating these 3 app are instead of using JSP/Servlet i create app by using J2SE technologies.Yes they will be connected to Internet,for certain purposes(for instance update latest information to centralize DB) i would use java.net package which set URL that could point to centralize DB and update/retrieve information instead of using JSP/Servlet).Then the rest of the features which are provided by app i will make it offline(features that are used within a branch,besides of updating latest information to centralize DB).
    So the scenario will be:
    Each app does its own jobs offline(like calculation,make reservation and etc),but when app needs to update/retrieve latest
    information,i would use java.net to fulfill the purposes.
    My question are:
    1) Is my idea good enough to make app work?If no,that means i really need to use JSP/Servlet to accomplish those tasks,can you give me ideas of creating app(overall picture of network architecture,and the ways of how they are interacted).
    Thanks in advance for duffymo.
    Regards,
    marcalena

  • Creating interactive quizzes for use in InDesign CS6 DPS ebooks

    Hi
    Are there any Adobe products that I can use to create interactive quizzes that I can just drop into InDesign when producing ebook apps using the DPS. We’ve tried creating the quizzes in Adobe Presenter and Captivate, but couldn’t get the output to work in InDesign.
    Ideally, I'm looking for a quiz generator that has a choice of question types and a input interface to enter the question details, much like that found in Adobe Presenter.
    Any suggestions would be welcome.
    Thanks

    Neil,
    I'm not a Captivate user but I downloaded the trial version, built a simple quiz and published it as per James’s instructions.  I unchecked the box so that the timeline isn’t shown during the quiz.  Since I’m not really familiar with Captivate, this might seem like a stupid question. Is there a way of not showing the initial screen with the play button and timeline at the bottom, so that the user would just see the first slide of the quiz in the publication?  I also see the timeline on the Results slide.  Can I turn that off?  Or should I be posting this question on the Captivate forum?!
    Thanks,
    John

  • Is there an easy way to create simple forms for use in iweb?

    or a template?
    I need to create a reply form on the site I am working on.
    thanks

    After a few days of working on this issue the tutorial is updated to make the form be sent from within the webpage with extra form additions available as well!
    The form is fully customizable for background color or image background, there's no ads or service to sign up for, all you have to do is copy and paste a code into your html and enable cgi and/or php on your host with some additional small tweeks here and there to put it all together. Basically it's the do it yourself way.
    *The form on the tutorial link provided still opens the Email app when the form is submitted but we have tested this method on our other sites using the same procedures mentioned with successful results.

  • How to create a dialog for use by an Excel AddIn?

    I know the basics of Excel AddIns, but have no idea how to design, implement and later display an internal dialog.
    The "Smart Quote Paste" function below is done, and it does not need any parameters. The function corresponding to the "New Project" button, however, needs to create a number of spreadsheets, provided by the user.
    TIA.

    Hello Travis,
    For example:
    const string message =
    "Are you sure that you would like to close the form?";
    const string caption = "Form Closing";
    var result = MessageBox.Show(message, caption,
    MessageBoxButtons.YesNo,
    MessageBoxIcon.Question);
    // If the no button was pressed ...
    if (result == DialogResult.No)
    // cancel the closure of the form.
    e.Cancel = true;
    If you want to customize it on your own, you can add a new Windows Form to the project and then add the required controls. After creating an instance of the form in the code you may show it using the Show or ShowDialog methods.

  • Creating Plugin Modules for Use with Compiled Code

    Hi all,
    While programing a data analysis package in Labview, I've run into a problem that I don't really know how to answer.  It goes something like this: my program receives data from measurement devices in the form of ASCII or binary files, which I must then process and evaluate.  The problem is, the data files can have a variety of different formats.  Right now, I only know of 4 or 5, but more could literally be added at any time.
    My thought is this: I'd love to have some sort of modular plugins for reading the data files.  In other words, I could have a subfolder under my application's space in the "Program Files" directory.  The subfolder would contain any number of "ReadFileX.xxx" modules.  Upon initiation, my code would scan that folder, determine the possible formats (based on the *.xxx files therein), and be capable of reading any of the files.  Ideally, the user would select a file, I would note its format, and call the appropriate plugin module to handle reading the data into my code.
    What is the best approach for doing something like this?  I looked (briefly) into using DLL's, but (from what I can tell) I would need to explicitly define the function name and the inputs / outputs in the "Call Library Node" function.  This would appear the break the modularity feature, as I want to be able to load the software, and then develop new plugins down the road when the need arises.  I also found some information on source distributions (in an LLB).  This option would probably work, but my efforts at coding a basic test of VI-Server were met with errors.
    Does anyone have any experience performing a similar task?  If so, would you share your knowledge / secrets with me?  I would be extremely grateful for your feedback.
    Thanks!
    Mark

    Mark - there is a Coding Challenge currently going on, and I have submitted an entry that shows how to dynamically instantiate a class based on a class that resides on disk. Specifically, you're going to be interested in "Get LV Class Default Value.vi" under the "Cluster, Class, and Variant" palette that allows you to create an instance of an object based on the path of the .lvclass file. The class you load is going to be what's called a child class of a parent class (or base class), where the child class implementation overrides the function of the parent class. The "Get LV Class Default Value.vi" is very loosely analogous a Class Constructor.
    You can deploy your application having implemented all the base class functions, then subsequently develop and deploy new classes to reside in a "plugins" folder without needing to change the original app code.
    If you find that contest entry helpful, consider dropping a vote, huh? The LabVIEW Communities have had access errors sporadically the past few weeks, so if you get a "Server Error" you may need to try again later. There's also going to be Forums maintenance today and tomorrow.
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • Creating new Attributes for use with AttributedStrings

    I trying to find a way to change the color of key strings in a phrase so that they stand out. For example.
    the String (The water is HOT). I want the word HOT to be the color RED.
    I have noticed in using the TextAttributes option on the AttributedString doesn't have an option to change a color for a particular word in a String only a way to swap the foreground and background colors. In general is there a way to add new attributes for doing the above example?
    Just a note. This modification is not being done in an editor pane or text field. I'm looking for a way to do this without user interaction.

    If you are not drawing this in an JEditorPane, but just with DrawText, you will have to split the text up your self, draw the first half, then switch colors, then draw the second half.

Maybe you are looking for