Help with UIObject Fields Needed 
Author Message
 Help with UIObject Fields Needed

>    Can someone send me some example code that will
>    show me how to use a method to set the list values in
>    an unbound Field UIObject -

  I use the following 'approach' to the same problem:

  AField        - the unbound field object(drop-down edit or list)
  AField.theList- list object of the field

  place code e.g. in fields arrive method:
method arrive(var eventInfo MoveEvent)
        ar      array[] String
        i       Smallint



AField.theList.list.count=0             ; reset the list

for i from 1 to ar.size()


  Hope this was what you were looking for...

  Veikko Vaataja

Tue, 23 Dec 1997 03:00:00 GMT
 Help with UIObject Fields Needed

    Can someone send me some example code that will
        show me how to use a method to set the list values in
        an unbound Field UIObject -

                I want to present a (changing) set of choices.
                in a questioniarre. General idea is to ask user
                to click on a "next question" button, which
                will set a field on the display form to hold , as a list,
                the set the text of set of possible answers (yes,no,...).

                When user clicks on the Field object, have its mouseClick
                method store the selected answer as a table.

                Problem is, I cannot find how to use Object PAL to
                 dynamically reset the list items in the field.

                 Any suggestions ?

                 thanks for your help  


Tue, 23 Dec 1997 03:00:00 GMT
 [ 2 post ] 

 Relevant Pages 

1. HELP Needed with UIObject

2. Array of UIObject - Help Needed

3. Passing Field UIObject Parameter

4. Help! TCursor and UIObject

5. Help! TCursor and UIObject

6. Help labels for UIObjects on a form - [01/01]

7. Help Help Need to copy a field from one table into another table


9. DATABASE..30 Fields Needed...HELP HELP

10. HELP!!! Need help with FoxPro memo fields

11. Question: Reuse of code and it's attachment to UIObjects

12. array of UIObjects?

Powered by phpBB® Forum Software