C "Reference" Object

The C object is available in script code to expose the Questionnaire Controls in there raw/object format.

C.NextPage() method
Causes the questionnaire to change to the next page or complete via the "done" action. This is the way to manually cause the "Next/Done"...
Thu, 11 Jun, 2020 at 9:30 AM
C.PrevPage() method
Causes the questionnaire to change to the previous page. This is the way to manually cause the "Prev" button action to occur. Parameters none ...
Thu, 11 Jun, 2020 at 9:31 AM
C.ScaleImage(img,w) method
Advanced Feature This is a helper function when images need to be custom rendered during script execution. It accepts an image (either existing or newly re...
Thu, 11 Jun, 2020 at 9:35 AM
C.ScaleImage(img,w,h) method
Advanced Feature This is a helper function when images need to be custom rendered during script execution. It accepts an image (either existing or newly re...
Thu, 11 Jun, 2020 at 9:42 AM
C.Size() property
You can use this property to get or set both the Width and Height properties by accessing a "Size" structure. Basic operation is the same as Widt...
Thu, 11 Jun, 2020 at 10:02 AM
C.Top() property
This is a Read/Write Property. Important! Use this property to prevent "flicker/flash/jumping" of controls and to speed up execution of the scrip...
Thu, 11 Jun, 2020 at 9:58 AM
C.Visible() property
This is a Read/Write Property. Important! Use this property to prevent "flicker/flash/jumping" of controls and to speed up execution of the scrip...
Thu, 11 Jun, 2020 at 10:00 AM
C.Width() property
This is a Read/Write Property. Important! Use this property to prevent "flicker/flash/jumping" of controls and to speed up execution of the scrip...
Thu, 11 Jun, 2020 at 10:01 AM
Manual Load of a QListbox or QCombobox
To manually load ... Dim Lbox As QCombobox = C("Combobox1")  Dim ItemToAdd As New CP.DOb.InputListItem(Q("Textbox1")) Lbox.Items_...
Fri, 30 Sep, 2022 at 7:30 AM