Another Question for C++ question QML class

Hello

I have a class that I joined in QML. I have a couple of Q_PROPERTY int and QString. Now I would like to spend a lot of information to the QML which includes data elements. I would spend the entire data group from the C++ QML and then have easy access to data elements.

I was wondering what the best structure to allow that load the structure in C++ and access the items in the QML.

Thanks in advance.

Just thought that I would finalize the solution that worked and marks it as such.

all

class PData::PData(QObject* parent) {

  Q_PROPERTY(QVariantList pData READ pData NOTIFY pDataChanged)
public:
  QVariantList pData();

signals:
  void pDataChanged();
private:
  QVariantList m_pData;

.cpp

QVariantList PClass:pData()
{
  return m_pData;
}
void function() {
  QVariantMap tMap;
  tMap["t1"] = 1;  tMap["t2"] = 2;
  m_pData.append(tMap);  emit pDataChanged();}

. QML

onPDataChanged: {
  var pItem = myPData.pData;  var dataMap = pitem[0];  var t1 = dataMap["t1"];  var t2 = dataMap["t2"];
}

attachedObjects: [  PData {    id: myPData  }]

Thanks to all who helped.

Tags: BlackBerry Developers

Similar Questions

  • Using C++ in QML classes: need for Clarification

    I have read the document using classes in QML C++ and understood that we must call qmlRegisterType before using C++ in QML classes.

    But I found that some (or all?) of the classes can be used in QML without call qmlRegisterType in advance.

    Example of

    import bb.device 1.0
    
    Page {
      attachedObjects: [VibrationController {id: qmlvib}]
      Container{
           Button {
                        text: "Test vibrate"
                        horizontalAlignment: HorizontalAlignment.Center
                        onClicked: qmlvib.start(100,100)
                       }
        }
    }
    

    I also found the SensorDemo project using many classes of QML sensor final qmlRegisterType<>(). But it does not call qmlRegisterType<>for VibrationController (?).

    I wish I had a few questions:

    1. How will I know which classes can be used in QML without qmlRegisterType<>()? Is there a list or the rule to help me know?

