Hello.
-- I have many years experience of VAST including window creation but I have never needed to use a drop down in a containerDetailsColumn. I have set the editPolicyType to ComboBox and loaded up the list of items that I want to display for selection. The result is that each box contains the list but as a printOn for OrderedCollection. If you select the drop down, you will see each item individually and can select one. After selecting one, the result looks as in this image: It seems that I have to add my items to to the editPolicyItems and that this must be entered when defining the window. I can't hard code these items as they are dependent upon the client entering data dynamically elsewhere. Is there any way that I can add my list of items at the "aboutToOpenWidget action which is where I do all my other initialisations? You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout.
David
Totally Objects Doing Smalltalk since 1989 |
To be more explicit, I can add items during the initialisation method but what I get is shown above - a single line representation of an ordered collection. If I want to produce a proper drop down, it is then that I have to enter them into the editPolicyItems box in the column configuration.
-- David On Wednesday, October 15, 2014 10:33:13 PM UTC+1, Totally Objects wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout.
David
Totally Objects Doing Smalltalk since 1989 |
Administrator
|
On Thursday, October 16, 2014 2:39:23 PM UTC-7, Totally Objects wrote:
--
What does the relevant section of the #abtBuildInternals look like? You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Long Haired David
hi David
-- We do this kind of thing a lot in our application and we use the aboutToBeginEdit event on the column to set the editPolicy items. This will set the list every time the column is clicked on, perhaps overkill in your case. Hope this helps. cheers Fiona. On Thursday, October 16, 2014 8:33:13 AM UTC+11, Totally Objects wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Long Haired David
David,
-- are you sure you're not messing with something like a missing yourself? I know this sounds as if I was talking to an ST newbie, but maybe the return of your adding method is the collection and that makes it's way into the list of items??? Joachim Am Donnerstag, 16. Oktober 2014 23:39:23 UTC+2 schrieb Totally Objects:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Administrator
|
That's a darned good question. There's something that is responsible for the cell content showing the entire collection. On Oct 16, 2014 11:59 PM, "Joachim Tuchel" <[hidden email]> wrote:
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |