-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Diagram en VBA
Home > Community > Automation and VBA > Diagram en VBA
- This topic has 2 replies, 2 voices, and was last updated 17 years, 10 months ago by latifa khammal.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
January 4, 2007 at 1:33 am #12414latifa khammalMember
Bonjour,
Je suis débutante en flexpro7, et je veux savoir comment créer un diagram2D à partir d’un dataset ou bien un datalinkExcel
MerciJanuary 4, 2007 at 1:33 am #8095latifa khammalMemberBonjour,
Je suis débutante en flexpro7, et je veux savoir comment créer un diagram2D à partir d’un dataset ou bien un datalinkExcel
MerciJanuary 4, 2007 at 6:22 pm #8680Bernhard KantzParticipantDo the following steps:
– Record a Quick Macro.
– Select your object.
– Create interactively a diagram.
– Stop Macro Recording.
– Open the VBA editor (ALT+F11; FlexPro Professional)You see the code in Template.FPT. Now you can edit this code.
Example:
Dim NameArray NameArray = Array("Signal", "Signal2") With ActiveDatabase.RootFolder.Add("2D-Diagram", fpObjectType2DDiagram) With .Curves.Add .Data.DataSet = NameArray(0) End With With .Curves.Add .Data.DataSet = NameArray(1) End With .Update End With
See also
FlexPro Online Help
Creating a Macro -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.