Search found 61 matches: bdropover

Return to advanced search

Re: xBrowse Drag & Drop Question

... := { |nRow,nCol,nKeyFlags| ; SetDropInfo( {oBrw:nColSel, oBrw:nArrayAt, "B1"} ), oWnd:SetMsg("Dragging") } oBrw:bDropOver := { |uDropInfo, nRow, nCol, nKeyFlags | ; DragDrop(uDropInfo,nRow,nCol,nKeyFlags,oBrw,oBrw2) } oBrw2:bDragBegin := { |nRow,nCol,nKeyFlags| ...
by Randal
Thu Nov 25, 2010 5:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Drag & Drop Question
Replies: 4
Views: 1215

Re: Weird xBrowse Problem

I have tried this with \fwh\samples\testxbr3.prg. Set bDragBegin in one MDI Child and bDropOver in another MDI Child. It is working fine for me.

Can you post a small sample to reproduce the problem?
by nageswaragunupudi
Thu Apr 01, 2010 10:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Weird xBrowse Problem
Replies: 3
Views: 673

... TWBrowse():lHScroll:= .F. @ 6, 2 LISTBOX Brw1 ; FIELDS "" ; ALIAS (CALIAS) ; OF oWndChild ; UPDATE Brw1:SetCols( bro_campo, bro_subtit) Brw1:bDropOver = { | uDropInfo, nRow, nCol, nKeyFlags | ; Brw1:Add( uDropInfo ), MsgBeep() } Brw1:lCellStyle = .T. Brw1:lAutoEdit = .T. Brw1:lAutoSkip = ...
by angstin
Thu Oct 30, 2008 2:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ANTONIO AYUDA CON SETFOCUS A UN MDI
Replies: 9
Views: 1520

bDropOver - nRow, nCol

Mr Antonio I am trying to use the nRow, nCol parameters of bDropOver block when drop occurs on a window. Naturally I expected that the nRow,nCol refer to the destination window. It is not the case. I found that they are not even Screen Coordinates. On ...
by nageswaragunupudi
Mon Feb 11, 2008 8:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bDropOver - nRow, nCol
Replies: 15
Views: 2796

We could control that behavior from the MouseMove() method.

We need to check the object that it is below the mouse, and if it is a FWH object, and then check its bDropOver codeblock contents.
by Antonio Linares
Tue Jan 29, 2008 9:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drag Cursor
Replies: 18
Views: 2573

Drag Cursor

... In the programs we develop with FW, the drag cursor looks the same even when it is moved over windows ( controls ) which do not accept drop. ( bDropOver data is nil ). Is it possible for the Window class's method MouseMove examines the cursor, and if it is a drag cursor originating from some ...
by nageswaragunupudi
Mon Jan 28, 2008 3:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drag Cursor
Replies: 18
Views: 2573

Drag & Drop Browse

Hola,

Tengo 2 ventanas mdi y en cada una un browse. a los cuales les tengo permitido el arrastrar y soltar.

Lo que quiera es controlar en que fila del browse se suelta el botón, ya que la variable nRow que se carga en bDropOver cambia dependiendo de donde se encuentre la ventana.
by fgondi
Tue Dec 04, 2007 7:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Drag & Drop Browse
Replies: 3
Views: 738

... ; HEADERS "Name" ; FIELDSIZES 140 ; SIZE 140, 60 ; OF oFld:aDialogs[ 2 ] oBrw1:oDragCursor := oCursor oBrw2:oDragCursor := oCursor oFld:bDropOver = { |uDropInfo,nRow,nCol,nKeyFlags|ShowPos( nRow, nCol, oFld ) } ACTIVATE DIALOG oDlg CENTERED return nil //----------------------------------------------------------------------------// ...
by Otto
Mon Nov 26, 2007 10:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drag & drop folder
Replies: 11
Views: 2391

... ; HEADERS "Name" ; FIELDSIZES 140 ; SIZE 140, 60 ; OF oFld:aDialogs[ 2 ] oBrw1:oDragCursor := oCursor oBrw2:oDragCursor := oCursor oFld:bDropOver = { |uDropInfo,nRow,nCol,nKeyFlags|ShowPos( nRow, nCol, oFld ) } ACTIVATE DIALOG oDlg CENTERED return nil //----------------------------------------------------------------------------// ...
by Otto
Thu Nov 22, 2007 10:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drag & drop folder
Replies: 11
Views: 2391

Drag & drop folder

Why does oFld:bDropOver return a different value for nCol if you drop on the same point depending from nLeft of the object (here from xBrowse) you drag from? How could I find out on what folder you drop? oFld:bDropOver = { |uDropInfo,nRow,nCol,nKeyFlags| ...
by Otto
Mon Nov 19, 2007 7:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drag & drop folder
Replies: 11
Views: 2391

drag drop oSay

Could someone show me what I am doing wrong that oSay drag doesn’t fire a oWnd:bDropOver? // FiveWin - own Drag&Drop new features !!! #include "FiveWin.ch" static oWnd //----------------------------------------------------------------------------// function ...
by Otto
Mon Nov 05, 2007 9:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: drag drop oSay
Replies: 7
Views: 1254

Drag and drop - How to do - like itunes-software

... oLbx VAR cItem ; ITEMS { "I am a listbox!","Apples", "Oranges", "Lemons", "Limes" } SIZE 200, 200 // Set a DropOver action for the ListBox oLbx:bDropOver = { | uDropInfo, nRow, nCol, nKeyFlags | ; msginfo(uDropInfo),msginfo(str(nRow)+" " + str(nCol) + " " + str(nKeyFlags)) } ACTIVATE WINDOW ...
by Otto
Thu Sep 20, 2007 5:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drag and drop - How to do - like itunes-software
Replies: 8
Views: 1519

Thanks and I've another qutestion?

... := { |nRow,nCol,Flags,Self| SetDropInfo( right(Eval( oBrw:aColumns[ oBrw:nAtCol( nCol ) ]:bData ),10)+ ; Eval( oBrw:aColumns[ 2 ]:bData ) ) } oBrw:bDropOver := { |uDropInfo,nRow,nCol,nKeyFlags| if(uDropInfo<>nil, ( MoveRms( uDropInfo+str( Int((nRow-25)/20),3 ), oBrw ) ), ) } *Now I use this* ...
by dutch
Tue Jul 25, 2006 4:24 pm
 
Forum: FiveWin for CA-Clipper
Topic: How can I get data from each column of TSbrowse?
Replies: 13
Views: 4672

Como se convierte font de Twindows a FONT DE TPRINTER

... } //msginfo("TGET") } // oBtn4:bDragBegin = { || laclase := "GROUP" } //msginfo("TSSAY") } // ACTIVATE DIALOG oDlgt NOWAIT // oBar1:Float() oWndr:bDropOver = { || AddGet(aGets,Dblclick) } Func GraoWnd(oWnd,donde,oScroll) Local j,control,aRect,coor:="" //oScroll:HScrollTrack(0) ;oScroll:VScrollTrack(0) ...
by Vladimir Zorrilla
Tue Apr 18, 2006 6:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como se convierte font de Twindows a FONT DE TPRINTER
Replies: 5
Views: 3784

... el wBrowse de Hernan y lo defino en un archivo RC. Estoy simplemente mostrando un mensaje al hacer el drop pero, aun asi no funciona : oLbxDocto:bDropOver := { || MsgAlert("Drop") } Gracias
by gdeteran
Fri Dec 23, 2005 6:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No me funciona Drag&Drop en Browse con XP
Replies: 6
Views: 1541
PreviousNext

Return to advanced search