bDragBegin and bDropOver problem *Unresolve*

Re: bDragBegin and bDropOver problem

Postby dutch » Wed Sep 20, 2023 5:38 pm

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  RUN
#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
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Fixed*

Postby FranciscoA » Wed Sep 20, 2023 7:37 pm

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

Fwxh-MySql-TMySql
User avatar
FranciscoA
 
Posts: 2159
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: bDragBegin and bDropOver problem *Fixed*

Postby dutch » Sat Sep 23, 2023 4:37 am

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: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Postby dutch » Sun Oct 01, 2023 5:19 pm

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
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Postby Antonio Linares » Mon Oct 02, 2023 10:41 am

Dear Dutch,

checking it with Mr. Rao
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: bDragBegin and bDropOver problem *Unresolve*

Postby dutch » Mon Oct 02, 2023 5:42 pm

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: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Postby dutch » Thu Oct 12, 2023 2:53 pm

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: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Postby dutch » Wed Oct 25, 2023 11:25 pm

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
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Postby nageswaragunupudi » Thu Oct 26, 2023 2:04 am

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: bDragBegin and bDropOver problem *Unresolve*

Postby dutch » Thu Oct 26, 2023 2:48 pm

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: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Postby dutch » Tue Nov 07, 2023 11:27 am

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: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Postby dutch » Thu Nov 30, 2023 3:51 pm

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
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: bDragBegin and bDropOver problem *Unresolve*

Postby nageswaragunupudi » Thu Nov 30, 2023 9:57 pm

Please respond to my message
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 45 guests