Search found 73 matches: tgrid

Searched query: tgrid

by Jimmy
Thu Sep 19, 2024 2:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GOT 64 Bit Version running
Replies: 20
Views: 2733

Re: GOT 64 Bit Version running

... referenced from R:\TEMP\HBMK_5XHQ19.DIR\FWMODIFY.OBJ
Error: Unresolved external '_HB_FUN_MY_DIRECTORY' referenced from R:\TEMP\HBMK_5XHQ19.DIR\TGRID.OBJ
Error: Unresolved external '_HB_FUN_ENDWITHSLASH' referenced from R:\TEMP\HBMK_5XHQ19.DIR\TGRID.OBJ
Error: Unresolved external '_HB_FUN ...
by Jimmy
Wed Sep 18, 2024 4:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GOT 64 Bit Version running
Replies: 20
Views: 2733

Re: GOT 64 Bit Version running

... on End i got
hbmk2[testx32]: Error: Running C/C++ compiler. 2
and NO 32 Bit *.EXE are generated

i use this *.HBP
-gui -mt
-w-inl

DUALGRID.PRG
TGRID.PRG
HB_FUNC.PRG
SHELLAPP.PRG
HBEJECT.PRG
CODEPAGE.PRG
IPHONE.PRG
PROPERTY.PRG
EVERYTH.PRG
ABOUT.PRG
DLGREPL.PRG
XBROWSE.PRG
YBROWSE.PRG ...
by Jimmy
Mon Sep 04, 2023 9:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 730

Re: Listview Unicode for CLASS TGrid()

hi,

i do understand that East Asian Languages are not the biggest Problem for Fivewin

my TGrid() ANSI Version work so far but when enable LVS_OWNERDATA it does not work with FW_SetUnicode( .T. ) :(
::nStyle := nOR( ::nStyle, LVS_OWNERDATA )
::bDisplay := { | nPtrNMHDR | ::OnDISPINFO( nPtrNMHDR ...
by nageswaragunupudi
Mon Sep 04, 2023 2:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 730

Re: Listview Unicode for CLASS TGrid()

i try to learn "C" but for these "Problem" my "C" Knowledge is to small

I am also still learning Sir.
We will surely assist you on this.
Please give me a little more time.
Too many things on hand right now.

Note:
This is my personal opinion. I will stand corrected if I am wrong.
I think if the ...
by Jimmy
Thu Aug 31, 2023 3:21 am
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 730

Re: Listview Unicode for CLASS TGrid()

hi,
can I see the full HB_FUNC?
you can find Source of CLASS TGrid and Hb_Func.PRG ( all "C" Code ) at
https://github.com/AugeOhr/TGRID

---

i try to learn "C" but for these "Problem" my "C" Knowledge is to small
my ANSI Version , using TCHAR / LPSTR , work but how with Unicode :?:

need some ...
by nageswaragunupudi
Wed Aug 30, 2023 6:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 730

Re: Listview Unicode for CLASS TGrid()

how to use this with Unicode
Code:
lvi.pszText = (TCHAR*) hb_parvc (2, 1);
can I see the full HB_FUNC?
Or you can send to me.
by nageswaragunupudi
Wed Aug 30, 2023 6:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 730

Re: Listview Unicode for CLASS TGrid()

i guess it is while i have not use fw_parWide() / LPWSTR but LPTSTR
Yes.
If you like we can make the modifications.
by nageswaragunupudi
Wed Aug 30, 2023 6:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 730

Re: Listview Unicode for CLASS TGrid()

#define UNICODE // Made Unicode compatible 2023-07-07
#include <CommCtrl.h>
#undef UNICODE
#include "fwh.h"

Sole purpose of this def and undef is to get the our program defines to work with Wide structures and Wide api functions.
Beyond that we have no use for this define.


In some cases Wide ...
by nageswaragunupudi
Wed Aug 30, 2023 2:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 730

Re: Listview Unicode for CLASS TGrid()

Question : is fw_parWide() the same as AnsiToWide() :?:

No.
if the parameter is UTF8 it uses "MultiByteToWideChar()", Windows API function and if not, then it is ANSI and uses AnsiToWide()
See:
https://learn.microsoft.com/en-us/windows/win32/api/stringapiset/nf-stringapiset-multibytetowidechar ...
by Jimmy
Wed Aug 30, 2023 1:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 730

Listview Unicode for CLASS TGrid()

... pointer conversion in function HB_FUN_LV_SETITEMTEXT
Warning W8075 .\\HB_FUNC.PRG 1601: Suspicious pointer conversion in function HB_FUN_LV_SETGRIDQUERYDATA
Warning W8075 .\\HB_FUNC.PRG 1601: Suspicious pointer conversion in function HB_FUN_LV_SETGRIDQUERYDATA
i guess it is while i have not ...
by Jimmy
Tue Aug 15, 2023 11:24 am
Forum: FiveWin for Harbour/xHarbour
Topic: REQUEST HB_CODEPAGE_xxx and show possible Codepage
Replies: 3
Views: 313

Re: REQUEST HB_CODEPAGE_xxx and show possible Codepage

... oGrid )
ChangeCodePage()
later use (not need when pass cPathcFile.)
USE (cDBF) EXCLUSIVE CODEPAGE SP_cWinCodepage()

---

Sample use CLASS TGrid() and DEFINE WINDOW but it include also CODE for XBROWSE and DEFINE DIALOG
it work which my TGrid() / WINDOW but how with XBROWSE / DIALOG ...
by Jimmy
Sat Jul 22, 2023 11:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: build Import LIB from LibPQ.DLL
Replies: 37
Views: 5065

Re: build Import LIB from LibPQ.DLL

... please?
i can´t say why "edit" use wrong "Position" when NOT set "ENCODING" and FW_SetUnicode( .F. )

---

my "native" LibPQ.DLL Version, using TGrid() work also with FW_SetUnicode( .T. )
but TGrid() fail to "send" Notify Event and "Input" is wrong when use FW_SetUnicode( .T. )

---

is FW ...
by Jimmy
Thu Jul 20, 2023 8:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: build Import LIB from LibPQ.DLL
Replies: 37
Views: 5065

Re: build Import LIB from LibPQ.DLL

... oPGU:QuickQuery( cQuery )
fwlog cENCODING
now it work perfect UTF8 <-> WIN1252 and no hb_translate() is need any more :D
! Note : SERVER_ENCODING Setting are default for Database ( Catalog ) ... but Table itself can be different

p.s. have use TGrid() but it should work with XBROWSE too
by Jimmy
Wed Jul 19, 2023 5:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: PICTURE for DATE() ?
Replies: 10
Views: 1014

Re: PICTURE for DATE() ?

... cc/sDKf96YD/wrong-valid.gif

---

TDataRow():New( oRs ):Edit()
// or just
XEdit( oRs )
i have to say that i´m not using XBROWSE / XBROWSER ... i want to use a TGrid()
lEdit := XEdit( aEdit, cName )
aEdit Element have {FIELDname,FIELDvalue} but not "Structure" ...
did i use XEdit() wrong :?: