Results 1 to 10 of 37

Thread: Resetting (or clearing) a view of all data?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #33
    Join Date
    Nov 2008
    Location
    Round Rock, TX
    Posts
    7,690

    Default Re: Resetting (or clearing) a view of all data?

    A global clear command just isn't how OOP works, but there are other options:

    Several people have suggested broadcast, did this not work for you? If clearing the buttons is an issue, then you could subclass the Forms and add a custom clear method that allows you to do this.

    Something like:
    Code:
    Class cCustomForm is a Form
        Procedure CustomClearForm
            Set Value item 0 to ""
        End_Procedure
    End_Class
    Then use the subclass instead of the Form class:
    Code:
    Object oForm1 is a cCustomForm
    End_Object
    Then broadcast send the custom clear method:
    Code:
    Broadcast Recursive Send CustomClearForm
    Last edited by Dennis Piccioni; 31-Dec-2019 at 04:52 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •