To continue with this content, please log in with your Data Access ID or create a new account.
Cancel Data Access ID
You may not be authorized to see this content. Please contact Data Access Europe for more information.
Cancel Data Access Europe
You are not authorized to see this content.
Cancel Data Access Europe
Next lesson:
Step 2: Define object specific behaviour
Cancel

Advanced Dynamic Objects

Lesson 2 - step 1: Create a container


The application that will be built through out the remaining lessons is for simply adding a new user to an arbitrary application. The application is unique because it allows the user to add additional address lines if needed. There will be two controls to the right of the first address line that allows additional lines to be added or removed. This lesson will demonstrate step one, how to create a dynamic container.


Demonstration – Creating a Dynamic Container

  1. Create an instance of the cWebDynamicObjectContainer class.
  2. A new property, ‘piRows,’ is created to save the current number of address rows. The number of columns for the container is set.
  3. This is also a good time to change any other properties related to the container.