How to change Visible properties ADXOlForm from another forms

Add-in Express™ Support Service
That's what is more important than anything else

How to change Visible properties ADXOlForm from another forms
 
Miro Mrazik




Posts: 7
Joined: 2006-08-05
Good day, is possible change visible property ADXOlForm from another forms in application, or another class in appliaction?
Send me please any VB sample .

Thank you
Miro
Posted 05 Feb, 2007 17:32:56 Top
Fedor Shihantsov


Guest


Hi Miro


    Private Sub btnHidePurposeForm_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnHidePurposeForm.Click
        Dim OtherItem As AddinExpress.OL.ADXOlFormsCollectionItem
        OtherItem = CType(Me.AddinModule, MyAddin3.AddinModule).AdxOlFormsManager1.Items(1)
        Dim index As Integer
        For index = 0 To OtherItem.FormInstanceCount - 1
            If OtherItem.FormInstances(index).Visible Then
                OtherItem.FormInstances(index).Hide()
            End If
        Next
    End Sub


Note: In the design mode set the AdxOlFormsManager1 modifiers to the Public value.

P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 06 Feb, 2007 06:58:32 Top