Search found 82 matches
- Fri Feb 21, 2025 2:51 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Friends Let us all pray for Mr Nageswarao Gunupudi
- Replies: 32
- Views: 18687
Re: Friends Let us all pray for Mr Nageswarao Gunupudi
My best wishes for his soon recovery!
- Thu Feb 06, 2025 4:41 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: WEBVIEW2 una observación
- Replies: 6
- Views: 1794
Re: WEBVIEW2 una observación
Me pasaba lo mismo.
Le quité la clausula ON RESIZE y ya no se sale del sistema.
Le quité la clausula ON RESIZE y ya no se sale del sistema.
Code: Select all | Expand
ACTIVATE WINDOW oWnd CENTER
oWebView:End()
- Wed Feb 05, 2025 9:37 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Curso virtual implementación IA en nuestras aplicaciones
- Replies: 141
- Views: 157559
Re: Curso virtual implementación IA en nuestra aplicaciones
Antonio, te envié el pago de mi inscripcion por Wsp
Saludos
Saludos
- Wed Nov 06, 2024 3:57 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: xbrowse drag / drop (to Mr. Rao)
- Replies: 9
- Views: 1660
Re: xbrowse drag / drop (to Mr. Rao)
Thanks! Mr Rao. It works perfect!.
- Mon Nov 04, 2024 10:17 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: xbrowse drag / drop (to Mr. Rao)
- Replies: 9
- Views: 1660
xbrowse drag / drop (to Mr. Rao)
I asked Copilot to build a program to allow reorder rows in a list using drag & drop and xBrowse
This is the result:
#include "FiveWin.ch"
function Main()
local oDlg, oBrw, aData
aData := { ;
{ "Item 1", "Codigo 1", "Producto 1", 10, "Uni 1", 100, 5, 95 }, ;
{ "Item 2", "Codigo 2", "Producto ...
This is the result:
#include "FiveWin.ch"
function Main()
local oDlg, oBrw, aData
aData := { ;
{ "Item 1", "Codigo 1", "Producto 1", 10, "Uni 1", 100, 5, 95 }, ;
{ "Item 2", "Codigo 2", "Producto ...
- Fri Oct 18, 2024 6:19 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
- Replies: 5
- Views: 1071
Re: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
3) Is it possible to show the bitmap in a column ONLY when the cell is editable ?
In my sample, the field is only editable when i add a new row and field->codprd is empty.
i modified the Method PaintCell() of the class this way:
original code ...
- Fri Oct 18, 2024 3:41 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
- Replies: 5
- Views: 1071
Re: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
2) Is it posible to trigger the :bEditBlock when F2 is pressed and only when the cell is editable ?
if nEditType is EDIT_GET_BUTTON, then when F2 is pressed, the Get is invoked.
if nEditType is EDIT_BUTTON, then when F2 is pressed the ButtonAction is invoked.
For your requirement use EDIT_BUTTON ...
if nEditType is EDIT_GET_BUTTON, then when F2 is pressed, the Get is invoked.
if nEditType is EDIT_BUTTON, then when F2 is pressed the ButtonAction is invoked.
For your requirement use EDIT_BUTTON ...
- Fri Oct 18, 2024 3:25 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
- Replies: 5
- Views: 1071
Re: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
1) when the F2 key is pressed the cell is edited even if :bEditWhen is FALSE
Please modify this like this:
case nKey == VK_F2 .and. ::lF2KeyToEdit .and. ! ::lReadOnly
if ! ::lEditMode
WITH OBJECT ::SelectedCol()
if :lEditable //! :lReadOnly
:Edit()
endif
END
endif
Yes, it works perfect ...
Please modify this like this:
case nKey == VK_F2 .and. ::lF2KeyToEdit .and. ! ::lReadOnly
if ! ::lEditMode
WITH OBJECT ::SelectedCol()
if :lEditable //! :lReadOnly
:Edit()
endif
END
endif
Yes, it works perfect ...
- Thu Oct 17, 2024 8:51 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
- Replies: 5
- Views: 1071
Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
[*]Dear master Nages, a few questions:
...
WITH OBJECT oBrw
:nEditTypes := EDIT_GET
:lFastEdit := .t.
:lF2KeyToEdit := .t.
:bPastEof := { || iif(!empty(field->codprd),dbappend(), ), oBrw:RefreshCurrent() }
WITH OBJECT :aCols[ 1 ]
:nEditType := EDIT_GET_BUTTON
:nBtnBmp := :AddBitmap ...
...
WITH OBJECT oBrw
:nEditTypes := EDIT_GET
:lFastEdit := .t.
:lF2KeyToEdit := .t.
:bPastEof := { || iif(!empty(field->codprd),dbappend(), ), oBrw:RefreshCurrent() }
WITH OBJECT :aCols[ 1 ]
:nEditType := EDIT_GET_BUTTON
:nBtnBmp := :AddBitmap ...
- Tue Aug 20, 2024 5:25 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Propuesta para que hagan un curso virtual FW
- Replies: 302
- Views: 120022
Re: Propuesta para que hagan un curso virtual FW
Buen día:
Voto por el 9, 10 y 11 Set
Voto por el 9, 10 y 11 Set
- Wed Aug 07, 2024 2:25 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Propuesta para que hagan un curso virtual FW
- Replies: 302
- Views: 120022
- Fri Jul 19, 2024 1:17 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Propuesta para que hagan un curso virtual FW
- Replies: 302
- Views: 120022
Re: Propuesta para que hagan un curso virtual FW
Buenos días:
Aunque ya dí los primeros pasos con MySql y mod_harbour, hay algunos puntos del temario que me parecen interesantes, por lo que también estaría interesado en participar.
Ya sea virtual o presencial.
Estaré a la espera de novedades.
Aunque ya dí los primeros pasos con MySql y mod_harbour, hay algunos puntos del temario que me parecen interesantes, por lo que también estaría interesado en participar.
Ya sea virtual o presencial.
Estaré a la espera de novedades.
- Sat Jul 22, 2023 3:59 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: I Harbour Lan party en Marbella
- Replies: 12
- Views: 2411
Re: I Harbour Lan party en Marbella
Me interesa participar.
Si es el próximo mes, es muy pronto para organizarme...
Si es el próximo mes, es muy pronto para organizarme...
- Tue Jul 18, 2023 12:30 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Webview question
- Replies: 36
- Views: 9687
Re: Webview question
I tested this sample successfully. May be this can help someone:
#include "FiveWin.ch"
static oWebView
function Main()
local oWnd, cFile
DEFINE WINDOW oWnd TITLE "Consulta de Comprobantes" MENU BuildMenu()
oWnd:Center()
oWebView = TWebView():New(1, oWnd:hWnd )
oWebView:Navigate( "https ...
#include "FiveWin.ch"
static oWebView
function Main()
local oWnd, cFile
DEFINE WINDOW oWnd TITLE "Consulta de Comprobantes" MENU BuildMenu()
oWnd:Center()
oWebView = TWebView():New(1, oWnd:hWnd )
oWebView:Navigate( "https ...
- Mon Jul 17, 2023 6:09 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Webview question
- Replies: 36
- Views: 9687
Re: Webview question
Is it posible to insert a value to an input using oWebView:InjectJavascript()?
I tried with no success.
#include "FiveWin.ch"
static oWebView
function Main()
local oWnd
DEFINE WINDOW oWnd TITLE "Consulta de Comprobantes"
oWnd:Center()
oWebView = TWebView():New(, oWnd:hWnd )
oWebView ...
I tried with no success.
#include "FiveWin.ch"
static oWebView
function Main()
local oWnd
DEFINE WINDOW oWnd TITLE "Consulta de Comprobantes"
oWnd:Center()
oWebView = TWebView():New(, oWnd:hWnd )
oWebView ...