RE: DropLists in ArrayFields - is it possible to have adifferent sele

Richard;
Here you go....
newList : Array of ListElement = new;
{ add elements }
row : Integer = { get your row };
column : Integer = { get by name or just know the number }
// poof! Watch that down cast!
(DropList)(<arrayField>.BodyGrid.GetChildInCell(row,column)).SetElementList(
newList);
You can also change FieldWidget settings....
<arrayField>.BodyGrid.GetChildInCell(row,column).FillColor =
C_BLUE;
My array field doesn't scroll (lucky me!). See if the AfterFieldScrolled
event fires at the right time to recalculate the widget state. I haven't
played with it and I'm far from a Forte GUI guru, but I suspect that you are
altering the column template and the visible widget is separate from the
data. So as you scroll, the data would scroll but the new settings stay
put. That's not what I would want/need. The widget reflects something
about the data. When the data scrolls, so should the presentation
properties!
What may be needed is to somehow derive the presentation state settings
dynamically from the mapped data. So when the data scrolled, the dynamic
settings change on the new presentation row.
Let me know.....
Scott Irwin
-----Original Message-----
From: Richard Finegan [SMTP:[email protected]]
Sent: Monday, August 24, 1998 1:38 PM
To: 'Forte Users Mailing List'
Subject: DropLists in ArrayFields - is it possible to have a
different selection list per row?
I have a DropList in an ArrayField column. Is it possible to have a
different list of selections for each DropList in a different row?
(ex.
DropList #1 in row #1 can choose from a/b/c, whereas a DropList #2
in row
#2 can choose only from d/e/f, etc.) Technote 4996 seems to imply
that it
isn't possible, and everything I've tried so far has failed as well.
Any insight appreciated.
Richard Finegan
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

One way to do this is to get at the specific dropList widget in the
arrayField by calling the getChildInCell(Row,Column) method on
<..theArrayField..>.BodyGrid. This widget can then be assigned any
dropList you want. Depending on the uniqueness of the individual
dropLists, each data row specific dropList can be coded as an attribute
(array of ListElement) on the mapped class, which can then be assigned
to the dropList widget.
A code snippet to do this would be -
method refreshArray
begin
for displayRow in 1 to <myArrayField>.VisibleRows do
dataRow : integer = displayRow + <myArrayField>.TopRow - 1;
myDropListWidget : dropList =
dropList(<myArrayField>.BodyGrid.getChildInCell(displayRow,
<..columnNumOfDropList..>));
myDropListWidget.setElementList(myArrayField[dataRow].myElementList);
end for;
end method;
This method has be called only when the user scrolls the arrayField, as
in -
when <myArrayField>.AfterFieldScrolled do
refreshArray();
Hope this helps.
Prashant.
From: Richard Finegan[SMTP:[email protected]]
Reply To: Richard Finegan
Sent: Monday, August 24, 1998 11:38 AM
To: 'Forte Users Mailing List'
Subject: DropLists in ArrayFields - is it possible to have a
different selection list per row?
I have a DropList in an ArrayField column. Is it possible to have a
different list of selections for each DropList in a different row?
(ex.
DropList #1 in row #1 can choose from a/b/c, whereas a DropList #2 in
row
#2 can choose only from d/e/f, etc.) Technote 4996 seems to imply
that it
isn't possible, and everything I've tried so far has failed as well.
Any insight appreciated.
Richard Finegan
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Similar Messages

  • DropLists in ArrayFields - is it possible to have adifferent selection

    I have a DropList in an ArrayField column. Is it possible to have a
    different list of selections for each DropList in a different row? (ex.
    DropList #1 in row #1 can choose from a/b/c, whereas a DropList #2 in row
    #2 can choose only from d/e/f, etc.) Technote 4996 seems to imply that it
    isn't possible, and everything I've tried so far has failed as well.
    Any insight appreciated.
    Richard Finegan
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    One way to do this is to get at the specific dropList widget in the
    arrayField by calling the getChildInCell(Row,Column) method on
    <..theArrayField..>.BodyGrid. This widget can then be assigned any
    dropList you want. Depending on the uniqueness of the individual
    dropLists, each data row specific dropList can be coded as an attribute
    (array of ListElement) on the mapped class, which can then be assigned
    to the dropList widget.
    A code snippet to do this would be -
    method refreshArray
    begin
    for displayRow in 1 to <myArrayField>.VisibleRows do
    dataRow : integer = displayRow + <myArrayField>.TopRow - 1;
    myDropListWidget : dropList =
    dropList(<myArrayField>.BodyGrid.getChildInCell(displayRow,
    <..columnNumOfDropList..>));
    myDropListWidget.setElementList(myArrayField[dataRow].myElementList);
    end for;
    end method;
    This method has be called only when the user scrolls the arrayField, as
    in -
    when <myArrayField>.AfterFieldScrolled do
    refreshArray();
    Hope this helps.
    Prashant.
    From: Richard Finegan[SMTP:[email protected]]
    Reply To: Richard Finegan
    Sent: Monday, August 24, 1998 11:38 AM
    To: 'Forte Users Mailing List'
    Subject: DropLists in ArrayFields - is it possible to have a
    different selection list per row?
    I have a DropList in an ArrayField column. Is it possible to have a
    different list of selections for each DropList in a different row?
    (ex.
    DropList #1 in row #1 can choose from a/b/c, whereas a DropList #2 in
    row
    #2 can choose only from d/e/f, etc.) Technote 4996 seems to imply
    that it
    isn't possible, and everything I've tried so far has failed as well.
    Any insight appreciated.
    Richard Finegan
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Possible to Have ToC Default to Show Only Top Level (collapse sublevels)?

    Howdy!
    I'll bet I'm not the only one wishing for this.  Let's say you're using Captivate 4's Table of Contents feature with a longish movie of Cp slides, which is chunked into bite-size sections content-wise.  In the ToC, though, you can't mimic that same organization scheme; at least, the learner would first need to collapse all the ToC folders you've created so they see only the top-level listing.
    This can be a critical issue:  keeping the at-first-glance list in the ToC brief enough to be inviting to learners, yet allowing learners to drive which details are currently visible.
    A movie's topical hierarchy could be along these lines, for example ...
    Section 1 - National Brands
    What are National Brands?
    Why Are They Important to Our Business?
    Working with Nat. Brands
    Practice Your Knowledge
    Section 2 - International Brands
    What are International Brands?
    Why Are They Important to Our Business?
    Working with Intl. Brands
    Practice Your Knowledge
    You'd like to organize the ToC to show only the section titles (1st level) and to suppress the 2nd-level detail (slide titles) until the learner chooses to expand the folder to see those details.
    I've tried things like grouping the slides into sections in the Storyboard view and organizing the slides into sections strictly within the ToC -- both to no avail.
    Has anyone solved for this need yet?
    I'm all ears, and you'd be doing learners of the world a huge favor.
    Thanks!

    Hi, Jim.
    Thanks for being 'on the case' and looking into this so quickly.  Your
    findings are encouraging, although my user base is generally working with
    IE 6 and FP8 or 9.
    Since the only thing I may influence is getting  IT to help push out FP10,
    I'm hoping it's more of a player- than a browser-version issue.
    I'll test things out by Monday and let you know the results.  Wish me luck!
    Dave
                                                                                    From:       Jim Leichliter <[email protected]>                                                                               
    To:         Dave Tressler <[email protected]>                                                                               
    Date:       03/26/2010 06:02 PM                                                                               
    Subject:    Possible to Have ToC Default to Show Only Top Level (collapse
                  sublevels)?                                                                                
    Dave,
    I just tested this on my local web server and it worked fine.  I created a
    blank project with 8 slides.  Created my TOC with grouping... 2 slides in
    each group.  I turned on self paced learning.  I tried with and without the
    widget and it picked up where I left off in either case.  See
    https://docs.google.com/leaf?id=0B86WuEq6SVwRNWIwMjhjODctMjE2Yy00MWE2LWI5YzEtMGQxYzNjOWQ0Z mI2&hl=en. 
    I published using FP10 and IE8 to view.  Notice any difference between
    your project and this one?
    Thanks,
    Jim Leichliter

  • Is it possible to have an attachment within a pdf doc print at the same time the main doc prints?

    Okay, so this may be kind of a weird question.  We have some users who are wanting to add a page to an already existing xml document and correct me if I'm wrong, but I've read that it's not possible to add/delete pages from a pdf that's in xml format.  Since that is not possible, I have added the page to the xml document as an attachment.  Now what I am wanting to know is if it is possible to have the attachment print out at the same time as the main document.  We are using the latest version of Adobe Reader and I have access to Adobe Acrobat Standard 9 & 10 and then I have access to Adobe Acrobat Pro 7.  I've been unable to find anyting via google or by searching this forum so hopefully I'll draw out some kind of smart cookies and we'll get this figured out.  I appreciate any and all input!
    Thanks,

    I know of no way to do this with Reader or XML.

  • HT1399 Why cant I create a playlist for my music/song videos? Continuous play is also not possible in the video app on the phone!!!! previously, prior to IOS 6, it was possible to have both music videos & songs mixed in the same playlist in the music app

    Why cant I create a playlist for my music/song videos? Continuous play is also not possible in the video app on the phone!!!! previously, prior to IOS 6, it was possible to have both music videos & songs mixed in the same playlist in the music app

    I am back with an update. I turned off Match on both the ipad and the iphone 5. By doing so I was able to sync my Iphone and ipad to itunes and store the music on my devices rather than the slow streaming.  So far this has fixed my problems with the iphone I have all my music, playlist, most of the album art and so on.  But the ipad is a different story.  I have the music and artist but not one playlist  I am sure Apple will have an upgrade soon that will address these issues they are usually very good about this. 
    Now have any of you experienced another problem that has existed as long as I have used faces in Aperture.
    I have over 200 faces and they are organized a-z problem is I have this going on A-Z folowed by a few that start over A-Z followed by another few A-Z and again a 4th time A-Z.  Imagine how difficult it is while I am showing someone the great features of my iphone, ipad and imac.  Which I do talk highly of all the time.  But how do I explain that even though their name starts with a or b or what ever they are not important enough to me to be in the first list of A-Z or even the 2nd or 3rd list of A-Z someohow they are in the 4th section of the list!!!!
    I have managed to get the Imac to fix this but for some reason the IOS devices do not.   Any ideas?
    Thanks Al

  • E72 - Possible to have more than 2 email accounts ...

    E72
    So is it possible to have more than 2 email accounts shown at the home screen?
    Currently one is set as primary and the other as secondary.. I have 4 email addresses I want shown at the main screen..
    Please help.

    jane999 wrote:
    Basically I want to share A1 with somebody else and we both use yahoo email. So I need to sign out before she can sign in. Any way to do that? 
    Thanks in advance for any help!
    You didn't specify whether you are using the "official" Yahoo mail app, or some other email application like K-9.  But either of those allow for the specification of multiple email accounts, and you don't even really need to sign in/out.  Once you set up the accounts within the app, just select the email account that you want to view.  It might be a little more problematic if you want to prevent each other from being able to see the other's email, however.

  • Is it possible to have your whole family on one apple id or is it better to have each person have there own? If each has their own does each id have to buy their own music and apps? How does find my iphone work with one apple id or two?

    Is it possible to have your whole family on one apple id or is it better to have each person have there own? If each has their own does each id have to buy their own music and apps? How does find my iphone work with one apple id or two? also I am going to be going off to college soon should I make an itunes id for my self and how will I get all the music from the old id?

    Is it possible to have your whole family on one apple id or is it better to have each person have there own?
    Yes, it is possible. 1 apple ID can be associated with up to 10 devices.
    If each has their own does each id have to buy their own music and apps?
    Yes, all purchases are non-transferable.
    How does find my iphone work with one apple id or two?
    Every device associated with one apple ID through Find my iPhone is tied to that Apple ID; Find my iPhone will work in the same way with up to ten devices associated with one apple ID. You cannot enable Find my iPhone for one device across two apple IDs
    I am going to be going off to college soon should I make an itunes id for my self and how will I get all the music from the old id?
    If you have authorized a computer with the old apple ID, you can transfer old media purchased through the old to other devices via iTunes. This doesn't mean the media purchases through the old apple ID it transferred to the new account. If you plan to make future purchases and don't wish to share them with others, make your own apple ID.

  • Is it possible to have 2 profiles open at the same time? instead of having to open and close firefox everytime you want to switch.

    I have several profiles and was wondering if it is possible to have more then one open at the same time? At the moment I am having to close the current firefox browser to open up a different profile.

    See these support articles. <br />
    http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
    http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile

  • Is it possible to have a Cron job in CPO to check the running status of a workflow

    Is it possible to have a Cron job in CPO to check every hour to see if a particular workflow is running, if not trigger it by creating a alert, if yes- autokill

    Hi Warren,
    We don't want our process to expire and also not to execute twice at once. We have a provisioning wrapper workflow which is triggered one time by an alert and it runs endlessly by creating an alert at the end of each instance triggering another instance of the same unless CPO hangs or goes to stand by mode. Since we belong to service team, we don't have any kind of access to CPO DB or logs, so that possibility is ruled out. Just checking for alternatives. 

  • HT1353 Is it possible to have another iCloud login on my unit without me logging into that account?

    Is it possible to have another iCloud login on my unit without me logging into that account?
    I lost my iTouch4 last June10 after a party. I stayed in a hotel with my team that night when i lost it --- lost in the hotel not in the party. I just got my new iPhone 4S this June25. When i used Find my Phone app i saw that there are 2 devices: ipod (named after one of my teammates) and iPhone (under my name). whne i check the features of my iPhone, the contacts, calendar, bookmarks and apps i downloaded previously on iTunes are sync to what i entered on my iTouch. My teammate told me that he also noticed that on "his iPod" and he dont know why his apple ID was changed to mine.
    Is it possible to get that situation? Or is that an evidence that he has my iPod touch 4?  I need help to clear things out. Thanks.

    - I do not understand what yo are seeing with the FIndMyiPod app. That app can set up to find any iOS device. you just have to enter the Apple ID and passwords used for that device.
    - on your computer go to iCloud, sign into your account and go to FindMyiPhone. What do you find?

  • Is it possible to have two USB drives for the IPad?  I want to bring RAW photo files from my camera, through the IPad and back to an external hard drive.  One of my cameras does not use an SD card.  How can I do this?

    Is it possible to have two USB drives for the IPad?  I want to bring RAW files from my camera through the IPad and out to an external hard drive.  One of my cameras has an SD card but the other one doesn't have a card that would fit in any of the camera devices I've seen on line.  Realted to this, I bought the IPad camera accessory.  Can I put the SD card in the device and also hook the external hard drive to the USB port of the accessory and download from the camera to the hard drive?  Can I put Lightroom or the Nikon photo editing software on the IPad?  Right now I carry a PC laptop and external hard drives with me on wildernes trips.  Internet and WiFi are not available.  Because I shoot so many photos and they're in RAW I need to download from the camera to the external drive because I run out of memory on the PC (and it has much more memory than the IPad).  I have Nikon NX software and lightroom on my PC.  I'd love to be able to reduce the weight I carry by using the IPad to edit my photos each night while on trips.  Is this possible and how would I do it?  I'd appreciate any guidance.

    No, the camera connection kit only supports the copying of photos and videos to the Photos app, it doesn't support copying content off the iPad. For your second camera instead of the SD reader part of the kit, does the iPad to camera cable not work with it for direct transfer to the iPad ?
    For Lightroom and Nikon software again no - you can only install apps that are available in the iTunes app store on your computer and the App Store app on the iPad, 'normal' PC and Mac (OS X) software are not compatible with the iPad (iOS). There are some apps that perform fairly basic editing functions that are available in the store, but nothing as sophisticated as, for example, Lightroom.

  • Is it possible to have 2 icloud accounts on one pc?  My wife and I have 2 separate itunes accounts and we have different music stored on our iphones.  She just recently got an IPAD and I will be getting one soon.  We would like to share ibooks purchased f

    Is it possible to have 2 icloud accounts on one pc?  My wife and I have 2 separate itunes accounts and we have different music stored on our iphones.  She just recently got an IPAD and I will be getting one soon.  We would like to share ibooks purchased from itunes.  If she stored it them on icloud, can I download it onto my ipad?

    How to use multiple iPods, iPads, or iPhones with one computer
    http://support.apple.com/kb/HT1495
    How To Best Use and Share Apple IDs across iPhones, iPads and iPods
    http://www.nerdsonsite.com/blog/2012/06/07/help-im-appleid-confused/
     Cheers, Tom

  • HT204053 Is it possible to have two (or more) different icloud mail accounts (not alias) under the same apple id? If not what is you best advice for all family members to have their own e-mail and still share the purchases under the same apple id. Thanks

    Is it possible to have two (or more) different icloud mail accounts (not alias) under the same apple id? If not what is you best advice for all family members to have their own e-mail and still share the purchases under the same apple id. Thanks

    mannyace wrote:
    Thanks for the response.
    So I basically won't run into any trouble? I
    There should be no issues. Its designed to work like that.  You don't change Apple IDs just because you get a new device.
    mannyace wrote:
    Thanks for the response.
    Is there any chance that the phones can fall out of sync?
    Unlikely. But nothing is impossible.   Though I don;t see how that would happen. As long as both are signed into the Same Apple ID / iCloud Account they will be N'Sync. (Bad Joke)
    mannyace wrote:
    Thanks for the response.
    If I get a message or buy an app or take a photo on the iPhone 5, how do I get those things onto the iPhone 6?
    If you buy an App, you have 2 ways to get it to the iPhone6: If Automatic Downloads is enabled in Settings->iTunes & App Store, it will automatically download to the iPhone 6 when you buy it on the 5 and vice versa if you buy it on the 6, it will download to the 5.
    Alternatively, you can simply go to the App Store App->Updates->Purchased and look for the App there and download it. Purchased Apps will not require payment again. i.e They'll be free to download to the iPhone 6 once purchased.
    SMS Messages will sync over using Continuity as long as they are on the same Wifi network. Otherwise, restoring the iPhone 5 backup to the iPhone 6 will transfer all messages received up until the backup was made onto the iPhone 6.
    Images, can be transferred either through Photo Stream
    My Photo Stream FAQ - Apple Support
    Or any Cloud service you want such as Dropbox, or One Drive.
    mannyace wrote:
    Also, something i forgot to ask initially: Should I update the iPhone 5 to iOS 8 first or does that not matter?
    If you want the Continuity features as explained above you need to update the iPhone 5 to iOS 8. Otherwise its not all that important.

  • In RoboHelp 11 Responsive HTML5, is it possible to have 2 different language outputs in one generated output file?

    In RoboHelp 11 Responsive HTML5, is it possible to have 2 different language outputs in one generated output file, similar to WebHelp where the use can select the language from a drop-down list? In Webhelp output you could create multiple Content categories. Is there something similar with the responsive output, or am I forced to have a completely separate set of output files for each language (for example, English, Japanese, Chinese, Korean, and Arabic)?

    As Rick, mentions, there's no default way.
    Having said that, there's nothing stopping you from doing it yourself. You can add a kind of language selector to the layout and set that for every html5 output. With some JavaScript, you can have the user switch between your outputs. It would look like content categories, but you'll have build it yourself.

  • Is it possible to have an Opaque Border

    Is it possible to have a transparent border? I'm asking because I'm putting a component into one of Hans Mullers wizzzy MultiSplitPanes which in turn is opaque because It's used inside a TabbedPane (XP colours these with a white background gradient .i.e. not dialog grey).
    The tree with scrollpane weren't quite centered so a slapped an empty border on it with insets to make it look square, but the border - even empty ones appear opaque when used inside a transparent component?! Anyone seen this before?
    nb.I'd guess it would be possible to nest the scrollpane inside yet another transparent panel with a gridbag insets of (2,2,3,2).. but that seems even more of a pain just to shuffle up one pixel.
    This should illustrate the problem, you shouldnt see any grey around the tree:
    import javax.swing.*;
    import javax.swing.border.EmptyBorder;
    import java.awt.*;
    public class BorderShouldNotBeSeen {
        public static void main(String[] args) {
            JFrame frame = new JFrame();
            JPanel panel = new JPanel();
            frame.getContentPane().add(panel);
            // make it really obvious, should see red right up to the darker scrollpane/tree border
            frame.getContentPane().setBackground(Color.RED);
            panel.setOpaque(false);
            // just BorderFactory.createEmptyBorder() didnt cut it.. so then I used..
            class MyBorder extends EmptyBorder {
                public MyBorder(Insets insets) {
                    super(insets);
                public boolean isBorderOpaque() {
                    // ..guess what it still looks opaque!
                    return false;
            JScrollPane treePane = new JScrollPane(new JTree());
            treePane.setBorder(BorderFactory.createCompoundBorder(
                    new MyBorder(new Insets(10, 10, 11, 10)), treePane.getBorder()));
            panel.add(treePane);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.pack();
            frame.setVisible(true);
    }- Richard

    Wow, yes that fixes it - obvious when you think about it, the borders were just increasing the insets on the component. Just didn't see it.. Thanks.

Maybe you are looking for

  • HOW TO REDETERMINE ACCOUNT DETERMINATION(VERY VERY URGENT)

    HELLO, if in the billing the acoount detrmination was not carried out correctly and then we have done changes in customization to make it correct ,then how we will make the changes effective on the billing document in which the error of account deter

  • New Desktop Software is asking for password - which I don't think I ever had now can't use phone either

         After downloading the new Desktop Software, it won't allow my BB Curve 8520 to connect w/o a password -  I do not believe I ever had a password on my desktop software and it is threatening to delete my data if I don't enter correct password ;;; 

  • Colourhandling in Photoshop

    In my workflow I often use colourprofiles for uncoated paper such as Euroscale uncoated. Uncoated profiles causes a prewiew problem on screen, since colours are wiewed unnaturally desaturated. This makes it difficult to determine if photos needs to t

  • How do I replace beta raw converter 8.5 with 8.3 for CS6 not a CC user

    I did not see that 8.5 was a beta and always will show a beta box to click each time I use it... how do I go back to Raw 8.3 that I had before Restore did not do it installing 8.3 , said it was install but still have 8.5Beta any way out of this mess?

  • Can't read PDFs in Mail in iOS4

    Since upgrading to iOS4, I can't open PDFs. They just show up in the email as an image of the first page. Can anyone confirm and/or solve? Thanks Ben p.s. I posted this originally in the wrong category. My apologies.