Search found 112 matches: tgrid

Return to advanced search

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 ...
by Jimmy
Mon Sep 04, 2023 9:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 421

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...
by nageswaragunupudi
Mon Sep 04, 2023 2:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 421

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 ...
by Jimmy
Thu Aug 31, 2023 3:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 421

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:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 421

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:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 421

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 d...
by nageswaragunupudi
Wed Aug 30, 2023 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 421

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-multibytetowid...
by nageswaragunupudi
Wed Aug 30, 2023 2:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 421

Listview Unicode for CLASS TGrid()

hi, i have found in c:\fwh\source\winapi\listview.c what was change for Unicode   LPWSTR pWide = fw_parWide( 3 );//   lvi.pszText  = ( LPTSTR ) hb_parc( 3 );   lvi.pszText  = pWide; Question : is fw_parWide() the same as AnsiToWide() :?: --- i have now include #define UNICODE    // Made Unic...
by Jimmy
Wed Aug 30, 2023 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 421

Re: REQUEST HB_CODEPAGE_xxx and show possible Codepage

... 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
Tue Aug 15, 2023 11:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: REQUEST HB_CODEPAGE_xxx and show possible Codepage
Replies: 3
Views: 220

Re: build Import LIB from LibPQ.DLL

... 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( ...
by Jimmy
Sat Jul 22, 2023 11:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: build Import LIB from LibPQ.DLL
Replies: 37
Views: 2901

Re: build Import LIB from LibPQ.DLL

... 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
Thu Jul 20, 2023 8:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: build Import LIB from LibPQ.DLL
Replies: 37
Views: 2901

Re: PICTURE for DATE() ?

... 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 :?:
by Jimmy
Wed Jul 19, 2023 5:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PICTURE for DATE() ?
Replies: 10
Views: 424

PICTURE for DATE() ?

hi, for my TGrid i have function FW_Record()return TDataRow() to use METHOD EDIT() of CLASS TDataRow now i like to add some PICTURE but which PICTURE for DATE to use depend on language :?: oRec := FW_Record():New( ...
by Jimmy
Mon Jul 17, 2023 8:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PICTURE for DATE() ?
Replies: 10
Views: 424

Re: Copy Directory

... i call it in different Situation e.g. "dragdrop" LOCAL aItem := ::oGrid:Getdata() this will get all "marked" Files in TGrid()
by Jimmy
Fri Jul 07, 2023 5:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copy Directory
Replies: 11
Views: 516

Re: UTF8 SQL and FW_SetUnicode() / hb_cdpSelect()

... "where" :?: --- i have try to use FW_SetUnicode(.T.) and hb_cdpSelect("UTF9") but it does not change "display" in TGrid() it does work with HMG and Xbase++ but not with Fivewin ... what do i misunderstood :?:
by Jimmy
Thu Jul 06, 2023 8:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: UTF8 SQL and FW_SetUnicode() / hb_cdpSelect()
Replies: 2
Views: 320
Next

Return to advanced search