Search found 1243 matches: codeblock

Return to advanced search

New FTDN April 2024 (FWH 24.04)

... .t., the errors are logged to <exename>.log. If cLogFile is specified errors are logged to the specified file. 3. bOnErr: If specified, this codeblock is evaluated with params |oCn, oErr, e, GetPrcLn( 1 )| - New: function FW_GetAdoError( oCn ) --> oAdoErr Returns Ado Error and then clears ...
by Antonio Linares
Wed Apr 24, 2024 7:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 0
Views: 42

Re: also error with btnbmp SHOWPOPUP

Nages, I have one popup on this codeblock oBrw:bRClicked := {|nRow,nCol| Disp_Menu_Comuni(oParent,nRow,nCol,oDbf,oBrw,cSection,oCont) .....} Function Disp_Menu_Comuni(oParent,nRow,nCol,oDbf,oBrw,cSection,oCont) .... ENDMENU ACTIVATE POPUP ...
by Silvio.Falconi
Sun Mar 31, 2024 9:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: also error with btnbmp SHOWPOPUP
Replies: 8
Views: 1707

Re: Another for Btnbmp

Antonio Linares wrote:Silvio,

Have you tried to remove this line ?

obtn[n]:nClrBorder := RGB(195,195,185)


I remeber it wanted a codeblock with lMover but I 'm searching on forum now
by Silvio.Falconi
Wed Mar 20, 2024 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 4962

New FTDN February 2024 (FWH 24.02)

... from mysql cloud server using RecSet() class FWHMaria lib * Enhancement: Class TWebView() new METHOD Dispatch( bAction ) where bAction is a codeblock that gets the hWebView as the first parameter { | hWebView | ... } * New: samples\webview\sidebar.prg shows how to use Class TWebView in a ...
by Antonio Linares
Sat Mar 02, 2024 8:31 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February 2024 (FWH 24.02)
Replies: 1
Views: 210

Re: how to get Childlist of a Control ?

hi Antonio,
Antonio Linares wrote:EnumChildWindows( hWndControl, { | hWndChild | ... } )

In FWH 24.02 the codeblock must returns .T. to continue with the next child, or .F. to stop the enum
In previous FWH builds, .T. is used by default

ok, understand
THX
by Jimmy
Thu Feb 29, 2024 5:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to get Childlist of a Control ?
Replies: 2
Views: 119

Re: how to get Childlist of a Control ?

Dear Jimmy,

EnumChildWindows( hWndControl, { | hWndChild | ... } )

In FWH 24.02 the codeblock must returns .T. to continue with the next child, or .F. to stop the enum

In previous FWH builds, .T. is used by default
by Antonio Linares
Thu Feb 29, 2024 5:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to get Childlist of a Control ?
Replies: 2
Views: 119

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
Code: Select all  Expand view
METHOD LButtonUp( nRow, nCol )

include DATA lDrag and ::Capture()
by Jimmy
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: 477

Re: how get Event from TExplorerBar() when "collaps" a Panel ?

...   DATA   lCollapsed      INIT .F. and it will be assign Value in METHOD LButtonUp(nRow, nCol, nFlags ) CLASS TTaskPanel but there is no Codeblock-Slot like bLButtonUp which will "react" when click on "Collaps" :( i do not understand "when" to call LButtonUp() ...
by Jimmy
Sat Feb 24, 2024 2:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how get Event from TExplorerBar() when "collaps" a Panel ?
Replies: 11
Views: 477

Re: how get Event from TExplorerBar() when "collaps" a Panel ?

... "react" to call Method ChekScroll() :?: when "click" there will be WM_LBUTTONDOWN / WM_LBUTTONUP Event fired for this we have Codeblock-Slot like in c:\fwh\samples\testmmd.prg   oWndMOUSE:bLClicked    = { | nRow, nCol, nFlags | oWndMOUSE:Say( 2, 2,  "LButtonDown" ...
by Jimmy
Sat Feb 24, 2024 2:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how get Event from TExplorerBar() when "collaps" a Panel ?
Replies: 11
Views: 477

Re: Create a Panel width a text

hi Silvio, i have try your Sample and got Problem using PANEL and Codeblock   oPanelText:bPainted = { | hDC | ;    FW_SayText( hDC, ;           alltrim( ( cMessage ) ), ;          { 10, 50, aDim[ 2 ] + 50, 300 },,oFonttext, ...
by Jimmy
Thu Feb 22, 2024 8:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3188

Re: New FTDN October/Octubre 2023 (FWH 23.10)

... Se ha mejorado la lógica de reconexión cuando la aplicación pierde la conexión con el servidor. Nuevo data bOnLostServer: Si se especifica este codeblock, es llamado cuando la aplicación pierde la conexión con el servidor. * Nuevo: Nueva función FolderExists( cFolder ) --> lExists * LAS APLICACIONES ...
by Antonio Linares
Sun Dec 03, 2023 4:46 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3906

colorize a xbrowse with a brush

... Empty(oBrw:aArrayData[oBrw:KeyNo(),n] ), oBrush, nil ) }         Next n  but not run ok I tried also with a codeblock for each oCol in oBrw:aCols             oCol:oBrush := GenClrBlock( oCol,oBrush )          nextstatic function GenClrBlock( oCol,oBrush ...
by Silvio.Falconi
Tue Nov 07, 2023 9:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: colorize a xbrowse with a brush
Replies: 3
Views: 334

New FTDN October/Octubre 2023 (FWH 23.10)

... * FWMariaConnection: Reconnection logic improved when the app loses connection to the server. New data bOnLostServer: If this codeblock is specified, it is called when the application loses connection with the server. * New: function FolderExists( cFolder ) --> lExists * ...
by Antonio Linares
Thu Nov 02, 2023 9:53 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3906

Re: Como obtener el resultado de una formula

Bueno, finalmente logré combinar todas las ideas aportadas y el uso de codeblock para resolver el problema. En la tabla informes contiene el campo rutainforme = "inf1_" + Dtos( dFecha ) + "-" + Substr( whoraini, 1, 2 ) + Substr(whoraini, ...
by jose_murugosa
Tue Oct 03, 2023 4:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como obtener el resultado de una formula (resuelto)
Replies: 15
Views: 569

Re: Request : function GetSerialCol()

hi

i can add new Record, it was a Typo :roll:

---

i can use bLDblClick when NOT set nEditTypes
Code: Select all  Expand view
*      :nEditTypes := EDIT_GET
      :bLDblClick := { || oBrw:EditSource() }

it must before :bDataRow := Codeblock
by Jimmy
Wed Sep 27, 2023 3:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Request : function GetSerialCol()
Replies: 8
Views: 581
Next

Return to advanced search