Friday, November 30, 2007 Tip of the Day #4: Finding the Exact Name of a Form Control Type
Supported Versions: R:BASE 7.6 for Windows (Build 7.6.2.31026 or higher) R:BASE 7.6 (C/S:I) for Windows (Build 7.6.2.31026 or higher) R:BASE Turbo V-8 for Windows (Build 8.0.16.1026 or higher) When creating the Dynamic Objects for Forms, using the new CREATEOBJECT command, you have to know the exact name for the Control Type to be created dynamically at runtime. Syntax: CREATEOBJECT + <ObjectType> <ComponentID> <ParentControl> <Left Top Width Height> If you are using the "Enterprise Edition" of R:BASE 7.6 for Windows http://www.rupdates.com/rbg76/enterprise or Turbo V-8 for Windows http://www.rupdates.com/rbg8/enterprise, while in the Form Designer, *every* property of the selected object including the "Name" and "Object Type" is listed under the Object Inspector. However, the required Object Type name could be hard to find without using the Enterprise Edition. Did you know that you can use the new [Control Types] tab of the Data Dictionary [F3] to highlight and paste the exact name for the desired Object Type? In addition to specific tabs that become visible within which module the [F3] key was pressed, you will always find the [Control Types] tab from any module of R:BASE. Data Dictionary [F3] General Tabs: . System Tables . System Columns . Themes . Control Types . Tables . Columns . Variables . Views . Forms . Reports . Labels . Functions . Stored Procedures Data Dictionary [F3] Form Designer Specific Tabs: . All General tabs listed above, plus ... . Form Component IDs . Form Actions Data Dictionary [F3] Label Designer Specific Tabs: . All General tabs listed above, plus ... . Label Component IDs Data Dictionary [F3] Report Designer Specific Tabs: . All General tabs listed above, plus ... . Report Component IDs Have fun! Very Best R:egards, Razzak.

