FG Spreadshirt Swag
  1. #1

    Tracking click+drag mouse position?

    I want to be able to have a user click on a button/icon and "drag" the "thing" and track that position as they move it and know the instant it's released and get that position.

    Why? I'd like to try and come up with a way people can resize subwindows in a bigger window. Right now I don't think there is a way to do this without coming up with my own manual/programmatically method.

    The simplest way would be to add clickable buttons that let you change the width by X increments but thats pretty crude. I'd rather have a more modern style where you just drag it.

    Or am I just missing a easier way to do this?
    ---
    Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
    Documentation for AD&D 2E ruleset.
    Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
    Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.

  2. #2

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,096
    I already did this Celestian. I created a DragLine control that vertically resizes the controls above and below it. When I get home tonight I will link to where I did that.
    This link is where I placed the material and the thread discusses aspects of it.
    Last edited by Bidmaron; July 30th, 2019 at 02:24.

  3. #3

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,096
    Edited my previous post to add the link. Maybe you can sweet talk MW into putting it into CoreRPG.

  4. #4
    Quote Originally Posted by Bidmaron View Post
    Edited my previous post to add the link. Maybe you can sweet talk MW into putting it into CoreRPG.
    Thanks! I'll check it out. Sounds interesting.
    ---
    Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
    Documentation for AD&D 2E ruleset.
    Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
    Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.

  5. #5
    Quote Originally Posted by Bidmaron View Post
    I already did this Celestian. I created a DragLine control that vertically resizes the controls above and below it. When I get home tonight I will link to where I did that.
    This link is where I placed the material and the thread discusses aspects of it.
    I had the chance to look at this and it uses drag/drop to track which is what I was afraid of. Do you know of any ruleset or extension that uses it so I can see it in action?
    ---
    Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
    Documentation for AD&D 2E ruleset.
    Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
    Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.

  6. #6

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,096
    My generators extension uses it and minty fresh used it in his filters extension I think.

    How else would you do it? That is what you asked for in the OP

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in