Skip to main content Skip to complementary content

Property descriptions

ActiveDocument

Properties available to be configured
Type Direction Comment
QlikView.Document read-only Returns a reference to the currently active QlikViewdocument in the control.

Example of use (VB.NET) :


Private Sub Button2_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Button2.Click
	If AxQlikOCX1.HasOpenDocument Then
		AxQlikOCX1.ActiveDocument.CloseDoc()
	End If
End Sub		

Example of use (C#) :


private void button2_Click(object sender, EventArgs e)
{
	if (axQlikOCX1.HasOpenDocument())
	{
		axQlikOCX1.ActiveDocument.CloseDoc();
	}
}			

Container

Properties available to be configured
Type Direction Comment
Object read-only Returns a reference to the container object of the control.

Example of use (VB) :


Private Sub Example()
	Set cont = QlikOCX1.Container
End Sub		

DocName

Properties available to be configured
Type Direction Comment
Object read-write Name of QV document to be pre-opened in control.

Example of use (VB) :


Private Sub SetDocName()
	QlikOCX1.DocName = "C:\MyDoc.qvw"
End Sub

Height

Properties available to be configured
Type Direction Comment
Single read-write Returns or sets the height of the control.

Example of use (VB) :


Private Sub MoveAndSize()
	QlikOCX1.Top = QlikOCX1.Top + 100
	QlikOCX1.Left = QlikOCX1.Left + 100
	QlikOCX1.Width = QlikOCX1.Width * 0.95
	QlikOCX1.Height = QlikOCX1.Height * 0.95
End Sub		

Left

Properties available to be configured
Type Direction Comment
Single read-write Returns or sets the distance in between the internal left edge of the control and the left edge of its container.

Example of use (VB) :


Private Sub MoveAndSize()
	QlikOCX1.Top = QlikOCX1.Top + 100
	QlikOCX1.Left = QlikOCX1.Left + 100
	QlikOCX1.Width = QlikOCX1.Width * 0.95
	QlikOCX1.Height = QlikOCX1.Height * 0.95
End Sub

Name

Properties available to be configured
Type Direction Comment
String read-only Returns the name used in code to identify the control. By default QlikOCX1.

Example of use (VB) :


Private Sub Example()
	n = QlikOCX1.Name
End Sub					

ObjectID

Properties available to be configured
Type Direction Comment
String read-write Qualified ObjectID if a single object is displayed in the QlikView OCXcontrol.

Example of use (VB) :


Private Sub Example()
	n = QlikOCX1.ObjectID = "Document\LB01"
End Sub				

Parent

Properties available to be configured
Type Direction Comment
Object read-only Returns a reference to the parent object of the control.

Example of use (VB) :


Private Sub Example()
	Set p = QlikOCX1.Parent
End Sub						

Password

Properties available to be configured
Type Direction Comment
String read-write Returns or sets a password to be used when opening a QlikViewdocument.

Example of use (VB) :


Private Sub SetPwd()
	QlikOCX1.Password = "abc123"
End Sub					

ProductLevel

Properties available to be configured
Type Direction Comment
Integer read-write Returns or sets the level of functionality for the OCX.
  • 0 – Analyzer (requires server)
  • 1 – Analyzer+
  • 2 – Professional
  • 3 – Developer

The actual ProductLevel can never exceed the maximum level specified by the license.

Src

This property is reserved for the QVA for IE plug-in client. Must not be used with OCX control!

TabIndex

Properties available to be configured
Type Direction Comment
Integer read-write Returns or sets the tab order of the control within its parent form.

Example of use (VB) :


Private Sub Example()
	QlikOCX1.TabIndex = 1
End Sub			

TabStop

Properties available to be configured
Type Direction Comment
Boolean read-write Returns or sets a value indicating whether a user can use the TAB key to give the focus to an object.

Example of use (VB) :


Private Sub DisableTab()
	QlikOCX1.TabStop = false
End Sub		

ToolTipText

Properties available to be configured
Type Direction Comment
Integer read-write Returns or sets the tooltip text that is shown when the cursor is passed over the control.

Example of use (VB) :


Private Sub SetText()
	QlikOCX1.ToolTipText = "This a QlikView OXC control"
End Sub		

Top

Properties available to be configured
Type Direction Comment
Single read-write Returns or sets the distance in between the internal top edge of the control and the top edge of its container.

Example of use (VB) :


Private Sub MoveAndSize()
	QlikOCX1.Top = QlikOCX1.Top + 100
	QlikOCX1.Left = QlikOCX1.Left + 100
	QlikOCX1.Width = QlikOCX1.Width * 0.95
	QlikOCX1.Height = QlikOCX1.Height * 0.95
End Sub		

UserName

Properties available to be configured
Type Direction Comment
Single read-write Returns or sets a user ID to be used when opening a QlikViewdocument.

Example of use (VB) :


Private Sub SetUID()
	QlikOCX1.UserName = "jnn"
End Sub		

Width

Properties available to be configured
Type Direction Comment
Single read-write Returns or sets the width of the control..

Example of use (VB) :


Private Sub MoveAndSize()
	QlikOCX1.Top = QlikOCX1.Top + 100
	QlikOCX1.Left = QlikOCX1.Left + 100
	QlikOCX1.Width = QlikOCX1.Width * 0.95
	QlikOCX1.Height = QlikOCX1.Height * 0.95
End Sub		

Visible

Properties available to be configured
Type Direction Comment
Boolean read-write Returns or sets a variable controlling whether the control should be visible. True if control should be visible, false if control should be hidden.

Example of use (VB) :


Private Sub HideQlikView OCX()
	QlikOCX1.Visible = false
End Sub	

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com