-
FlexPro
- Zoom sur FlexPro
- Fonctionnalités & Options
- Domaines d’application
- Tous les avantages
- Nouveau dans FlexPro 2021
- Testez FlexPro gratuitement
- FlexPro View OEM Freeware
- Conseils d’achat
- Login
- Langue
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produits
- News
- Support
- Société
- Emplois
- Contact
- Login
- Langue
- +49 6894 929600
- infoweisang.com
- Google Maps
Markers using VBA
Accueil > Community > Automation and VBA > Markers using VBA
- This topic has 2 replies, 2 voices, and was last updated 15 years, 9 months ago by HerveM1234.
-
AuthorPosts
-
March 13, 2009 at 8:13 pm #12383HerveM1234Participant
Hi,
When I play this small macro :
…
ActiveDatabase.TaskWindows(fpTaskWindowObjectList).Activate
ActiveDatabase.Selection.SelectObject “2D Diagram.2D”
ActiveDatabase.SelectedObject.Open = True
ActiveDatabase.ActiveObject.CursorActive = True
Windows(“2D Diagram”).Activate
ActiveDatabase.ActiveObject.CursorActive = True
ActiveDatabase.ActiveObject.ActiveCursor.PositionIndex = 20
…It fails on the last line, with the Runtime error 91. Then I press “debug”, and without modifying anything I press Play again. And it works fine !!!!
If somebody could explain me this strange behaviour, thanks in advance.
I’m using FlexPro7.@+
March 13, 2009 at 8:13 pm #8066HerveM1234ParticipantHi,
When I play this small macro :
…
ActiveDatabase.TaskWindows(fpTaskWindowObjectList).Activate
ActiveDatabase.Selection.SelectObject “2D Diagram.2D”
ActiveDatabase.SelectedObject.Open = True
ActiveDatabase.ActiveObject.CursorActive = True
Windows(“2D Diagram”).Activate
ActiveDatabase.ActiveObject.CursorActive = True
ActiveDatabase.ActiveObject.ActiveCursor.PositionIndex = 20
…It fails on the last line, with the Runtime error 91. Then I press “debug”, and without modifying anything I press Play again. And it works fine !!!!
If somebody could explain me this strange behaviour, thanks in advance.
I’m using FlexPro7.@+
March 13, 2009 at 9:31 pm #8590Bernhard KantzParticipantThis is a bug in FlexPro. It will be fixed in version 8.0.19.
-
AuthorPosts
- You must be logged in to reply to this topic.