Search found 12 matches: aobjects

Return to advanced search

Re: [BUG] in source/font.prg and a question

... Self  but you have to change the function SetObjet to function SetObject( cVarName, bConstructor )   local oSelf   AAdd( aObjects, oSelf := Eval( bConstructor ) )   if __ObjHasMsg( ATail( aObjects ), "cVarName" ) .and. ;      __ObjHasMsg( ...
by AnjaK
Wed Jun 19, 2019 10:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: [BUG] in source/font.prg and a question
Replies: 8
Views: 1019

Re: :ToExcel() method error

This way ADD COLUMN oCol TO XBROWSE aObjects[6] DATA ARRAY ELEM aBrwDetails[i,3]; HEADER oemtoansi(aBrwDetails[i,1]) SIZE aBrwDetails[i,2] ORDER ABRWDETAILS[I,3] if valtype(aBrwArray[1,aBrwDetails[i,3]])="D" && if date xxxx:=aBrwDetails[i,3] ...
by Marco Turco
Tue Oct 06, 2015 2:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: :ToExcel() method error
Replies: 2
Views: 557

Re: SQLite para xHarbour

... if !o:oSQLite:lError // Cargamos los OBJETOS oRs:=o:oSQLite:Query("SELECT * FROM Objects") if !o:oSQLite:lError oRs:movefirst() o:aObjects:={} while !oRs:eof() aadd(o:aObjects,{o:oSQLite:GetValue(oRs,"idObject"),o:oSQLite:GetValue(oRs,"description"),o:oSQLite:GetValue(oRs,"imgBtnObject"),o:oSQLite:GetValue(oRs,"imgObject"),o:oSQLite:GetValue(oRs,"imgObjectSelected")}) ...
by softruz
Fri Jun 11, 2010 7:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: SQLite para xHarbour
Replies: 7
Views: 1745

... for more than 0.25 seconds. Could be this a problem ? See my code as follows. Function Main() .. && I create xbrowse as Objects[6] .. .. aObjects[6]:bChange:={|| SelectFunc_Cons()} && action to do when any selection is made return Function SelectFunc_Cons() local nSeconds aObjects[6]:bChange:={|| ...
by Marco Turco
Tue Jul 29, 2008 7:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse: too many recoursive handler calls error
Replies: 19
Views: 7767

Credo di aver risolto: .. .. aObjects[6]:bChange:={|| SelectFunc_Cons()} ... .. Function SelectFunc_Cons() local nSeconds aObjects[6]:bChange:={|| nil} nSeconds:=seconds() do while .t. sysrefresh() if seconds()-nSeconds>.25 exit endif ...
by Marco Turco
Thu Apr 03, 2008 1:26 pm
 
Forum: All products support
Topic: Problema con oBrw:bChange
Replies: 2
Views: 733

Marco Turco wrote:** column with progressive number **
Objects[6]:AddColumn(TCColumn():New( "", {||aObjects[6]:nAt},,,,, 25 ) )

Should be:
aObjects[6]:AddColumn(TCColumn():New( "", {||aObjects[6]:nAt},,,,, 25 ) )

Regards

Manuel Mercado
by mmercado
Fri Feb 29, 2008 11:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: About oBrw:AddColumn
Replies: 20
Views: 3307

Tried but a Bound Error:Array access appairs. Any ideas ? function Child() local oWndChild, nI, bData, aObjects[ 10], ; aTitles := { "Num", "Title" } DEFINE WINDOW oWndChild MDICHILD OF oWnd ; FROM 10, 50 TO 250, 400 PIXEL COLOR "N/W" aBrwArray:={} aadd(aBrwArray,{"01","First"}) ...
by Marco Turco
Fri Feb 29, 2008 9:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: About oBrw:AddColumn
Replies: 20
Views: 3307

Marco Turco wrote:Could you suggest me what is the correct codeblock code to make also
a column with the progressive number ?
Like the command:
ADD TO oBrw DATA oBrw:nAt()

Following your same example:

aObjects[6]:AddColumn(TCColumn():New( "", {||aObjects[6]:nAt},,,,, 25 ) )

Regards

Manuel Mercado
by mmercado
Fri Feb 29, 2008 8:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: About oBrw:AddColumn
Replies: 20
Views: 3307

Niente da fare. Il browse appare ma vuoto. Comunque ho risolto con: aObjects[6]:AddColumn(TCColumn():New("Num",{|x| ; If(Pcount()>0, aObjects[6]:aArray[aObjects[6]:nAt, 1] :=x, aObjects[6]:aArray[aObjects[6]:nAt, 1])},,,,,100)) anche se mettendo questo ...
by Marco Turco
Fri Feb 29, 2008 5:25 pm
 
Forum: All products support
Topic: Problema con tccolumn:New
Replies: 5
Views: 1364

... Thanks. The only problem is that I try to assign the columns through a for cicle I receive an array access error message. My code: for i:=1 to 2 aObjects[6]:AddColumn(TCColumn():New("Num",{|x| ; If(Pcount()>0, aObjects[6]:aArray[aObjects[6]:nAt, i] :=x, aObjects[6]:aArray[aObjects[6]:nAt, ...
by Marco Turco
Fri Feb 29, 2008 5:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: About oBrw:AddColumn
Replies: 20
Views: 3307

About oBrw:AddColumn

... Any ideas about the correct syntax ? aBrwArray:=array(0,2) aadd(aBrwArray,{"01","First"}) aadd(aBrwArray,{"02","Second"}) @ 1.5,5 COLUMN BROWSE aObjects[6] OF oWnd SIZE 150, 135 aObjects[6]:SetArray(aBrwArray) aObjects[6]:AddColumn(TCColumn:New("Num",aObjects[6]:aArray[aObjects[6]:nAt,1],,,,,100)) ...
by Marco Turco
Thu Feb 28, 2008 1:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: About oBrw:AddColumn
Replies: 20
Views: 3307

Problema con tccolumn:New

... idea ? Questo è un codice di esempio: aBrwArray:=array(0,2) aadd(aBrwArray,{"01","Primo"}) aadd(aBrwArray,{"02","Secondo"}) @ 1.5,5 COLUMN BROWSE aObjects[6] OF oWnd SIZE 150, 135 aObjects[6]:SetArray(aBrwArray) aObjects[6]:AddColumn(TCColumn:New("Num",aObjects[6]:aArray[aObjects[6]:nAt,1],,,,,100)) ...
by Marco Turco
Thu Feb 28, 2008 11:54 am
 
Forum: All products support
Topic: Problema con tccolumn:New
Replies: 5
Views: 1364

Return to advanced search