Tips for programmers, Set language, Company logo etc – CUE Reservation System User Manual

Page 28: Using crs graphic objects with navigation bars, Using more crs graphic objects in one touch panel, 28 t, Rogrammers

Advertising
background image

User Manual

Page 28

www.cuesystem.com
[email protected]

Cue Reservation System

t

Ips

for

p

roGrammers

Set Language

All CRS graphic objects support language settings provided by XPL2 command SetLanguage. For available

languages contact [email protected].

Company Logo etc.

There is free space on the top and bottom of CRSOverviewUI and CRSRoomUI for placing company logos

or other objects. You can place any graphic object (PictureBox, Label etc.) to this area to customize the

screen.

Using CRS Graphic Objects with Navigation Bars

CRS graphic objects can be used as one of control windows in standard control application. They cannot

be used directly with navigation bars, because all windows and navigation bars must be from one graphic

collection (see CVC Help / Basic Graphic Library API for using NavigationBar and VerticalNavigationBar

and HiddenNavigator).
But you can involve CRS graphic objects in navigation in the following way
1. Create FullScreenWindow called, for example, CRSWindow and set it to be open by NavigationBar

Button with reservation icon (you can do it by settings of the join and NavigationBarButtonID

properties – see see CVC Help / Basic Graphic Library API).

2. FullScreen window objects can generate the following events: OnShowObject and OnHideObject.

3. Create functions links to these two events for CRSWindow and place commands to these functions to

show and hide CRS graphic objects. Here is an example of a code placed in GraphicEvents touchpanel

module.

P

rivate Function CRSWindow_OnShowObject( ) Link CRSWindow.OnShowObject

CRSRoomUI1.ShowObject()

End Function

Private Function CRSWindow_OnHideObject( ) Link CRSWindow.OnHideObject

CRSRoomUI1.HideObject()

End Function

4. Now the CRS graphic object will be navigated by NavigationBar.

Using More CRS Graphic Objects in One Touch Panel

You can use more instances of CRSRoomUI windows in one touchpanel, for example for using reservation

system with more rooms on one touch panel. In this case contact [email protected].

Advertising