Search found 45 matches

by JoséQuintas
Wed Jan 08, 2025 3:13 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse, bkeydown and number
Replies: 1
Views: 101

xbrowse, bkeydown and number


:bKeyDown := { | nKey | FWBrowseKey( xDlg, xControl, nKey, ... ) }



CASE IsRange( nKey, 32, 127 )
cFilter += Upper( Chr( nKey ) )


If type letters ok
if type numbers from normal keyboard ok
if type numbers from numeric keyboard not
Is it expected ?

Note:
1 from normal keyboard returns ...
by JoséQuintas
Wed Jan 08, 2025 3:13 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse, bkeydown and number
Replies: 0
Views: 15

xbrowse, bkeydown and number

Code: Select all | Expand

      :bKeyDown := { | nKey | FWBrowseKey( xDlg, xControl, nKey, ... ) }

Code: Select all | Expand

   CASE IsRange( nKey, 32, 127 ) 
      cFilter += Upper( Chr( nKey ) )
If type letters ok
if type numbers from normal keyboard ok
if type numbers from numeric keyboard not
What to do about this?
by JoséQuintas
Mon Dec 30, 2024 2:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 7230

Re: Browse of my ADO Class

Thanks.

A good option would be an interface like Navigator (Edge/Chrome/Text Editor) with the dialogs.
Not sure if this can be done with folderex, inserting any dialog as part of folderex.
by JoséQuintas
Mon Dec 30, 2024 1:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Lost connection to MySQL server during query
Replies: 40
Views: 15834

Re: Lost connection to MySQL server during query

I have this error on some situations:

1) On machine with ODBC 3.51
Same query ok on ODBC 5.3 returns that message on ODBC 3.51

2) When update from MySQL 5.6 TO 5.7
I was using INNER JOIN between INT and VARCHAR ( 1 and 0000001 ), this was ok on 5.6.
From 5.7 this is a problem, that requires ...
by JoséQuintas
Fri Dec 27, 2024 5:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 7230

Re: Browse of my ADO Class

ALL OF THIS POST TOGETHER

Remembering that I use GTWVG as primary library.
This is ONE OF my browse calls, change one column for FIVEWIN:

METHOD GridSelection( nType ) CLASS JPCADASTROClass

LOCAL oTBrowse, cnSQL := ADOLocal()

hb_Default( @nType, 0 )

WITH OBJECT cnSQL
:cSQL := "SELECT ...
by JoséQuintas
Mon Dec 23, 2024 1:02 am
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 7230

Re: Browse of my ADO Class

I can't discuss this with you. When you have a powerful DEMO in FIVEWIN,

Do you understand that this is a FIVEWIN module ?


#include "fivewin.ch"

PROCEDURE Test_MBrowse

USE dbproduct
BROWSE()
CLOSE DATABASES

RETURN


check fivewin\samples\browse.prg

It is a sample, a simple sample.
Use ...
by JoséQuintas
Sun Dec 22, 2024 9:26 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 7230

Re: Browse of my ADO Class

GTWVG?? What is that? I have no idea how to compile this thing. It doesn't even make sense to me, knowing how to program in PURE FIVEWIN, why would I mix something prehistoric with something as modern and powerful as FIVEWIN? I'm sorry, I don't use CONSOLE MODE under any circumstances.

GTWVG uses ...
by JoséQuintas
Sat Dec 21, 2024 8:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 7230

Re: Browse of my ADO Class

3 new calls:


PROCEDURE Main()

Set( _SET_CODEPAGE, "PTISO" )
SET EXCLUSIVE OFF
fw_SetTruePixel( .T. )
RunModuleAsThread( { || test_Module() } )
RunModuleAsThread( { || test_Module() } )
RunModuleAsThread( { || Test_MBrowse() }, .F. )
RunModuleAsThread( { || Test_MBrowse() }, .F ...
by JoséQuintas
Fri Dec 20, 2024 2:28 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 7230

Re: Browse of my ADO Class

Tenho um aplicativo com centenas de dialogs.
Posso alterar pra fivewin qualquer dialog a qualquer momento.
Não vê vantagem nisso ?
Se fosse só essa vantagem, ela já é muito útil.

I have an application with thousands of dialogs.
I can change any dialog to fivewin at any time.
Do you not see ...
by JoséQuintas
Thu Dec 19, 2024 8:45 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 7230

Re: Browse of my ADO Class

Mesmo link, adicionado EXE
Lembrando que é com bug de resource.

Same link, added EXE
Remember it is with resource bug.

http://www.jpatecnologia.com.br/arquivos/testmt.zip
by JoséQuintas
Thu Dec 19, 2024 4:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 7230

Re: Browse of my ADO Class

A sample near my use.
In sample I do not change errorsys and debug.
Not sure if sample was to show about fw 24.10 or to show about resource.

allowdup.bat is to accept duplicated functions
dummy.prg is for functions not available on mingw
fivewin.hbc need adjust about your fivewin paths

On each get ...
by JoséQuintas
Wed Dec 18, 2024 4:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 7230

Re: Browse of my ADO Class

As a comment:
on FW 24.10 I do not have same result with multithread.
May be when mixed with GTWVG can't be same solution for normal use.
No problem, I continue with FW 24.09


An error today (FW 24.09):


Memory:4.00 GB
Mem.VM:3.80 GB
Windows: Windows 10 10.0.19045
Harbour: Harbour 3.2.0dev ...
by JoséQuintas
Wed Dec 11, 2024 5:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse, ICO and line height
Replies: 2
Views: 300

xbrowse, ICO and line height

Using default.
A browse of text only have a specific line height, each record using one line.
Add a column using ICO.
Try with ICO 32 x 32 and 16 X 16.
ICO is resized to column width.
But columns uses 2 lines after to add ICO.

What is the setup to do not change line height ?
Is this possible with ...
by JoséQuintas
Thu Dec 05, 2024 11:15 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Multihilo - Multithread
Replies: 13
Views: 974

Re: Multihilo - Multithread

Multithread es como tener múltiples EXEs.
De esta manera es claramente visible.

https://www.youtube.com/watch?v=KwK2DrLjc8A

Tenga en cuenta que si cierra el proceso principal, se cierra todo (se no haces nada diferente).
Mi uso de fivewin es así, desde una aplicación gtwvg, estoy empezando con ...
by JoséQuintas
Sun Oct 27, 2024 12:45 pm
Forum: FiveWin for Harbour/xHarbour
Topic: off topic: Xharbour mingw 32 bits
Replies: 24
Views: 2540

Re: off topic: Xharbour mingw 32 bits

32 bits limit is 4GB.
On Windows 32 bits, memory is used by Windows and video too, application is limited to remaining memory.
On Windows 64 bits, a 32 bits application can use up to 4GB memory.
Sometimes this may be helpfull, but seems that only mingw was updated.