Search found 16 matches: myvar

Return to advanced search

Re: Create a variable

Yes, but it won't be local

Simply assign it. At the top write:

memvar MyVar

later in your code:

MyVar = ...

but it will not be local, it will be public
by Antonio Linares
Wed Nov 16, 2022 8:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a variable
Replies: 11
Views: 735

Re: bug xBrowse()

... Browse() does. ( Browse() uses WBrowse ) When there is no DBF open yet then this function shows an empty browse. You can use (0)->( XBrowse( MyVar ) ) to get what you want.
by nageswaragunupudi
Mon Dec 29, 2014 3:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug xBrowse()
Replies: 6
Views: 890

Re: Cantidad variable de parámetros

... the TEXT...ENDTEXT statement and not to evaluated text merged from cExpression. In the following example, the spaces in the memory variable, myvar, are not removed when merged with the text in TEXT...ENDTEXT: CopyCode imageCopy Code myvar = " AAA" TEXT TO x NOSHOW ADDITIVE TEXTMERGE ...
by carlos vargas
Mon Dec 01, 2014 3:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cantidad variable de parámetros
Replies: 29
Views: 9820

Re: Export a variable from C to Clipper

That's not what I want to do: The idea is to simulate: use mitabla ?micampo how come: fMiFuntion() ?myvar where myvar is defined in fmifunction public or static /* Código Harbour */REQUEST HB_GT_WIN_DEFAULTFunction Main()? Hola()WAITRETURN NIL/* Código C */#pragma ...
by jgayoso
Tue Sep 02, 2014 1:36 pm
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Export a variable from C to Clipper
Replies: 3
Views: 2025

Re: FastReport LoadImageFromHbVar

... ; // this selft defined prg function to load current row jpg into private 'myvar' LoadImageFromHbVar(Picture1,'fr3img'); end; begin end. // " picture1" is the name of the picture object, can be edited in the left ...
by ShumingWang
Thu Apr 17, 2014 4:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FastReport LoadImageFromHbVar
Replies: 8
Views: 1434

Re: Need examples of FW Report Engine with TDolphine -MySQL

1.FUNCTION fr3prn0(cid1,lpreview,obl1) local cid2,ctable1,ctable2,i local odbprn1,odbprn2,odb1,odb2 private myvar if obl1<>nil if __objhasdata(obl1,"odb1") odb1:=obl1:odb1 odb2:=obl1:odb2 else odb1:=obl1 odb2:=obl1 end end do case case cid2=="sal02" ...
by ShumingWang
Sat Apr 20, 2013 7:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need examples of FW Report Engine with TDolphine -MySQL
Replies: 3
Views: 974

Re: xharbour a harbour

... the TEXT...ENDTEXT statement and not to evaluated text merged from cExpression. In the following example, the spaces in the memory variable, myvar, are not removed when merged with the text in TEXT...ENDTEXT: myvar = " AAA" TEXT TO x NOSHOW ADDITIVE TEXTMERGE PRETEXT 7 Start Line ...
by carlos vargas
Wed Jul 25, 2012 4:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xharbour a harbour
Replies: 19
Views: 9770

Re: how can do get spinner work ? and other tget modify

... } ::oVScroll:bGoDown := {|| If( GetFocus() != ::hWnd, ::SetFocus(),),; Eval( bDown ),::refresh() } to force bup, bdown work. redefine myvar id 101 of odlg spinner on up (myvar++) on down (myvar --) If variable is date type without define bup nor bdown,it always ++ -- year not to day ...
by ShumingWang
Thu May 05, 2011 8:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how can do get spinner work?
Replies: 3
Views: 813

Re: How fastreport print table like xbrowse with jpg column?

... TfrxComponent); begin callhbfunc('myfunc') ; // this selft defined prg function to load current row jpg into private 'myvar' LoadImageFromHbVar(Picture1,'myvar'); end; begin end. 3. picture1 event : onbeforeprint Picture1OnBeforePrint in prg: FUNCTION myfunc() myvar:=memoread("d:\app\sub\"+cvaltochar(odbprn2:id)+".jpg") ...
by ShumingWang
Sun May 01, 2011 7:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How fastreport print table like xbrowse with jpg column?
Replies: 5
Views: 1305

Re: How fastreport print table like xbrowse with jpg column?

this pass jpg via
private MyVar := memoread("C:\MyPicture.jpg")
and LoadImageFromHbVar(<Picture1>, ‘MyVar’) call harbour variable via "myvar" .

The Demo and manual from http://www.paritetsoft.ru/frh.htm are too simple , the auther not reply at all.

Regards!
Shuming Wang
by ShumingWang
Sun May 01, 2011 2:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How fastreport print table like xbrowse with jpg column?
Replies: 5
Views: 1305

How fastreport print table like xbrowse with jpg column?

Hi, in prg private MyVar := memoread("C:\MyPicture.jpg") in fr3 , 1.picture1 defined as selfdefined variable. 2.a masterdata cell edit as [<picture1>] 3.the cell event onbeforeprint as ReportHOnStartReport 4.code as: ...
by ShumingWang
Fri Apr 22, 2011 2:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How fastreport print table like xbrowse with jpg column?
Replies: 5
Views: 1305

FastReport,The most best report engine for FWH,Harbour!

... harbour/fwh private vars,harbour/fwh functions parament as SQL like, string type write as 'aaa' or "'a"+var1+"'" (1)GetHbVar('MyVar') (2)callhbfunc('functionname',[para1,para2,...]) , example callfunc('alltrim',['001 ']) --> '001' (3)GetHbArrayVar('MyArray', [6]) -> MyArray[6] ...
by ShumingWang
Sat Aug 07, 2010 7:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FastReport,The most best report engine for FWH,Harbour!
Replies: 4
Views: 2171

Re: Choosing SQL database ...

... the modern interactive applications. EMG Enrico , Something I can't understand - ADODb have .Find( cExpr ) method , where cExpr = "myField = 'MyVar' " . What hinder to do something like MyIncremSearch( cField, cVar ) function or method ? You can pass literal cExpr = cField + "=" ...
by Rimantas
Tue Nov 03, 2009 7:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Choosing SQL database ...
Replies: 118
Views: 30299

Re: Populating dbCombo from database

#INCLUDE "DBCOMBO.CH"

REDEFINE DBCOMBO OFAM VAR myvar ID xxx OF ODLG ;
ALIAS (myalias) ;
ON CHANGE ODLG:UPDATE();
ITEMFIELD "xxxxxxx" ;
LISTFIELD "yyyyyyy"

HTH

Richard
by Richard Chidiak
Tue Mar 03, 2009 9:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Populating dbCombo from Mysql database
Replies: 2
Views: 434

GetPvProfString

... FWH Version 7 - binaries dated 7.10 from October 2007. Borland BCC 5.5 1. I'm calling GetPvProfString() function as follows: MYFILE.INI: [XYZ] MyVar= x := GetPvProfString( 'XYZ', 'MyVar', '1', MYFILE.INI ) In this instance, with x is set to empty, the default value seems to not be working. ...
by don lowenstein
Wed Nov 07, 2007 5:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetPvProfString
Replies: 1
Views: 530
Next

Return to advanced search