bDragBegin and bDropOver problem *Unresolve*

User avatar
dutch
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem

Post 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

#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
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
FranciscoA
Posts: 2159
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: bDragBegin and bDropOver problem *Fixed*

Post by FranciscoA »

Dutch.
Excelente!
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
dutch
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Fixed*

Post 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!
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Post by dutch »

Any update.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
Antonio Linares
Site Admin
Posts: 42259
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: bDragBegin and bDropOver problem *Unresolve*

Post by Antonio Linares »

Dear Dutch,

checking it with Mr. Rao
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
dutch
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Post by dutch »

Dear Antonio,

Thanks so much.
Antonio Linares wrote:Dear Dutch,

checking it with Mr. Rao
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Post 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,
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Post 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,
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: bDragBegin and bDropOver problem *Unresolve*

Post by nageswaragunupudi »

We will attend to this very soon and get back to you
Regards

G. N. Rao.
Hyderabad, India
User avatar
dutch
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Post by dutch »

Thank you so much, Master.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Post by dutch »

I'm still waiting, Master.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Post by dutch »

I'm still wait.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: bDragBegin and bDropOver problem *Unresolve*

Post by nageswaragunupudi »

Please respond to my message
Regards

G. N. Rao.
Hyderabad, India
User avatar
Antonio Linares
Site Admin
Posts: 42259
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: bDragBegin and bDropOver problem *Unresolve*

Post by Antonio Linares »

Dear Dutch,

I just contacted Mr. Rao regarding this thread.

We apologize for the answer delay
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
dutch
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Post by dutch »

Dear Antonio,

No problem, Thank you.
Antonio Linares wrote:Dear Dutch,

I just contacted Mr. Rao regarding this thread.

We apologize for the answer delay
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Post Reply