1. Georgios Papageorgiou
  2. PowerBuilder
  3. Saturday, 2 February 2019 09:40 AM UTC

Hi PowerSphere.

 

Scenario.

I have a moveable datawindow.

I really miss a "move" event analouge to the Resize Event  

I should like to avoid the "Other" event if possible 

Any suggestions (for this missing behaviour :) ) ?

Regards

Georgios

2017r2 uni

Accepted Answer
Andreas Mykonios Accepted Answer Pending Moderation
  1. Sunday, 3 February 2019 21:27 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi George.

Instead of using pbm_dwnmousemove, use pbm_move... Then the event fires when moving the datawindow by the titlebar...

Andreas.

Comment
  1. Georgios Papageorgiou
  2. Monday, 4 February 2019 07:19 AM UTC
Yes yes - Thats the one :)



Thanks

Georgios

  1. Helpful
There are no comments made yet.
Georgios Papageorgiou Accepted Answer Pending Moderation
  1. Saturday, 2 February 2019 15:01 PM UTC
  2. PowerBuilder
  3. # 1

Hi Roland,

 

The event doesnt get fired when i'm, moving the datawindow by dragging the Titlebar.

to receive the pbm_dwnmousemove  the mouse need to be on the datawindow and not dragging the titlebar ... 

Any other suggestions ( besides enhancement reuquest :)   ) 

 

I need to drag the datawindow and get x and y positons :)

 

Regards

Georgios

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Saturday, 2 February 2019 13:35 PM UTC
  2. PowerBuilder
  3. # 2

Add the pbm_dwnmousemove custom event. The mouse has to move to move the control.

Comment
  1. Georgios Papageorgiou
  2. Sunday, 3 February 2019 20:14 PM UTC
Hi Roland,







The event doesnt get fired when i'm, moving the datawindow by dragging the Titlebar.



to receive the pbm_dwnmousemove the mouse need to be on the datawindow and not dragging the titlebar ...



Any other suggestions ( besides enhancement reuquest :) )







I need to drag the datawindow and get x and y positons :)







Regards



Georgios
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.