Author Topic: Glue / Snap Interval between Milestones  (Read 687 times)

0 Members and 1 Guest are viewing this topic.

FlowerGirl

  • Jr. Member
  • **
  • Posts: 70
Glue / Snap Interval between Milestones
« on: October 22, 2018, 08:56:10 AM »
Folks,
       Is there a way that the Span Calculator I have in my example would be able to Glue / Snap to (Between) any two Timeline Milestone shapes when it is dropped on the Page/Timeline?

Thanks for any help you can offer.

FG  :-*



wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3645
  • Ideas Visio-lized into solutions
Re: Glue / Snap Interval between Milestones
« Reply #1 on: October 23, 2018, 11:34:06 AM »
Well, that would be nice.  But I think not.  There are several issues...
1)  there is so much underlying code that the time line components are very difficult to change.  Most changes get clobbered by the code.
2) All date/time info, is contained in the timeline itself.  So, all milestones, etc., need to access the timeline.  Gluing to span calculator to a milestone creates an extra layer which must be traversed to obtain the timing info.  So, the span calculator would have to be altered to read the milestone rather than the timeline.
3) it would take more code to get the span calculator to determine which milestones are to its immediate left/right.

Those are the most obvious problems that would need to be solved.

Wapperdude
Visio 2019 Pro

Yacine

  • Hero Member
  • *****
  • Posts: 2643
Re: Glue / Snap Interval between Milestones
« Reply #2 on: October 23, 2018, 12:00:33 PM »
Thank you Wayne for making the first step.
I spent over 2 hours today on this topic and left without success.
My approach was to take the original shape,
- strip it from all its subshapes, but keep the automation,
- add a sub-shape with the desired functionality.

I gave up when I realised that I could not modify the geometry of the main shape without altering the automation.

... definitely not a trivial task.

I'm not saying it is not feasible, ... but difficult!
Yacine

FlowerGirl

  • Jr. Member
  • **
  • Posts: 70
Re: Glue / Snap Interval between Milestones
« Reply #3 on: October 24, 2018, 08:57:21 AM »
Thanks for your time and attention on this topic.

What I generally do as a work around is: in my source dataset I make sure I have a "Start" and a "Finish" date that would correspond to Start being the milestone on the left, and Finish being the Milestone on the right.
But, In Access or Excel that in itself is a headache depending on the data constraints.
(That way when I drop it on the timeline, it will snap into position without manually maneuvering the ends.)


Again, thanks for your time.
FG  :-* :-*