-
July 29th, 2019, 20:23 #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.
-
July 29th, 2019, 23:27 #2
Archangel
- 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.
-
July 30th, 2019, 02:24 #3
Archangel
- 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.
-
July 30th, 2019, 03:55 #4---
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.
-
August 1st, 2019, 05:14 #5---
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.
-
August 1st, 2019, 11:21 #6
Archangel
- 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