Search found 5 matches

by Demont.frank
Sun Apr 19, 2009 8:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with oWnd:oMenu:Disable() in MDI environnement
Replies: 3
Views: 457

Re: Problem with oWnd:oMenu:Disable() in MDI environnement

Antonio,

Sorry , but it is to complicated.

I have found another and better solution , see mine thread about "launching and waiting for closing excel"
by Demont.frank
Sun Apr 19, 2009 6:22 am
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with oWnd:oMenu:Disable() in MDI environnement
Replies: 3
Views: 457

Problem with oWnd:oMenu:Disable() in MDI environnement

Hello, I have a routine which try to disable all menu activity in a MDI environnement , using : oWnd:oMenu:Disable() In the source i can see that all menuitem's should be disabled , ::lAcive is set to .F. I have a menu with 6 items , the 5 first are disabled , but the last one not , i can click and ...
by Demont.frank
Tue Apr 14, 2009 2:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Excel : opening existing xls-file
Replies: 2
Views: 604

Re: Excel : opening existing xls-file

It seems that workbook:open(cFile) can not be used with relative directory's

Will not work :

workbook:open("Test\cFile") , Test is supposed to be a subdirectory from the work directory

Frank
by Demont.frank
Tue Apr 14, 2009 12:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Excel : opening existing xls-file
Replies: 2
Views: 604

Excel : opening existing xls-file

Hello, Till now i can use a excel aplication as : oExcel := CreateObject( "Excel.Application" ) oWorkBook := oExcel:WorkBooks:Add() ........ Ok , this works , excel seems to generate a file (name) , map1.xls , .... Now , i try to open a existing xls file without succes , i have oExcel := C...
by Demont.frank
Sat Sep 08, 2007 4:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Change the columns order with xBrowse
Replies: 4
Views: 974

Otto ELEM 2 ELEM 3 ELEM 1 instead the default ELEM 1 ELEM 2 ELEM 3 WITH OBJECT oBrw :Swapcols(:aCols[1],:aCols[2]) ; :Swapcols[:aCols[2],:aCols[3]) END Or look at oBrw:setarray to see how oBrw:bstrdata is set oCol := :aCols[1] oCol:bStrData := GenArrayBlock( { || :aArrayData[ :nArrayAt ] },2, .t. ) ...