Search found 55 matches

by dutch
Thu Dec 19, 2024 6:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: bDragBegin and bDropOver problem *Unresolve*
Replies: 31
Views: 6579

Re: bDragBegin and bDropOver problem *Unresolve*

Dear Master Rao,

Any update, thx in advance,
Dutch
by dutch
Fri Dec 06, 2024 2:35 am
Forum: FiveWin for Harbour/xHarbour
Topic: Incorrect Font Display
Replies: 29
Views: 3438

Re: Incorrect Font Display

Dear Master Rao,

This issue is FW_SetUnicode(.F.) is not the same behavier as ANSI (do not declare FW_SetUnicode).
K.Surasak,
What is chr(202)+chr(161) represent for (which character in Thai) ?

Thai characters 202,161 are
ส, ก

Thai language in (TIS620) ascii table has not 2 bytes character ...
by dutch
Fri Dec 06, 2024 1:52 am
Forum: FiveWin for Harbour/xHarbour
Topic: Incorrect Font Display
Replies: 29
Views: 3438

Re: Incorrect Font Display

Dear Surasak,

I test with FWH2304 without problem, do not define FW_SetUnicode() in your code. That's all, if you use ANSI.
https://i.ibb.co/PwFqK9k/testthai.png

testget2.prg
#Include "FiveWin.Ch"

Function Main()
Local oDlg
Local oGet, oSay, oFont
local cVar := space( 10 )

DEFINE FONT ...
by dutch
Fri Dec 06, 2024 1:42 am
Forum: FiveWin for Harbour/xHarbour
Topic: bDragBegin and bDropOver problem *Unresolve*
Replies: 31
Views: 6579

Re: bDragBegin and bDropOver problem *Unresolve*

Dear Antonio,

No problem, Thank you.
Antonio Linares wrote:Dear Dutch,

I just contacted Mr. Rao regarding this thread.

We apologize for the answer delay
by dutch
Fri Nov 29, 2024 3:05 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Incorrect Font Display
Replies: 29
Views: 3438

Re: Incorrect Font Display

Dear K.Surasak,

Please let me see your sample code. I'm Thai. If you use Fw_setunicode(.T.), you must save your prg file as Encoding : UTF-8.
If you ANSI, don't use FW_SetUnicode(.F.) function.
Surasak wrote:My program is ANSI not Unicode. but some THAI characters is display like Unicode.
by dutch
Tue Nov 12, 2024 3:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xHarbour can produce HTTP server ?
Replies: 11
Views: 2076

Re: xHarbour can produce HTTP server ?

Dear Antonio,

May I have sample of Harbour, I will try. Thanks
Dear Dutch,

To implement a web server using xHarbour you need to use multithreading and as far as I know it does not properly work with xHarbour

You need to use Harbour to do it, sorry. We have the Harbour code to do it, just in case ...
by dutch
Tue Nov 12, 2024 11:02 am
Forum: FiveWin for Harbour/xHarbour
Topic: xHarbour can produce HTTP server ?
Replies: 11
Views: 2076

Re: xHarbour can produce HTTP server ?

Dear Laiton,

My customer will use hotel tv and need me to integrate and I must be http server for waiting tv server request.
Lailton wrote:Can you explain what you want to do with more detail?
Then we can implement it on FiveWin.
by dutch
Thu Nov 07, 2024 10:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: xHarbour can produce HTTP server ?
Replies: 11
Views: 2076

Re: xHarbour can produce HTTP server ?

Dear Otto,

It's time to look at Mod Harbour. Thanks for investigate.
Hello Dutch,
here nSocket returns a Pointer.
Have you looked at mod harbour?
Maybe it has these functions, and you could see how they are used.
Best regards,
Otto

STATIC FUNCTION SocketInit(nPort)
LOCAL nSocket := hb ...
by dutch
Thu Nov 07, 2024 1:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: xHarbour can produce HTTP server ?
Replies: 11
Views: 2076

Re: xHarbour can produce HTTP server ?

I let ChatGPT produce sample code for HTTP server as below but it shows error.
I cannot work forward.

#include "fivewin.ch"
#include "hbsocket.ch"

Static oWnd

*-----------------*
FUNCTION Main()
DEFINE WINDOW oWnd FROM 0, 0 TO 800, 1000 PIXEL TITLE 'Http Server'

@ 10, 10 BUTTON oBtn PROMPT ...
by dutch
Wed Nov 06, 2024 3:31 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xHarbour can produce HTTP server ?
Replies: 11
Views: 2076

xHarbour can produce HTTP server ?

Dear All,

I would like to make small program for waiting HTTP client GET api to request data?

I used to write HTTP client to POST to HTTP server only.

Thanks in advance for any help and idea.
Dutch
by dutch
Fri Oct 18, 2024 10:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to check variable name of HASH in xHarbour?
Replies: 2
Views: 271

Re: How to check variable name of HASH in xHarbour?

Dear Antonio,

Thank you so much, it works fine.
Antonio Linares wrote:Dear Dutch,

Use HHasKey( hHash, cKey ) --> lYesNo
by dutch
Fri Oct 18, 2024 9:16 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to check variable name of HASH in xHarbour?
Replies: 2
Views: 271

How to check variable name of HASH in xHarbour?

Which library that I have to include for using this function?
HB_HHasKey()

I cannot compile with this function.

Thanks in advance,
Dutch
by dutch
Sun Feb 11, 2024 3:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: mariadb_connect bigdata and read as page
Replies: 3
Views: 660

Re: mariadb_connect bigdata and read as page

What is different between ::RowSet() and ::RecSet()?
Which the latest table FWH version of TRECSET ?

I have FWH2304 but not much of information of TRECSET, such as full parameter.

Thanks in advance,
by dutch
Sat Feb 10, 2024 10:29 am
Forum: FiveWin for Harbour/xHarbour
Topic: mariadb_connect bigdata and read as page
Replies: 3
Views: 660

mariadb_connect bigdata and read as page

Dear Master Rao,

I would like to know pagination of FWMARIA more clearly. Could you give more details and sample please?

Thanks a lot.
Dutch
by dutch
Tue Dec 19, 2023 6:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 3190

Re: How do I know the field name in xbrowse:column

Dear Mst.Rao and Maurizio,
I got another problem for ::nFreeze. If you scroll to right until the column hide under freeze, the :cExpr will show incorrected.
I use

cField := oBrw:aCols[oBrw:nColSel]:cExpr

Maurizio

Dear Master,

It works correctly. Thx.

Try
cField := oBrw:SelectedCol ...