Show Method
      
 

Description

Shows configuration window.


Return Type

Boolean value. True if user clicked on 'Ok' button.  


Syntax

object.Show Title, [OwnerHwnd]



The Show Method syntax has these parts:

Part Description
object An expression evaluating to an object of type XMPPVars.
Title Required. A String value. Holds caption of the window that will be shown. If left empty string, value in XMPPVars.Title will be used.
OwnerHwnd Optional. A Long value. Specifies handle of the window that would be used to center configuration window, as its child.

Remarks

Shows method opens the configuration window with all the variables in the collection, allowing you to change them (from allowed values). When user clicks on "OK" button on it, all the values are stored back to the collection.

Typically, you will use it to show chat room configuration data obtained through GetSettings, and then send them back to the server using SaveSettings method. You can also use it when you receive result of Search method, in ContactSearchDone event.

 

It will look like this: