Search found 19 matches: lopened

Searched query: lopened

by Silvio.Falconi
Thu Jun 10, 2021 7:59 am
Forum: FiveWin for Harbour/xHarbour
Topic: destroy a xbrowse
Replies: 5
Views: 1029

Re: destroy a xbrowse

... nInvoice)

aItems:={}
// Close the vtaskbar I make a switch but the user could b reopen it manually with the mouse
oVMenu5:Refresh()
oVMenu5:lOpened :=.T.
oVMenu5:Switch()
// I wish delete the oBrw but it is possible that the oBrw was not built previously because there are also orders without ...
by Silvio.Falconi
Fri Dec 06, 2019 3:40 pm
Forum: FiveWin para Harbour/xHarbour
Topic: La Forma mas rapida de DBF to EXCEL
Replies: 5
Views: 1192

Re: La Forma mas rapida de DBF to EXCEL

Cris,

the problem is another

on my application I load the oRange

oRange := GetExcelRange(cFileXls , , @lOpened)

it load good the excel file

then I must save all into a dbf and I have problem using FW_DbfToExcel() because this function use at the end the function FW_ArrayToDBF

here there is ...
by Silvio.Falconi
Wed Nov 27, 2019 8:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: FW_ExcelToDBF - (2015) Import procedure from Excel not run
Replies: 3
Views: 988

Re: FW_ExcelToDBF - (2015) Import procedure from Excel not run

yes
On xharbour run ok


BUt on Harbour you made
oRange := GetExcelRange(cFileXls , , @lOpened)
and then
Xbrowse(oRange)
run ok I see all datas

So, the problem is of Fw_ExcelToDbf()

Please Maurizio try this
testxbrowse(oRange)
Function  testxbrowse(oRange)   Local ...
by Sistem
Thu Nov 29, 2018 7:52 pm
Forum: FiveWin para Harbour/xHarbour
Topic: expandir tree em xbrowse
Replies: 1
Views: 597

expandir tree em xbrowse

... o Tree? alguém sabe pq?

oBrw:bKeyDown := {|nKey| BrwKeyAtUs(nkey, oBrw) }
..
Static Function BrwKeyAtUs(nKey, oBrw)

If !oBrw:oTreeItem:lOpened .and. oBrw:oTreeItem:nLevel == 1
If nKey == VK_RETURN
oBrw:oTreeItem:Open()
oBrw:Refresh()
Endif
ElseIf oBrw:oTreeItem:lOpened .and. oBrw ...
by damianodec
Fri Aug 31, 2018 7:26 am
Forum: FiveWin for Harbour/xHarbour
Topic: GetExcelRange function
Replies: 2
Views: 848

GetExcelRange function

hi,
I know that GetExcelRange function works with this parameters ( cBook, cSheet, acRange, lOpened ) function defaults to ActiveWorkBook, ActiveSheet and UsedRange, if the corresponding parameters are not specified.
I Have a lot of excel files (cBook) and inside there are 1 or n sheets (cSheet), is ...
by Enrico Maria Giordano
Tue Jul 10, 2018 12:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GetExcelRange function
Replies: 11
Views: 1172

Re: GetExcelRange function

It's fine. Then check lOpened value:

Code: Select all | Expand

? lOpened


EMG
by Silvio.Falconi
Wed Nov 22, 2017 5:27 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Problem to download Excel sheet
Replies: 2
Views: 716

Problem to download Excel sheet

... a image of my sheet excel

https://s17.postimg.org/748pnm0pb/ssss.jpg

the file : m


My test

Function Import()
Local oRange,lOpened:=.f.
oRange := GetExcelRange("C:\Work\Errori\Importa_e_Export\articoli.xls" , , @lOpened)

USE ARTICOLI ALIAS AR
SELECT AR

FW_ExcelToDBF ...
by Silvio.Falconi
Tue Nov 17, 2015 10:45 am
Forum: FiveWin for Harbour/xHarbour
Topic: Mr Rao : help for FW_ExcelToDbf
Replies: 1
Views: 503

Mr Rao : help for FW_ExcelToDbf

... SOTTOCATEG,UDM.IVA,LISTINO1,LISTINO2,LISTINO3

the first row are Headers of dbf




I made
#include "fivewin.ch"


Function test()
Local oRange,lOpened:=.f.
oRange := GetExcelRange("articoli.xls", , , @lOpened )

USE ARTICOLI ALIAS AR
select AR
FW_ExcelToDBF( oRange, nil, .t. )


return nil ...
by nageswaragunupudi
Fri Jan 16, 2015 1:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: Reading data from an excel-file
Replies: 7
Views: 4248

Re: Reading data from an excel-file

We suugest:

oRange := GetExcelRange( [ cExcelFileName ], [ cSheetName ], [ acRange ], @lOpened )
aData := ArrTranspose( oRange:Value )

local oRange, lOpened := .f.local aDataoRange := GetExcelRange( [ cExcelFileName ], [ cSheetName ], [ acRange ], @lOpened )if oRange ...
by Marco Turco
Sun Jun 01, 2014 2:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with two xbrowse tree - possible bug in dblclick ?
Replies: 2
Views: 978

Problem with two xbrowse tree - possible bug in dblclick ?

... ToggleFolder( r,c,f,o,b ) }

:bBmpData := { || If( ':' $ oBrw:oTreeItem:cPrompt, 4, ;
If( 'D' $ oBrw:oTreeItem:Cargo[ 5 ], ;
If( oBrw:oTreeItem:lOpened, 1, 2 ), 3 ) ) }

END

ADD TO XBROWSE oBrw DATA oBrw:oTreeItem:Cargo[ 2 ] ;
PICTURE '@EZ 999,999,999' HEADER 'Bytes'
ADD TO XBROWSE oBrw DATA ...
by Marco Turco
Sat Mar 01, 2014 2:58 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tree using bimaps from resources
Replies: 2
Views: 668

Problem with Tree using bimaps from resources

... nWidth := 340
:cHeader := 'Cartella'
b := :bLDClickData

:bLDClickData := { |r,c,f,o| ToggleFolder( r,c,f,o,b ) }

:bBmpData := { || If( ':' $ oBrw:oTreeItem:cPrompt, 4, ;
If( 'D' $ oBrw:oTreeItem:Cargo[ 5 ], ;
If( oBrw:oTreeItem:lOpened, 1, 2 ), 3 ) ) }

END

ACTIVATE DIALOG oDlg CENTER
by Marco Turco
Thu Feb 27, 2014 3:43 pm
Forum: FiveWin for Harbour/xHarbour
Topic: cGetFile replacement
Replies: 2
Views: 843

cGetFile replacement

... ToggleFolder( r,c,f,o,b ) }

:bBmpData := { || If( ':' $ oBrw:oTreeItem:cPrompt, 4, ;
If( 'D' $ oBrw:oTreeItem:Cargo[ 5 ], ;
If( oBrw:oTreeItem:lOpened, 1, 2 ), 3 ) ) }

END

ADD TO XBROWSE oBrw DATA oBrw:oTreeItem:Cargo[ 2 ] ;
PICTURE '@EZ 999,999,999' HEADER 'Bytes'
ADD TO XBROWSE oBrw DATA ...
by Antonio Linares
Sat Feb 02, 2013 5:01 pm
Forum: WhatsNew / Novedades
Topic: New FTDN January 2013 (FWH 13.01)
Replies: 0
Views: 1816

New FTDN January 2013 (FWH 13.01)

... from databases was fast losing memory. This is resolved now.

* Enhancement to Open Excel Book/Range functions:

(a) GetExcelBook( [cBook], @lOpened ) --> oBook
New second optional parameter lOpened by reference. If the function opens the excel book, lOpened is set to .t. otherwise .f.
If ...
by Erick Almanza
Tue Oct 19, 2010 2:57 am
Forum: FiveWin para Harbour/xHarbour
Topic: Capturar numero telefonico con fivewin
Replies: 12
Views: 5488

Re: Capturar numero telefonico con fivewin

... function Main()

local oDlg, ofig1
local cLocalNum := "123456789"
local oHand
local lOpened := .f.


*----------------------------------------------------------------------------*
cNumber = Space( 20 )
SET 3DLOOK ON
LoadPredPhones ...
by Antonio Linares
Sat Sep 19, 2009 1:19 am
Forum: FiveWin para Harbour/xHarbour
Topic: SetTree en Xbrowse - Como saber que rama esta expandida?
Replies: 2
Views: 567

Re: SetTree en Xbrowse - Como saber que rama esta expandida?

Gaston,

oBrw:oTreeItem:lOpened --> Abierto ó cerrado ( Item en la fila actual )

El tree ( Clase TLinkList ) está disponible en oBrw:oTree

Tienes que usar los métodos de la Clase TLinkList para obtener la información adicional que necesites