Page 2 of 2

Re: bDragBegin and bDropOver problem

PostPosted: Wed Sep 20, 2023 5:38 pm
by dutch
Dear Master Rao and Antonio,

Thank you so much for yr example code. I can fixed it now. The problem is XBROWSE command, I use FIELDS instead of COLUMNS. It works fine, when I change from FIELDS to COLUMNS.

Thanks once again both of you,
nageswaragunupudi wrote:Say control does not accept drop unless oSay:lWantClick is set to .T.
The behavior is consistent in all versions of FWH and in particular this is the same behavior both in 1901 and 2304.

Here is a small test:
Code: Select all  Expand view
#include "fivewin.ch"


function Main()

   local oDlg, oBrw, oChk, oSay, cSay := "This is Say Control"
   local oCur, oFont

   DEFINE CURSOR oCur DRAG
   DEFINE FONT oFont NAME "VERDANA" SIZE 0,-20

   DEFINE DIALOG oDlg SIZE 600,250 PIXEL TRUEPIXEL ;
      FONT oFont TITLE FWVERSION

   @ 20,20 XBROWSE oBrw SIZE 200,-20 PIXEL OF oDlg ;
      DATASOURCE { "One", "Two", "Three" } ;
      CELL LINES NOBORDER

   WITH OBJECT oBrw
      :nStretchCol := 1
      :oDragCursor := oCur
      :bDragBegin  := { || SetDropInfo( oBrw:aCols[ 1 ]:Value ) }
      :CreateFromCode()
   END

   @ 20, 250 SAY oSay PROMPT cSay SIZE 250,30 PIXEL OF oDlg ;
      COLOR CLR_BLACK,CLR_WHITE
   oSay:lWantClick := .t.
   oSay:bDropOver := { |u,r,c,f| cSay := u, oSay:Refresh() }

   @ 90,250 CHECKBOX oChk VAR oSay:lWantClick ;
      PROMPT "oSay:lWantClick" ;
      SIZE 250,30 PIXEL OF oDlg

//   oDlg:bDropOver := { |u,r,c,f| MsgInfo( "no drop here" ) }

   ACTIVATE DIALOG oDlg CENTERED
   RELEASE FONT oFont

return nil


Image

Re: bDragBegin and bDropOver problem *Fixed*

PostPosted: Wed Sep 20, 2023 7:37 pm
by FranciscoA
Dutch.
Excelente!

Re: bDragBegin and bDropOver problem *Fixed*

PostPosted: Sat Sep 23, 2023 4:37 am
by dutch
Dear Francisco,

I confuse the FWH version. It works on FWH1901 but still problem with FWH2304. I found something that the GET or SAY Object will allow ::bDropOver, if the object is below the TFOLDER. If SAY or GET will disallow when OBJECT is above the TFOLDER (Resource). I'm still find out the problem. I will update, if found.
FranciscoA wrote:Dutch.
Excelente!

Re: bDragBegin and bDropOver problem *Unresolve*

PostPosted: Sun Oct 01, 2023 5:19 pm
by dutch
Any update.

Re: bDragBegin and bDropOver problem *Unresolve*

PostPosted: Mon Oct 02, 2023 10:41 am
by Antonio Linares
Dear Dutch,

checking it with Mr. Rao

Re: bDragBegin and bDropOver problem *Unresolve*

PostPosted: Mon Oct 02, 2023 5:42 pm
by dutch
Dear Antonio,

Thanks so much.
Antonio Linares wrote:Dear Dutch,

checking it with Mr. Rao

Re: bDragBegin and bDropOver problem *Unresolve*

PostPosted: Thu Oct 12, 2023 2:53 pm
by dutch
Dear Master Rao,

I'm still waiting. I cannot go forward the new version, if Drag&Drop is still problem.

Thanks in advance,

Re: bDragBegin and bDropOver problem *Unresolve*

PostPosted: Wed Oct 25, 2023 11:25 pm
by dutch
Any update?
dutch wrote:Dear Master Rao,

I'm still waiting. I cannot go forward the new version, if Drag&Drop is still problem.

Thanks in advance,

Re: bDragBegin and bDropOver problem *Unresolve*

PostPosted: Thu Oct 26, 2023 2:04 am
by nageswaragunupudi
We will attend to this very soon and get back to you

Re: bDragBegin and bDropOver problem *Unresolve*

PostPosted: Thu Oct 26, 2023 2:48 pm
by dutch
Thank you so much, Master.

Re: bDragBegin and bDropOver problem *Unresolve*

PostPosted: Tue Nov 07, 2023 11:27 am
by dutch
I'm still waiting, Master.

Re: bDragBegin and bDropOver problem *Unresolve*

PostPosted: Thu Nov 30, 2023 3:51 pm
by dutch
I'm still wait.

Re: bDragBegin and bDropOver problem *Unresolve*

PostPosted: Thu Nov 30, 2023 9:57 pm
by nageswaragunupudi
Please respond to my message