... A codeblock executed when dragging begins.
- **`lCaptured`**: Logical flag indicating whether the control has captured the mouse.
- **`lDrag`**: Logical flag indicating whether the control is in drag mode.
- **`lMouseDown`**: Logical flag indicating whether the mouse button is pressed on ...
Search found 76 matches: ldrag
Searched query: ldrag
- Sat Jan 18, 2025 10:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4827
- Sat Feb 24, 2024 6:32 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: how get Event from TExplorerBar() when "collaps" a Panel ?
- Replies: 11
- Views: 1544
Re: how get Event from TExplorerBar() when "collaps" a Panel ?
hi Antonio,
Codeblock-Slot like these we need, thx
but how is METHOD LButtonUp() called when i click to collaps/enlarge
Request :
also need for DragDrop
include DATA lDrag and ::Capture()
Codeblock-Slot like these we need, thx
but how is METHOD LButtonUp() called when i click to collaps/enlarge
![Question :?:](./images/smilies/icon_question.gif)
Request :
also need for DragDrop
Code: Select all | Expand
METHOD LButtonUp( nRow, nCol )
- Tue Nov 23, 2021 9:39 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Button click action
- Replies: 19
- Views: 2363
Re: Button click action
Hello Joao,
I found out, that in my case, it is
oGet:lDrag := .t.
which stops ACTION.
Best regards,
Otto
I found out, that in my case, it is
oGet:lDrag := .t.
which stops ACTION.
Best regards,
Otto
- Sat Apr 17, 2021 12:11 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Xbrowse : Setup configuration file
- Replies: 5
- Views: 1571
Re: Xbrowse : Setup configuration file
... add lines end
::DispEnd( aInfo )
::oFont:Deactivate( hDC )
return 0
4.
METHOD LButtonDown( nRow, nCol, nFlags ) CLASS TXBrowse
...
if ::lDrag
return Super:LButtonDown( nRow, nCol, nFlags )
endif
// add the lines
if nRow < ::HeaderHeight()-if(::lgetbar,::nrowheight*2,0) .and. nCol > 0 ...
::DispEnd( aInfo )
::oFont:Deactivate( hDC )
return 0
4.
METHOD LButtonDown( nRow, nCol, nFlags ) CLASS TXBrowse
...
if ::lDrag
return Super:LButtonDown( nRow, nCol, nFlags )
endif
// add the lines
if nRow < ::HeaderHeight()-if(::lgetbar,::nrowheight*2,0) .and. nCol > 0 ...
- Sat Jan 11, 2020 9:25 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Drag & Drop
- Replies: 2
- Views: 615
Re: Drag & Drop
... ya se mueven, drag&drop, con el siguiente código :
IF oWnd:ClassName()="TBITMAPINF"
::bRClicked:= { || ( ::lInfinito:=.f., ::Hide(), ::oWnd:lDrag:=.t. ) }
::oWnd:blDblClick := { || ::oWnd:lDrag:=.f., ::lInfinito:=.t., ::Show() }
ENDIF
Pero estéticamente no me acaba de gustar.
Te pongo ...
IF oWnd:ClassName()="TBITMAPINF"
::bRClicked:= { || ( ::lInfinito:=.f., ::Hide(), ::oWnd:lDrag:=.t. ) }
::oWnd:blDblClick := { || ::oWnd:lDrag:=.f., ::lInfinito:=.t., ::Show() }
ENDIF
Pero estéticamente no me acaba de gustar.
Te pongo ...
- Sat Sep 01, 2018 6:05 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: xBrowse error on ADS (SOLVED!)
- Replies: 12
- Views: 3510
Re: xBrowse error on ADS
Hi Nages,
I have removed the ADSKEYNO error by adding the following EXTERN commands:
EXTERN ADSKeyNo
EXTERN ADSKeyCount
EXTERN ADSSetRelKeyPos
EXTERN ADSGetRelKeyPos
but still the error on xbrowse:ldrag persists.
Best regards,
ryugarai27
I have removed the ADSKEYNO error by adding the following EXTERN commands:
EXTERN ADSKeyNo
EXTERN ADSKeyCount
EXTERN ADSSetRelKeyPos
EXTERN ADSGetRelKeyPos
but still the error on xbrowse:ldrag persists.
Best regards,
ryugarai27
- Fri Aug 31, 2018 9:17 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: xBrowse error on ADS (SOLVED!)
- Replies: 12
- Views: 3510
xBrowse error on ADS (SOLVED!)
... I am having this error:
Error occurred at: 08/31/2018, 17:00:05
Error description: Error BASE/1004 Class: 'NUMERIC' has no exported method: LDRAG
Args:
[ 1] = N -12
Stack Calls
===========
Called from: => LDRAG( 0 )
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:SETRDD( 4959 ...
Error occurred at: 08/31/2018, 17:00:05
Error description: Error BASE/1004 Class: 'NUMERIC' has no exported method: LDRAG
Args:
[ 1] = N -12
Stack Calls
===========
Called from: => LDRAG( 0 )
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:SETRDD( 4959 ...
- Thu Mar 15, 2018 12:58 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: recompiling an oldest application : TPanel error ldrag ?
- Replies: 2
- Views: 549
Re: recompiling an oldest application : TPanel error ldrag ?
In 2017 July, 6th param lDesign was added to the method New, which defaults to .F. and
::lDrag := .f. was changed to ::lDrag := lDesign.
Any existing programs, if correctly written, should not have any problem with this change.
Prior to this change method New had 5 params, <top>, <left>, <bottom ...
::lDrag := .f. was changed to ::lDrag := lDesign.
Any existing programs, if correctly written, should not have any problem with this change.
Prior to this change method New had 5 params, <top>, <left>, <bottom ...
- Wed Mar 14, 2018 9:27 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: recompiling an oldest application : TPanel error ldrag ?
- Replies: 2
- Views: 549
Re: recompiling an oldest application : TPanel error ldrag ?
correct!!
::lDrag = .f.
was remmed .....why?
::lDrag = .f.
was remmed .....why?
- Wed Mar 14, 2018 9:10 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: recompiling an oldest application : TPanel error ldrag ?
- Replies: 2
- Views: 549
recompiling an oldest application : TPanel error ldrag ?
... secs Error occurred at: 14-03-2018, 22:02:28 Error description: Error BASE/44 Assigned value is wrong class: TPANEL:LDRAG Args: [ 1] = N 16777215Stack Calls=========== Called from: => TPANEL:_LDRAG ...
- Thu May 14, 2015 1:46 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Manipulacion de Poligonos...
- Replies: 5
- Views: 1062
Manipulacion de Poligonos...
... es:
Teneniendo un numero indeterminado de poligonos y de tamaños indeterminados, quiero crear objetos (drag and drop), que puedan ser movibles (lDrag), rotables, y organizados en un area determinada, previniendo estos objetos de ser movidos fuera de esa area o encima de otro elemento ...
Teneniendo un numero indeterminado de poligonos y de tamaños indeterminados, quiero crear objetos (drag and drop), que puedan ser movibles (lDrag), rotables, y organizados en un area determinada, previniendo estos objetos de ser movidos fuera de esa area o encima de otro elemento ...
- Tue Feb 03, 2015 10:36 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Problemas con bDropOver en Drag&Drop
- Replies: 0
- Views: 296
Problemas con bDropOver en Drag&Drop
... 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") }
Bueno, pues nunca salta el msginfo() y a partir de ahí, no puedo ...
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") }
Bueno, pues nunca salta el msginfo() y a partir de ahí, no puedo ...
- Thu Oct 23, 2014 4:55 pm
- Forum: EasyReport, EasyDialog y EasyPreview
- Topic: help to compile easyreport
- Replies: 27
- Views: 17961
Re: help to compile easyreport
... que genera los Dots que propone Silvio ...
DotsSelect( hDC , nTop, nleft, nbottom, nRight )
Ahora falta mirar como quitamos todo el tema de ldrag y ponemos nuestro propio sistema ... me da que va a ser largo de implementar pero a la larga seguro que no funciona mejor . ¿ Quizas si derivamos ...
DotsSelect( hDC , nTop, nleft, nbottom, nRight )
Ahora falta mirar como quitamos todo el tema de ldrag y ponemos nuestro propio sistema ... me da que va a ser largo de implementar pero a la larga seguro que no funciona mejor . ¿ Quizas si derivamos ...
- Thu Oct 09, 2014 8:17 am
- Forum: EasyReport, EasyDialog y EasyPreview
- Topic: La nueva apariencia de EasyReport
- Replies: 226
- Views: 194501
Re: La nueva apariencia de EasyReport
Cristobal , en la function ElementActions , oItem:bLClicked nunca se ejecuta porque el elemento esta en lDrag:= .t. Debemos tenerlo en cuenta y no sé si quitar ese código .
Por otro lado la asignación de todos estos codeblock ¿ no sería mas correcta hacerla en ShowItem que aquí ? .
Espero tu opinión.
Por otro lado la asignación de todos estos codeblock ¿ no sería mas correcta hacerla en ShowItem que aquí ? .
Espero tu opinión.
- Mon Nov 04, 2013 10:36 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Easy Dialogs
- Replies: 9
- Views: 2038
Re: Easy Dialogs
Eduardo,
Con los SAYs basicamente tienes que hacer dos cosas:
oSay:lWantClick = .T. // para que procesen los clicks del ratón
oSay:lDrag = .T.
El resto es como hacemos en design.prg:
oSay:bRClicked = { | nRow, nCol | EditControl( nRow, nCol, oSay ) }
y desde EditControl() ya puedes modificar los ...
Con los SAYs basicamente tienes que hacer dos cosas:
oSay:lWantClick = .T. // para que procesen los clicks del ratón
oSay:lDrag = .T.
El resto es como hacemos en design.prg:
oSay:bRClicked = { | nRow, nCol | EditControl( nRow, nCol, oSay ) }
y desde EditControl() ya puedes modificar los ...