    2. what should I look at to decide using C++ class in QML directly (without qmlRegisterType<>(()) or with qmlRegisterType<>(): as the performance, memory management,...?

    3. If you can choose to use the C++ in QML class directly (without qmlRegisterType<>(()), BB shoud put it in the paper?

    Sorry for the many questions. I'm just a beginner on BB.

    Thank you very much!

    (1) I think that some classes are pre-registered. If it works without adding it yourself: looks like it was a.
    (2) I don't think that there is a performance issue with the help of registerType
    (3) No, there is not, just of the classes that are recorded automatically by the system.

  • Yes, another question regarding the freezing of Safari - EtreCheck report included

    Yes, another question regarding the freezing of Safari.

    From a little over a month (I think), Safari started freezing regularly whenever I want to open new tabs or switch between tabs. I found myself to leave the program several times per day / hour. I can't identify any specific common cause (other than my MacBook being old) or any new software or updates that might have initiated the question. At first I thought he might have many tabs, I tried to open, but recently it happens even with only a few tabs open.

    I worked through the steps I found in this forum and others: empty the cache, start in safe mode, etc nothing works.

    Based on the previous suggestions, I have downloaded and run EntreReport which I included below. The note and maybe just a distraction, but EntreReport has crashed three times tonight, before he was able to produce the sub report. I ran the report after restarting my system with no other programs running.

    Suggestions are welcome at this stage because I want to start using Chrome or Firefox because I like the transfer procedure between my devices.

    Thank you in advance.

    Ben

    -----------

    EtreCheck version: 2.9.11 (264)

    Report generated 2016-04-28 22:48:58

    Download EtreCheck from https://etrecheck.com

    Time 05:45

    Performance: Below average

    Click the [Support] links to help with non-Apple products.

    Click [details] for more information on this line.

    Click on the link [check files] help with unknown files.

    Problem: Apps are broken

    Description:

    Safari freeze when opening new tabs / switching between the tabs.

    Hardware Information:

    MacBook Pro (15-inch, mid 2009)

    [Data sheet] - [User Guide] - [warranty & Service]

    MacBook Pro - model: MacBookPro5, 3

    1 2.66 GHz Intel Core 2 Duo CPU: 2 strands

    4 GB of RAM expandable - [Instructions]

    BANK 0/DIMM0

    OK 2 GB DDR3 1067 MHz

    BANK 1/DIMM0

    OK 2 GB DDR3 1067 MHz

    Bluetooth: Old - transfer/Airdrop2 not supported

    Wireless: en1: 802.11 a/b/g/n

    Battery: Health = battery check - Cycle count = 389

    Video information:

    NVIDIA GeForce 9400M - VRAM: 256 MB

    Color LCD 1440 x 900

    NVIDIA GeForce 9600M GT - VRAM: 256 MB

    Software:

    OS X El Capitan 10.11.4 (15E65) - since startup time: less than an hour

    Disc information:

    FUJITSU MJA2320BH FFS G1 disk0: (320,07 GB) (rotation)

    EFI (disk0s1) < not mounted >: 210 MB

    Macintosh HD (disk0s2) /: 319,21 go-go (54,93 free)

    Recovery HD (disk0s3) < not mounted > [recovery]: 650 MB

    HL-DT-ST DVD - RW GS23N)

    USB information:

    Built-in ISight from Apple Inc..

    Card reader Apple

    Apple Inc. BRCM2046 hub.

    Apple Inc. Bluetooth USB host controller.

    Apple Inc. Apple keyboard / Trackpad

    Computer, Inc. Apple IR receiver.

    Guardian:

    Mac App Store and identified developers

    Unknown files:

    ~/Library/LaunchAgents/com. GoodShop.updater.plist

    ~/Library/application support/GoodShop/updater

    A unknown file found. [Check files]

    Kernel extensions:

    / Library/Application Support/Symantec/virus

    [no charge] com.symantec.kext.SymAPComm (11.1.2f17 - 2015-05-23) [Support]

    / Library/Extensions

    [no charge] expressvpn.tap (20150118 - 2016-04-12) [Support]

    [loading] expressvpn.tun (20150118 - 2016-04-12) [Support]

    / System/Library/Extensions

    [no charge] com.DYMO.usbprinterclassdriver.kext (1.1 - SDK 10.9-2016-04-12) [Support]

    com.Silex.driver.sxuptp [no charge] (1.5.1 - 2016-04-12) [Support]

    com.symantec.kext.internetSecurity [no charge] (1.3.2 - 2016-04-12) [Support]

    com.Symantec.kext.IPS [no charge] (3.2 - 2016-04-12) [Support]

    Startup items:

    CMA: path: / Library/StartupItems/cma

    RosettaStoneLtdDaemon: Path: / Library/StartupItems/RosettaStoneLtdDaemon

    Startup items are obsolete in OS X Yosemite

    Launch system officers:

    [loaded] 8 tasks Apple

    [loading] 165 tasks Apple

    [operation] 65 tasks Apple

    Launch system demons:

    [loaded] 45 tasks Apple

    [loading] 161 tasks Apple

    [operation] 83 tasks Apple

    Launch officers:

    [no charge] com.adobe.AAM.Updater - 1.0.plist (2016-04-28) [Support]

    [failure] com.adobe.ARMDCHelper.cc24aef4a1b90ed56a... plist (2015-10-31) [Support]

    [operation] com.epson.Epson_Low_Ink_Reminder.launcher.plist (2015-01-19) [Support]

    [loading] com.epson.esua.launcher.plist (2015-06-29) [Support]

    [operation] com.epson.eventmanager.agent.plist (2014-09-21) [Support]

    [loading] com.google.keystone.agent.plist (2016-03-01) [Support]

    [operation] com.mcafee.menulet.plist (2016-03-23) [Support]

    [operation] com.mcafee.reporter.plist (2016-03-23) [Support]

    [loading] com.oracle.java.Java - Updater.plist (2013-11-14) [Support]

    [operation] com.symantec.uiagent.application.plist (2010-11-16) [Support]

    [operation] com.trusteer.rapport.rapportd.plist (2016-03-19) [Support]

    Launch demons:

    [loading] com.adobe.ARMDC.Communicator.plist (2015-10-31) [Support]

    [loading] com.adobe.ARMDC.SMJobBlessHelper.plist (2015-10-31) [Support]

    [loading] com.adobe.fpsaud.plist (2016-04-15) [Support]

    com.DYMO.pnpd.plist [no charge] (2014-10-16) [Support]

    [loading] com.expressvpn.tap.plist (2016-01-27) [Support]

    [loading] com.expressvpn.tun.plist (2016-01-27) [Support]

    [loading] com.google.keystone.daemon.plist (2016-03-01) [Support]

    [loading] com.macpaw.CleanMyMac3.Agent.plist (2016-04-18) [Support]

    [operation] com.mcafee.cspd.plist (2015-05-08) [Support]

    com.mcafee.ssm.ScanFactory.plist [no charge] (2016-03-16) [Support]

    com.mcafee.ssm.ScanManager.plist [no charge] (2016-03-16) [Support]

    [operation] com.mcafee.virusscan.fmpd.plist (2016-03-22) [Support]

    [loading] com.microsoft.office.licensing.helper.plist (2010-08-25) [Support]

    [loading] com.oracle.java.Helper - Tool.plist (2013-11-14) [Support]

    [loading] com.symantec.MissedTasks.plist (2009-11-10) [Support]

    [loading] com.symantec.Sched501 - 1.plist (2014-08-27) [Support]

    [loading] com.symantec.Sched501 - 4.plist (2015-01-08) [Support]

    [loading] com.symantec.Sched501 - 5.plist (2015-01-08) [Support]

    [loading] com.symantec.avscandaemon.plist (2009-10-10) [Support]

    [operation] com.symantec.diskMountNotify.plist (2009-09-14) [Support]

    [loading] com.symantec.navapd.plist (2009-09-14) [Support]

    [loading] com.symantec.navapdaemonsl.plist (2009-11-14) [Support]

    [operation] com.symantec.sharedsettings.plist (2009-07-22) [Support]

    [operation] com.symantec.symSchedDaemon.plist (2009-11-10) [Support]

    [operation] com.symantec.symdaemon.plist (2009-03-27) [Support]

    [operation] com.trusteer.rooks.rooksd.plist (2016-03-19) [Support]

    User launch officers:

    com [running]. GoodShop.updater.plist (2013-09-24) [Support]

    [loading] com.adobe.AAM.Updater - 1.0.plist (2015-10-25) [Support]

    [failure] com.facebook.videochat. [entrenched passage] .plist (2014-08-09) [Support]

    [loading] com.macpaw.CleanMyMac3.Scheduler.plist (2016-04-25) [Support]

    Items in user login:

    iTunesHelper Application (/ Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)

    Application of Google Reader (Google Drive.app/Applications /)

    Dropbox application (/ Applications/Dropbox.app)

    ExpressVPN application (/ Applications/ExpressVPN.app)

    CleanMyMac 3 Menu Application (/ Applications/CleanMyMac 4.app/Contents/MacOS/CleanMyMac 3 Menu.app)

    Other applications:

    [ongoing] com.DYMO.pnpd

    [ongoing] com.getdropbox.dropbox.83552

    [ongoing] com.google.GoogleDrive.81632

    [ongoing] com.macpaw.CleanMyMac3.Menu.80672

    [ongoing] com.mcafee.ssm.ScanManager

    [ongoing] com.mcafee.virusscan.ssm.ScanFactory

    [loading] 420 tasks Apple

    [operation] 193 tasks Apple

    Plug-ins Internet:

    o1dbrowserplugin: 5.41.3.0 - 10.8 SDK (2015-12-16) [Support]

    Default browser: 601 - SDK 10.11 (2016-04-18)

    Flip4Mac WMV Plugin: 2.4.4.2 (2012-12-25) [Support]

    DYMO Safari Addin: Unknown - SDK 10.9 (2014-10-26) [Support]

    AdobePDFViewerNPAPI: 15.010.20060 - SDK 10.8 (2016-03-11) [Support]

    FlashPlayer - 10.6: 21.0.0.226 - SDK 10.6 (2016-04-25) [Support]

    Silverlight: 5.1.30514.0 - SDK 10.6 (2015-09-16) [Support]

    QuickTime Plugin: 7.7.3 (2016-04-12)

    Flash Player: 21.0.0.226 - SDK 10.6 (2016-04-25) [Support]

    googletalkbrowserplugin: 5.41.3.0 - 10.8 SDK (2015-12-11) [Support]

    iPhotoPhotocast: 7.0 (2010-11-15)

    AdobePDFViewer: 15.010.20060 - SDK 10.8 (2016-03-11) [Support]

    SharePointBrowserPlugin: 14.3.0 - SDK 10.6 (2013-02-09) [Support]

    SiteAdvisor: 2.0 - 10.1 SDK (2015-03-30) [Support]

    JavaAppletPlugin: Java 8 updated 77 03 (2016-04-18) check the version of build

    Safari extensions:

    AdBlock - BetaFish, Inc. - https://getadblock.com (2016-03-30)

    Add to wishlist Amazon - Amazon.com - http://www.amazon.com/wishlist?ref=cm_wl_saf_ext (2011-07-09)

    GoodShop - GOODSEARCH LLC - http://www.GoodSearch.com (2013-09-24)

    SiteAdvisor - McAfee - http://www.siteadvisor.com (2015-09-28)

    PIN button - Pinterest, Inc. - http://www.pinterest.com/ (2015-07-03)

    3rd party preference panes:

    Flash Player (2016-04-15) [Support]

    Flip4Mac WMV (2012-05-15) [Support]

    Growl (2015-09-16) [Support]

    Java (2016-04-18) [Support]

    Norton\nQuickMenu (2010-11-16) [Support]

    Trusteer Endpoint Protection (2016-04-18) [Support]

    Time Machine:

    Time Machine not configured!

    Top of page process CPU:

    5% WindowServer

    1% kernel_task

    0% fontd

    0% SymDaemon

    Top of page process of memory:

    445 MB kernel_task

    Mdworker (18) 430 MB

    164 MB Google Reader

    Dropbox 123 MB

    VShieldScanner (4) 66 MB

    Virtual memory information:

    106 MB free RAM

    4.15 GB used RAM (770 MB cache)

    6 MB used Swap

    Diagnostic information:

    April 28, 2016, 22:42:12 ~/Library/Logs/DiagnosticReports/EtreCheck_2016-04-28-224212_[redacted].crash

    com.etresoft.EtreCheck - /Applications/EtreCheck.app/Contents/MacOS/EtreCheck

    28 April 2016, 22:21:42 self-test - spent

    April 28, 2016, 19:49:12 ~/Library/Logs/DiagnosticReports/EtreCheck_2016-04-28-194912_[redacted].crash

    April 28, 2016, 19:47:10 ~/Library/Logs/DiagnosticReports/EtreCheck_2016-04-28-194710_[redacted].crash

    April 28, 2016, 19:38:58 ~/Library/Logs/DiagnosticReports/EtreCheck_2016-04-28-193858_[redacted].crash

    April 28, 2016, 19:04:58 ~/Library/Logs/DiagnosticReports/rapportd_2016-04-28-190458_[redacted].crash

    /Library/rapport/*/rapportd.app/Contents/MacOS/rapportd

    April 28, 2016, 06:06:59 /Library/Logs/DiagnosticReports/Safari_2016-04-28-060659_[redacted].hang

    /Applications/Safari.app/Contents/MacOS/Safari

    April 28, 2016, 12:48:04 AM /Library/Logs/DiagnosticReports/SubmitDiagInfo_2016-04-28-004804_[redacted].cpu _resource.diag [details]

    / System/Library/CoreServices/SubmitDiagInfo

    April 27, 2016, 22:01:10 /Library/Logs/DiagnosticReports/Safari_2016-04-27-220110_[redacted].hang

    April 27, 2016, 21:57:37 /Library/Logs/DiagnosticReports/Safari_2016-04-27-215737_[redacted].hang

    April 27, 2016, 19:05:50 ~/Library/Logs/DiagnosticReports/EtreCheck_2016-04-27-190550_[redacted].crash

    April 27, 2016, 06:57:28 ~/Library/Logs/DiagnosticReports/Airmail 2_2016-04-27-065728_ .crash [deleted]

    / Applications/Airmail 2.app/Contents/MacOS/Airmail 2

    26 April 2016, 19:48:11 /Library/Logs/DiagnosticReports/Safari_2016-04-26-194811_[redacted].hang

    Remove all apps viruses you have

    Symantec, McAfee, Norton...

    CleanMyMac3

  • Another Question... Pasted the first album... but does not work properly

    Hello-

    Another question - I stuck my first file (wpa without loss) from the album on my rocket and when I go to him, he travels only (so 1,2,3, etc. and then it again.)  The songs look like they have any length, if that makes sense.  The bottom bar is from 0:00 0:00.  The strange thing is the player will play all music pre-loaded there, and when I tried to copy a song the player on the computer off, he played.  It is therefore not the file of the song itself I guess.

    What I've done wrong? And how to fix it?

    Thank you very much!!  This forum is very useful for a beginner!

    WMA Lossless is not a supported audio format. Which means that it won't work. You will need to re-Ripper in plain ' ol .wma, .mp3, .ogg or .flac format.

  • Hi ya'll! I'm still learning how to navigate my way with Lightroom. (Last time I wrote, I got a few responses that work.) Thank!) Now, I have another question. When I try to copy photos to my external hard drive to a CD/DVD, no matter if the make

    Hi ya'll! I'm still learning how to navigate my way with Lightroom. (Last time I wrote, I got a few responses that work.) Thank!) Now, I have another question. When I try to copy photos to my external hard drive to a CD/DVD, no matter if do leave LR or my car, I get the message; "Disc burning is not supported by LR on this computer." I've tried everything I can think of, so, I thought I'd see if anyone can find out if there is something I can do. Or could it be that my computer just can't handle it? Help! So frustrating!  I have a Lenovo PC, I don't know if that makes a difference. Any ideas? Thanks a lot for your help!

    You burned discs with other programs using this computer? Are you sure that you have a drive that will burn the disks?

  • Another question about Dates

    Hi, I have another question regarding the use of the field date in Adobe Designer 8.  I have the updated domain in place so that the person can enter the date, lets say, 12/12/11 and it will convert to December 12, 2011, or, the user can click on the calendar that is attached to the date field and make a date selection.  My question is this.  Is there a way that can not only the calendar go to any date by selecting < or >, but can also go to an exercise < < or > >?  We have contracts that extend from 2 to 3 years and want this option to be available.

    Thanks for any help you can provide.

    Here is how I currently have my date fields in place.

    In the field section:

    View model: MMMM D, YYYY

    Edit pattern: M-D-AA

    Section of the value:

    MMMM D, YYYY

    Date must be entered as per example, 12 January 2012

    Liaison section:

    MMMM D, YYYY

    The calendar widget allows you to select other years.

    When you open the calendar, click on the name of the month, the calendar will show you every month of the current year.

    When you then click on the year, it shows you all the years of the current decade.

  • Another question of novice!

    Hi guys...

    I had this posted in another question I raised yesterday... so thought that I should probably get a question by discussion

    A year after double view and month appear on the structure folders after you import the photo

    See things like

    Folder Image count

    10 2009

    2009 480 p

    If I import files with the correct creation date year etc... Why LR would create two folders with the same name...

    See you soon

    Steve

    Hi I think I've sorted it... Folder locations are the same as in

    C:\Documents and settings\stemcg\my Documents\My pictures\

    I looked at the link at the top... when I right click on the files and selecetd add a parent folder that it changed the view of annual records being next to each other for example...

    5 2010

    2010 5000

    4 2011

    2011 4096

    It separated like this

    upper part

    1996

    2000

    ....

    2009

    2010 5000

    2011 4096

    My Documents

    My photos

    2009

    ......

    5 2010

    4 2011

    I then right click on the folder with the least number of photos in there for example

    My perso\Mon pictures\2010 I selected update folder location.

    I pointed out the Selection tool in the same folder that is my perso\Mon pictures\2010. Then, he gave me a prompt to merge the files... It merged then deleted the My Pictures folder and added photos in the folder above... it looks like now

    upper part

    1996

    2000

    ....

    2009

    2010 5005

    2011 4100

    My Documents

    My photos

    2009

    ......

    The folders listed under my photos with the count in the records of the year preceding has increased in quantity... IE 2010 went from 5 000 to 5 005 photos...

    result!

    Thanks for the pointers guys...

    (one day I'll have the shot of LR!)

  • How remove the toolbar Babylon. Is there another name for "Babylon"? because I don't see a "Babylon" in my control panel, of it being installed? Help

    I would like to get yahoo as my home page. I tried to change, according to the instructions of mozilla. It did not work.
    By mozilla support I uninstall "babylon toolbar". I checked the Panel no Babylon not listed as being installed. My question is there another name for the "babylon toolbar?

    I'm of Babylon business support team. Research of Babylon and the toolbar are supposed to be part of an integrated set of tools that help people understand and explore their world. Sometimes, however, other manufacturers package our tools with their free end of programs and by unexpected people receive our software. We are sorry if this is the case with you and we would be happy to help you remove a part that you can not. Click here for easy removal instructions: http://www.babylon.com/uninstall_search/index , or contact me at [email protected] for more information.

  • To add another disk for HP a6430f desktop

    Product: Office KJ378AA-a6430f

    OS: Vista, which is updated automatically

    I want to add a HDD that is identical to one already installed in the system. This player is WDC WD64 00AAKKS-65A7B SCSI. I looked inside of the Cabinet Office and there is room to install it in the drive cage, but it's not obvious where to plug them. This isn't an IDE connection where you can connect two drives on the same cable. I see 4 SATA connectors. Which should I use? Should what cable I use?

    Another question:

    Is there a problem hang a SCSI disk to a SATA connection?  Does not have to be as original drive is a SCSI! Are they the same? Please explain.

    I want to clone the first drive on the other. Is there an easy way to do this and then using the second drive as boot drive?

    I have just enough knowledge to be dangerous in all of this.

    Thanks in advance for the help,

    Charles_Harward

    Hello

    I tried and it worked, but in the process, the wiz disc program cause a problem with acronis true image 11 which has been installed on my system. When I removed the disc wiz he screwed the software acronis and I had to remove that too. The installation not found for the real picture discs acronis therefore finished by buying the latest version of the software. After I bought the software, I found I could not recover the worm 11 from the web. (I didn't know that acronis program I had would have cloned the disk in the first place.) Anyway, everything is changed on the new disk.

  • Why when I open my email on another computer for example, in Outlook Express or the site of Telstra all my e-mail messages get deleted from the full mail?

    When I opened my email on another computer for example, in Outlook Express or on the Telstra site do all my emails in my inbox deleted completely from complete Mail. This happens with two email addresses different set up on two different computers. I wish that my e-mail messages to stay in complete Mail unless it is deleted from there. Thank you

    Your question is not clear. Is this something that happens, or something you're worried might happen?

    Whatever it is, the answer depends on what you do and how your email clients are set up.

    If you use POP in Outlook Express (really? "It's a very old program!) so he can delete messages from the server. You should be able to leave messages on the server, or you can switch using IMAP.

    Just looking for messages in your Web browser will not erase all messages, but if you delete a message there, again whether or not it is also deleted on any of your computers depends on whether these computers using POP or IMAP.

    I am aware that I have you confused probably further.

    My preference, as I want to be able to work with my email on multiple devices different, is that you use IMAP only, but others can, for various reasons, choose to use pop. There is no good or evil, what suits you best, but in both cases, we must understand a little the operation of the service.

    http://www.MakeUseOf.com/tag/pop-vs-IMAP/

  • Use a custom in a signal qml class

    I want to use a custom in a signal qml class, but have difficulties of implementation that correctly.

    My class is OutgoingInputs

    I give the floor

    qRegisterMetaType("OutgoingInputs");
    

    Save a pointer to it as a type of meta, which seems to be necessary, but when I also use

    Q_DECLARE_METATYPE(OutgoingInputs*)
    

    in the header file for the class, I get a compilation error.

    I have to save it without a pointer (was the idea here ) or is there another obvious error?

    Is there an example how to do this?

    I can receive the signal if my housing uses no parameters.

    I don't think you need to register as a metatype... a simple registry should do as it is the same as the use of the QML object:

    qmlRegisterType("mynamespace" 1.0, "OutgoingInputs");

    found this on the forums of qt:

    http://Qt-project.org/forums/viewthread/9657

    I hope that helps!

  • Drop-down field - when some entries are selected are unavailable another field for data entry

    Hi all

    A sorry again, I am very new to forms and have another question. I have a drop down list which list by selecting certain values I need an another field will not be available if the user can enter data.

    Hopefully this example is logical:

    Drop-down list Champ %
    Outdoor

    Not allowed to enter data

    Previous

    Not allowed to enter data

    Interior

    Not allowed to enter data

    Cotton

    Allowed to enter data

    Wool

    Allowed to enter data

    If someone could give me some examples that would be a great help.

    Thank you very much

    Adam Sadler

    Here is a script that you can use for the validation script custom from the drop-down list. It resets the value of the text box, whenever a change is made to the drop-down list. You can get rid of the line doing it, if you do not want to. Change "text1" in the code to match the name of a text field that you are using.

    Validate a custom for picklist script

    (function () {}

    Get the selected value

    v var = event.value;

    Set up an object to associate status items text box read-only

    var f_state = {}

    'Outside': true,

    'Back': true,

    'Interiors': true,

    'Cotton': false,

    'Wool': false

    };

    Get a reference to the text field

    var f = getField ("text1");

    Clear the text field

    f.Value = "";

    Set the State of read-only text box based on what is selected

    If (v f_state) {}

    f.ReadOnly = f_state [v];

    }

    })();

  • I download Apple Quicktime for use in my class of biology to my PC - not a procuct apple how I can do

    I download Apple Quicktime for use in my class of biology to my PC - not a procuct apple how I can do

    Apple has removed QuickTime for Windows. Why do you need it?

  • When firefox load it also load another tab for the search engine. How can I remove this where it will load only my start page?

    When firefox load it also load another tab for the search engine. How can I remove this where it will load only my start page?

    You can check the setting of the home page and make sure that it doesn't have a leak ' |'.

    Firefox supports several home pages separated by ' |' symbol.

  • Download a update, I get this message,"you don't have the appropriate permissions. Choose another directory for registration. How to choose another directory for registration?

    Trying to update from Mozilla, I get the error message following, "the file would be not saved because you do not have the appropriate permissions. Choose another directory for registration.

    How to choose another "directory" of record?

    Press Alt + E and then N to bring up your preferences. On the general tab, check the option "always ask me where to save files.

Maybe you are looking for