... Understand. The problem is with TRANSPARENT and Themed dialogs (using Manifest).
Please apply this fix to \fwh\source\classes\dialog.prg:
Please locate this line of code in the METHOD Initialize(..) of Dialog.prg "TBAR;TGET;TMULTIGET;TBTNBMP;TCOMBOBOX;TWBROWSE;TCBROWSE;TXBROWSE;TLISTBOX;TDBCOMBO ...
Search found 582 matches: locate
Searched query: locate
- Tue Feb 04, 2025 8:48 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: problemas con CheckBox en Dialog con TRANSPARENT en FWH 2409
- Replies: 12
- Views: 11408
- Sat Jan 25, 2025 9:50 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: FW_ReadImage error
- Replies: 7
- Views: 1117
Re: FW_ReadImage error
Please make this correction in the function FW_ReadImage() in the file fwh\source\function\imgtxtio.prg:
Please locate this line of code:
aBmp := { If( lDuplicate, DuplicateIcon( uBmp ), uBmp ), 0, 32, 32, .f., "ICON", .f., "" }
Replace this line of code with this line
aBmp := { If( lDuplicate ...
Please locate this line of code:
aBmp := { If( lDuplicate, DuplicateIcon( uBmp ), uBmp ), 0, 32, 32, .f., "ICON", .f., "" }
Replace this line of code with this line
aBmp := { If( lDuplicate ...
- Fri Nov 15, 2024 8:48 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: locate with Tdatabase
- Replies: 0
- Views: 963
locate with Tdatabase
... NIL
MsgInfo("Errore nell'aprire il database!", "Errore")
RETURN NIL
ENDIF
oDbf:SetOrder(1)
oDbf:GoTop()
Select( oDbf:nArea ) // for use locate
ntotali_records := oDbf:OrdKeyCount()
LOCATE FOR Year(oDbf:data) = Val(nAnno2)
oDbf:load()
IF oDbf:Found()
LOCATE FOR Year(oDbf:data ...
MsgInfo("Errore nell'aprire il database!", "Errore")
RETURN NIL
ENDIF
oDbf:SetOrder(1)
oDbf:GoTop()
Select( oDbf:nArea ) // for use locate
ntotali_records := oDbf:OrdKeyCount()
LOCATE FOR Year(oDbf:data) = Val(nAnno2)
oDbf:load()
IF oDbf:Found()
LOCATE FOR Year(oDbf:data ...
- Mon Oct 21, 2024 7:08 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: MariaDb how use locate for a date SOLVED
- Replies: 5
- Views: 701
Re: MariaDb how use locate for a date SOLVED
Code: Select all | Expand
? cFilter := oCn:ExprnDBF( "STATE = ? .AND. AGE >= ?", { "NY", 45 } )
oRs:SetFilter( cFilter )
// OR
oRs:SetFilter( "STATE = ? .AND. AGE >= ?", { "NY", 45 } )
// and later
oRs:ReFilter( { "WA", 35 } )
- Mon Oct 21, 2024 4:30 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: MariaDb how use locate for a date SOLVED
- Replies: 5
- Views: 701
Re: MariaDb how use locate for a date SOLVED
Thanks RAO ,
? cLocate := oCn:ExprnDBF( "HIREDATE = ?", { DATE() } )
oRs:locate( cLocate )
This code works , where oCn is the connection and oRs is the recordset
but
? cFilter := oCn:ExprnDBF( "STATE = ? .AND. AGE >= ?", { "NY", 45 } )
where is the recordset ?
Maurizio
? cLocate := oCn:ExprnDBF( "HIREDATE = ?", { DATE() } )
oRs:locate( cLocate )
This code works , where oCn is the connection and oRs is the recordset
but
? cFilter := oCn:ExprnDBF( "STATE = ? .AND. AGE >= ?", { "NY", 45 } )
where is the recordset ?
Maurizio
- Mon Oct 21, 2024 2:52 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: MariaDb how use locate for a date SOLVED
- Replies: 5
- Views: 701
Re: MariaDb how use locate for a date SOLVED
As Mr. Vilian said, the expressions used for oRs.SetFilter and oRs:Locate should use DBF syntax.
Very same expressions you use for setting filters or locate for statements in DBF.
There is another method which helps you to make these expression easily for you.
? cLocate := oCn:ExprnDBF( "HIREDATE ...
Very same expressions you use for setting filters or locate for statements in DBF.
There is another method which helps you to make these expression easily for you.
? cLocate := oCn:ExprnDBF( "HIREDATE ...
- Mon Oct 21, 2024 1:01 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: MariaDb how use locate for a date SOLVED
- Replies: 5
- Views: 701
Re: MariaDb how use locate for a date
Thanks Vilian
it works correctly
Maurizio
it works correctly
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Maurizio
- Mon Oct 21, 2024 11:04 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MariaDb how use locate for a date SOLVED
- Replies: 5
- Views: 701
Re: MariaDb how use locate for a date
I'm not Rao, sorry
But oRs:Locate() must be used with a xbase expression. So, you should to do something like this:
![Smile :)](./images/smilies/icon_smile.gif)
But oRs:Locate() must be used with a xbase expression. So, you should to do something like this:
Code: Select all | Expand
cLocate := " HIREDATE = CTOD( ' " + Dtoc(Date())+" ' ) "
? oRs:Locate(cLocate)
- Mon Oct 21, 2024 8:58 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MariaDb how use locate for a date SOLVED
- Replies: 5
- Views: 701
MariaDb how use locate for a date SOLVED
Hello Rao ,
in a select when I search for a date I use
SELECT * FROM customer WHERE HIREDATE= " +DTOS(DATE())
How do I use the date search with locate?
I tried
cLocate := " HIREDATE = '" + DTOS(DATE()) + "'"
But I have this error
Error occurred at: 10/21/24, 10:57:32
Error description: Error ...
in a select when I search for a date I use
SELECT * FROM customer WHERE HIREDATE= " +DTOS(DATE())
How do I use the date search with locate?
I tried
cLocate := " HIREDATE = '" + DTOS(DATE()) + "'"
But I have this error
Error occurred at: 10/21/24, 10:57:32
Error description: Error ...
- Sat Oct 19, 2024 7:49 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Extending SetScope()
- Replies: 15
- Views: 2460
Re: Extending SetScope()
The magic lies in the Optimized filter with CDX, but when is it optimized ?
By setting the indexes ?
You see option 2b of Mr. Rao ? Using Locate ? didn't know it )))
I think if more members request the samples from Mr. Rao he will help us
By setting the indexes ?
You see option 2b of Mr. Rao ? Using Locate ? didn't know it )))
I think if more members request the samples from Mr. Rao he will help us
- Sat Oct 19, 2024 3:06 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Extending SetScope()
- Replies: 15
- Views: 2460
Re: Extending SetScope()
... a part number, seek "INCVOICE" + "PARTNUMBER". We can do incremental search also.
(b) Continue your same program as it is. Instead of SEEK, use LOCATE to search the part number. I can assure that this also will be fast enough
You may consider options 2(b), 2(a), 1 in that order.
Please feel free ...
(b) Continue your same program as it is. Instead of SEEK, use LOCATE to search the part number. I can assure that this also will be fast enough
You may consider options 2(b), 2(a), 1 in that order.
Please feel free ...
- Fri Oct 18, 2024 9:59 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
- Replies: 5
- Views: 810
Re: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
... has been overlooked for many years.
Thanks for pointing this out.
Can you apply this fix in xbrowse.prg and confirm if this working well.
Please locate these lines in METHOD KeyDown(...) in XBrowse.prg:
case nKey == VK_F2 .and. ::lF2KeyToEdit .and. ! ::lReadOnly
if ! ::lEditMode
WITH OBJECT ...
Thanks for pointing this out.
Can you apply this fix in xbrowse.prg and confirm if this working well.
Please locate these lines in METHOD KeyDown(...) in XBrowse.prg:
case nKey == VK_F2 .and. ::lF2KeyToEdit .and. ! ::lReadOnly
if ! ::lEditMode
WITH OBJECT ...
- Tue Oct 15, 2024 4:29 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Change dimensions gets FWH-24.09
- Replies: 9
- Views: 1154
Re: Change dimensions gets FWH-24.09
.- dimensions gets
Are your gets from source code or resources?
please apply this fix in TGet.prg
Please locate this line in the metho New()
::CalcSize( ::nTop, ::nLeft, nWidth, nHeight )
You may find this code near line 769 or one or two lines above or below.
Please comment out this line and ...
Are your gets from source code or resources?
please apply this fix in TGet.prg
Please locate this line in the metho New()
::CalcSize( ::nTop, ::nLeft, nWidth, nHeight )
You may find this code near line 769 or one or two lines above or below.
Please comment out this line and ...
- Sun Oct 13, 2024 2:41 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: New FWH 24.09
- Replies: 97
- Views: 14912
Re: New FWH 24.09
... Karinha)
-> SkinButtons() // Problemas con este comando en versiones nuevas?
Please apply this fix in \fwh\source\classes\button.prg
Please locate these lines at the end of the TBUTTON CLASS definition.
METHOD Html() INLINE ButtonHtml( ::hWnd )
METHOD Display() INLINE ::BeginPaint ...
-> SkinButtons() // Problemas con este comando en versiones nuevas?
Please apply this fix in \fwh\source\classes\button.prg
Please locate these lines at the end of the TBUTTON CLASS definition.
METHOD Html() INLINE ButtonHtml( ::hWnd )
METHOD Display() INLINE ::BeginPaint ...
- Sat Oct 12, 2024 1:23 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: New FWH 24.09
- Replies: 97
- Views: 14912
Re: New FWH 24.09
... now, please apply this temporary fix:
\fwh\source\classes\btnbmp.prg
Please go to METHOD PaintCaption()
Towards the end of this method, please locate this code:
nClr := XEval( nClr, ::lMover, Self )
if ::lGdip .and. HB_ISNUMERIC( nClr ) .and. !lAnd( nClr, 0xff000000 )
nClr := nARGB( 255, nClr ...
\fwh\source\classes\btnbmp.prg
Please go to METHOD PaintCaption()
Towards the end of this method, please locate this code:
nClr := XEval( nClr, ::lMover, Self )
if ::lGdip .and. HB_ISNUMERIC( nClr ) .and. !lAnd( nClr, 0xff000000 )
nClr := nARGB( 255, nClr ...