927 new features of WINDEV 27, WEBDEV 27 and WINDEV Mobile 27

018 N e w f e a t u r e W D W B WM ADD PRESET VECTOR SHAPES: THROUGH PROGRAMMING Developers can programmatically add their own preset shapes and images to the library of preset shapes included in the control: shapes related to a professional field, shapes of a given brand, ... Benefit provided by this new feature of version 27: Stay in shape 019 N e w f e a t u r e W D W B WM DISPLAY-ONLYMODE, STILL INTERACTIVE A "display-only" mode allows you to display diagrams with- out pane or toolbar. Shapes can no longer be moved or resized. However, click events remain enabled, which allows to you program processes according to the user's clicks. Benefit provided by this new feature of version 27: Click and Do 020 N e w f e a t u r e W D W B WM CODE EXAMPLES Version 27 enables you to do more through programming. Here are some examples of code: • Create a rectangle in a diagram MyDiagram is Diagram rect is diagRectangle MyDiagram .Shape. Add ( rect ) • Connect two objects with a line MyDiagram is Diagram objShape1 is diagShape <- MyDiagram .Shape[ 1 ] objShape2 is diagShape <- MyDiagram .Shape[ 2 ] MyLink is diagLink MyLink .AttachPointStart= objShape1 .ConnectionPoint[ 1 ] MyLink .AttachPointEnd = objShape2 .ConnectionPoint[ 3 ] MyLink .Line.Color = Black MyDiagram .Shape. Add ( MyLink ) • Add an image MyDiagram is Diagram LogoImage is diagImage LogoImage .Image = "c:\temp\logo.svg" LogoImage .X = 10 LogoImage .Y = 150 LogoImage .Width = 64 LogoImage .Height = 64 MyDiagram .Shape. Add ( LogoImage ) • Print a diagram iPrintDiagram( MyDiagram ) Benefit provided by this new feature of version 27: Write and maintain code with ease Example of a "mixed" diagram: the diagram is cre- ated by the end user, then completed by the code. The head waiter of a restaurant drags and drops the tables in the diagram, according to their actual position. The application displays the status of the reserva- tion above each table in real time. CHART CONTROL: PROGRAMMING 9 WINDEV 27 WEBDEV 27 WINDEV Mobile 27 New features

RkJQdWJsaXNoZXIy NDQ0OA==