Search found 61 matches: bdropover

Return to advanced search

Re: Error in last xBrowse with :bDropOver - Solved

solved
with the new version it is necessary to have in r and c
oBrw:LButtonUp(r,c)

Maurizio
by Maurizio
Fri Aug 07, 2020 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error in last xBrowse with :bDropOver - Solved
Replies: 1
Views: 281

Error in last xBrowse with :bDropOver - Solved

...   :oDragCursor      := oCur      :bDragBegin       := { |r,c,f,o| SetDropInfo( { oBrw:nArrayAt, oBrw:aRow } ) }      :bDropOver        := { |u,r,c,f| oBrw:LButtonDown( r,c ), ;                                       oBrw:LButtonUp(), ;            ...
by Maurizio
Fri Aug 07, 2020 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error in last xBrowse with :bDropOver - Solved
Replies: 1
Views: 281

Drag & Drop

... el drag) con un botton. Supongo que sería mas fácil controlar tanto el inicio del Drag como el final del Drop. Pensaba que tanto bDragBegin, como bDropOver se encargarían de eso. Pero no me funciona. Algún ejemplo sencillo ? Gracias
by JESUS MARIN
Fri Jan 10, 2020 9:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Drag & Drop
Replies: 2
Views: 551

Re: New FTDN May 2018 (FWH 18.05)

... this method as an example of usage of the function. * Drag and Drop Simplification: Till ver.18.04, bDropInfo was evaluated with 4 params: Eval( ::bDropOver, uDropInfo, nRow, nCol, nFlags ) nRow and nCol are relative to the window from which the drag began. The destination windows needs to convert ...
by Antonio Linares
Sun Jul 22, 2018 5:01 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN May 2018 (FWH 18.05)
Replies: 1
Views: 2764

New FTDN May 2018 (FWH 18.05)

... this method as an example of usage of the function. * Drag and Drop Simplification: Till ver.18.04, bDropInfo was evaluated with 4 params: Eval( ::bDropOver, uDropInfo, nRow, nCol, nFlags ) nRow and nCol are relative to the window from which the drag began. The destination windows needs to convert ...
by Antonio Linares
Sat Jul 14, 2018 4:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN May 2018 (FWH 18.05)
Replies: 1
Views: 2764

Re: move data between xbrowse files

From version FWH 1805, bDropOver can be simplified like this:      :bDropOver  := { |uInfo,r,c,f,aPt| oBrw2:SetPos( aPt[ 1 ], aPt[ 2 ], .t. ), ;            ...
by nageswaragunupudi
Sat Jul 07, 2018 5:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: move data between xbrowse files
Replies: 8
Views: 1186

Re: Drag and Drop

bDropOver and bDragBegin are meant only for drag and drop within FWH application.

For dropping files from file explorer over to FWH application you need to use DROFILES clause while activating the main window.

For both you can refer to fwh samples folder.
by nageswaragunupudi
Mon Jan 25, 2016 3:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drag and Drop
Replies: 4
Views: 719

Re: move a record from xbrowse

Lucas, This should solve it: :bDropOver := { |u,r,c,f| oBrw:LButtonDown( r,c ), ; oBrw:LButtonUp( r, c ), ; // r, c were missing aDel( aData, u[ 1 ] ), ; AIns( aData, oBrw:nArrayAt, u[ 2 ] ), ; oBrw:Refresh() }
by Antonio Linares
Tue Nov 17, 2015 11:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: move a record from xbrowse
Replies: 31
Views: 7372

Re: move a record from xbrowse

... new position. First thing to decide is how the programmer wants to record the change in the dbf. Once that is clear, it can be plugged into the bDropOver. can you create asmal ltest with dbf thanks
by Silvio.Falconi
Thu Nov 12, 2015 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: move a record from xbrowse
Replies: 31
Views: 7372

Re: move a record from xbrowse

... new position. First thing to decide is how the programmer wants to record the change in the dbf. Once that is clear, it can be plugged into the bDropOver.
by nageswaragunupudi
Wed Nov 11, 2015 12:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: move a record from xbrowse
Replies: 31
Views: 7372

Drag 'n' Drop support

Hello, I am watching the drag'n'drop support in five win and have some notes: * bDropOver receives the nRow and nCol relatives of sender control * There is no callback for receiver during mouse move In my application I am dropping in a list, and I want that the ...
by AntoninoP
Fri Apr 24, 2015 4:59 pm
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: Drag 'n' Drop support
Replies: 7
Views: 2513

ERROR ON XBROWSE DRAG DROP

... := { |r,c,f,o| save_dragbegin(oBrw,aDatiDisp,aData,@nRecord),; SetDropInfo( o:SelectedCol():Value ,; o:SelectedCol():Value:= "") } :bDropOver := { |u,r,c,f| oBrw:SetPos( r, c, .t. ), save_dropover(nRecord,oBrw,aDatiDisp),; oBrw:SelectedCol():VarPut( u ) } :CreateFromCode() END //---------------------------------------------------------------------------------------// ...
by Silvio.Falconi
Wed Mar 04, 2015 10:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR ON XBROWSE DRAG DROP
Replies: 0
Views: 380

Problemas con bDropOver en Drag&Drop

Buenos días, Me gustaría poder posicionar los botones en una BUTTONBAR con el ratón. He visto los samples y no me funciona bDropOver. Lo que hago es lo siguiente: - Pongo todo, la barra y sus botones como lDrag := .t. - Defino de la barra y los botones bDropOver := {|| msginfo("Suelta") ...
by jmartial
Tue Feb 03, 2015 10:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con bDropOver en Drag&Drop
Replies: 0
Views: 269

Re: "Snap" for Clipper

... BDOWN                  WINDOW.PRG      491  1211  1287  1288 BDROPFILES              WINDOW.PRG      427   492  1212  1226  1227  1227  1539  1541 BDROPOVER              WINDOW.PRG      428  3733  3734 BEGINPAINT()           (function  in ?)    WINDOW.PRG      501  3751 BERASEBKGND            WINDOW.PRG ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6702

Can TSButton use ::bDropOver?

I would like to use TSButton (Drag and Drop) between SBUTTON but bDropOver is not working. Can it works with Drag and Drop features?
by dutch
Wed Sep 28, 2011 11:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can TSButton use ::bDropOver?
Replies: 0
Views: 270
PreviousNext

Return to advanced search