---
title: "Generic Objects Collection"
canonical: "https://docs.cuesystem.com/space/CVCGC/407339059/Generic%20Objects%20Collection"
format: markdown
---
> Macro (toc)

---

Graphic collection GenericObjects is supported by class GenericObjectsBase.cvcg. Simply insert GenericObjects into the project, GenericObjectsBase will be inserted automatically.

> Macro (excerpt)
> 
> The graphic collection is set of ready to use graphic objects which allows to prepare touch panel graphical interface. It includes everything you need to build attractive layouts.
> 
> Using all objects is simple and efficient. The collection can be simply inserted to application and all objects can be drag and drop to your project. Every instance of the object is customized using object properties. For example object size, colors, fonts, pictures and other properties can be modified. Concrete editable properties depend on type of object.
> 
> Collections can be combined with user objects or with objects from other collections. User objects and collections are created using Integrated Development Environment and XPL2 programming language. 
> 
> Graphic objects are installed with Integrated Development Environment and stored in *.cvcg files.
> 
> # Object categories
> 
> - Windows - containers for other objects. These objects are inherited from BaseGraphicWindow.
> - Controls - objects for control and indications, like buttons, bargraphs, clocks etc... These objects are inherited from BaseGraphicClass.


# Objects overview

**Windows**

|  |
| --- |
| [GenericContainers](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/573931554) |
| [FloatingWindow](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419201048)<br>![image](media://d3841482-8e78-40f7-bd8d-f85c6c313ab8) | [Page](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/420315147)<br>![image](media://468b1cfc-fb41-4c7a-b4b1-3e29dd949c09) |
| [GenericNavigation](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/573964394) |
| [HiddenNavigator](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419921947)<br>![image](media://b5ad1154-081e-4953-b5b5-7f5d2388b826) |

**Controls**

|  |
| --- |
| [GenericButtons](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/417234965) |
| [LongPressButton](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/418316302), [PushButton](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419299329), [RadioButton](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419495937), [RepeatButton](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419397638), [ToggleButton](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419921921), [TwoStatePushButton](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419987457)<br>![image](media://97cf479b-9d25-4d73-976b-8e7490b4d067) |
| [GenericDateTime](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/574390316) |
| [AlphanumericDate](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/418512897)<br>![image](media://84eb53c2-3344-490e-a3ce-52457e63e261) | [DigitalTime ](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419364882)<br>![image](media://8ab4d484-96eb-4ece-b1a5-460ca09b7c43) |
| [GenericDrag&Drop](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/573735188) |
| [DragSource](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419987464)<br>![image](media://0b151d13-e020-4d2c-a7ec-b4bf753e5260) | [DropDestination](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419528724)<br>![image](media://b0e6846b-8a1d-4e5f-be1e-826cb510a824) |
| [GenericIndicators](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/574029938) |
| [Indicator](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419725327)<br>![image](media://d5274290-e784-4b7b-acec-50814008e8fd) | [MarqueeProgressIndicator](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/418938915)<br>![image](media://52dbfd9b-13a7-4612-ad69-3cbb661d7cbe) |
| [GenericObjects](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/406553107) |
| [Rectangle](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/420249613)<br>![image](media://b7e13203-b657-4c3a-9af7-d8911ce5c2e7) | [StaticText](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419364893)<br>![image](media://ff912428-d888-482a-b58c-3008c12882d9) |
| [GenericPictures&Animations](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/573997113) |
| [AnimationBox](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/417234956)<br>![image](media://0e44fc01-ee26-4b52-8f21-40aaecff7013) | [PictureBox](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/420380694)<br>![image](media://33840c5b-ca61-496e-8e6b-3039d24b2ec1) |
| [GenericSlider](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419463184) |
| [HorizontalSlider](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/420282380)<br>![image](media://c017474f-7e42-4def-892b-67cd72a64b35) | [VerticalSlider](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419692582)<br>![image](media://3f06d6ed-92c7-4fba-9627-16bd2d6ce44f) |

![image](media://5553f2e8-f4de-49cc-8d9d-af6bd459a6a5)

# Custom graphics

This graphic collection is designed without graphics, however some objects are prepared for custom graphic usage. Appropriate properties are ready to insert pictures or animations stored in project resources.

All objects are fully resizable including graphics, because DrawSretchedPicture and DrawStretchedAnimationFrame functions are used. These functions allows to zoom source pictures and animation frames during the runtime. The zoom factor is not limited, but the real factor for the nice result is from one half to two.

If you want to use custom graphics, it is necessary to prepare pictures using suitable graphic software and insert them to MyCommon resources, section Pictures or Animations. Compatible formats are BMP, GIF, JPG, PNG and TIF.

# Graphic objects

> Macro (children)