Search found 360 matches: oapp

Return to advanced search

Re: galería de imágenes

Aida,
eso son funciones mías que puedes quitar del código sin problemas. oApp() es una función que devuelve la clase de la aplicación, es una manera de tener una clase global. La otra función edita un registro de la tabla Li.

Saludos,
by José Luis Sánchez
Fri Feb 12, 2021 9:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: galería de imágenes
Replies: 52
Views: 17035

Re: galería de imágenes

Una nueva entrada en Harbour Magazine explicando como hacer una galería de imágenes: https://medium.com/harbour-magazine/c%C3%B3mo-crear-una-galer%C3%ADa-de-im%C3%A1genes-con-fwh-b8d88652ee27 Saludos, Hola me gusto mucho como lo dejaste :D compile tu código LiGaleria pero me salieron errore...
by AIDA
Thu Feb 11, 2021 2:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: galería de imágenes
Replies: 52
Views: 17035

Re: Como me refiero al total de una columna

... 9999","@Z 99",NIL,"@Z 999,999.99"; JUSTIFY {AL_RIGHT,AL_RIGHT,AL_RIGHT}; FOOTERS AUTOSORT BACKGROUND oApp:cBrush WITH OBJECT oBry :l2007 := (.F.) :lHScroll := (.F.) :lVScroll := (.F.) :lFooter := (.T.) :nMarqueeStyle := MARQSTYLE_HIGHLROWMS :nColDividerStyle ...
by Armando
Fri Nov 13, 2020 2:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como me refiero al total de una columna (SOLUCIONADO)
Replies: 8
Views: 943

Re: Quiero comenzar con sqlite

... en internet ) luego la conexión IF !CONECTA(cCADENA) ? "ERROR DE CONEXION" ELSE ? 'CONEXION OK' ENDIF FUNCTION CONECTA(cCADENA) TRY oApp:= TOleAuto():new("adodb.connection") CATCH oERRX RETURN(.F.) END oApp:ConnectionString:= cCADENA TRY oApp:Open() CATCH oERRX RETURN(.F.) ...
by Marco Augusto
Wed Jul 29, 2020 11:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Quiero comenzar con sqlite
Replies: 34
Views: 4795

Re: FWH 2006: XBrowse : Own built-in Buttonbar

Yes Sorry, but I tried with no success oApp():oGrid:bOnAdjust := <|| local oBtn,oCbx1 local cFilter1:= val(alistini[1][1]) local nrow:= 05 local ncol:= 05 @ nrow,ncol COMBOBOX oCbx1 VAR cFilter1 ITEMS ArrTranspose( aListini )[ 1] ; SIZE 120,400 ...
by Silvio.Falconi
Mon Jul 20, 2020 12:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 2006: XBrowse : Own built-in Buttonbar
Replies: 14
Views: 2262

Re: Usar o no variables publicas.

Yo tampoco utilizo ni Public ni Private, pero si tengo una Public oApp Sí, también es una práctica muy habitual, en la que existe una clase TApp o algo asi En ese caso, lo lógico es convertir a DATAs cada una de esas variables públicas y obtenerlas a partir ...
by cnavarro
Tue Apr 28, 2020 3:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Usar o no variables publicas.
Replies: 16
Views: 3055

Re: Usar o no variables publicas.

Yo tampoco utilizo ni Public ni Private, pero si tengo una Public oApp
by Antonio Mart.
Tue Apr 28, 2020 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Usar o no variables publicas.
Replies: 16
Views: 3055

ADO: ACTUALIZAR CAMPO DE SELECT DE 02 TABLAS MSSQL

... +"' "+; "ORDER BY ACTIVO" oRsDir := TOleAuto():New( "ADODB.RecordSet" ) WITH OBJECT oRsDir :ActiveConnection := oApp:oCon :Source := cSql :CursorLocation := adUseClient :LockType := adLockOptimistic :CursorType := adOpenDynamic TRY :Open() CATCH FW_ShowAdoError( ...
by Angel Miguel
Sun Apr 19, 2020 5:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADO: ACTUALIZAR CAMPO DE SELECT DE 02 TABLAS MSSQL
Replies: 5
Views: 873

add button on ribonbar with font

I create a button on ribbonbar type SAYBUTTON @ 7,5 ADD BUTTON oSelected ; PROMPT " N."+str(ncella) ; SIZE 100,85 ; BITMAP cImagebar ; OF oApp():oGrSelected MOSTLEFT SAYBUTTON oSelected:DISABLE() How I can to change the font of text ? on include ( ribbon.ch) I cannot insert Font How it ...
by Silvio.Falconi
Fri Apr 10, 2020 5:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: add button on ribonbar with font
Replies: 2
Views: 386

Re: Compare Two dates

If dtos(oApp():datainiziale)=dtos(ddcheck_in) .and. dtos(oApp():datafinale) = dtos(ddcheck_out)
lDaily=.t.
Endif
by MarcoBoschi
Thu Apr 09, 2020 12:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compare Two dates
Replies: 2
Views: 353

Compare Two dates

I have Two dates as strings (on a array)
Ddcheck_in and ddcheck_out
And Two dates on variables
oApp(): datainiziale
oApp():datafinale
I made

If dtos(oApp() datainiziale)=dtos(ddcheck_in) .and. dtos(oApp():datafinale) = dtos(ddcheck_out)
lDaily=.t.
Endif

Why not run ok?
by Silvio.Falconi
Thu Apr 09, 2020 12:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compare Two dates
Replies: 2
Views: 353

Re: Colorize a dialog two colors

I found the error
the Panel is not trasparent
then I made oApp:oSpiaggia:lTransparent :=.t.
and then I saw the problem
all btnbmp are not transparent ( look at your email)
by Silvio.Falconi
Wed Apr 01, 2020 10:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorize a dialog two colors
Replies: 3
Views: 707

Re: Colorize a dialog two colors

Antonio, I use it for a Panel I made oApp:oSpiaggia:bPainted:= {|hDC, cPS| ; SetDlgGradient( { { 0.1, CLR_CYAN, CLR_CYAN }, { 0.9, COLORE_SABBIA, COLORE_SABBIA } } ); } then on this tPanel I use btnbmp and ( on top ) the objects Ximage the ...
by Silvio.Falconi
Wed Apr 01, 2020 9:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorize a dialog two colors
Replies: 3
Views: 707

Colorize a dialog two colors

I use a brush to colorize a dialog DEFINE BRUSH oBrush1 COLOR COLORE_MIO oApp:oMyDialog:SetBrush(oBrush1) for reasons that I am not here to list now I would need to know if I can color a two-color dialog i.e. having a light blue color for two fingers above and ...
by Silvio.Falconi
Tue Mar 31, 2020 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorize a dialog two colors
Replies: 3
Views: 707

bad image string on archive

on one record there is this string .\images\quattr~1.png to save the image I do: cPathMask := oApp:cImgPath+UrlImage(cSeimage) cImage:= RelativePath( cPathMask ) + UrlImage(cPathMask) how can I avoid saving with the ~ symbol ? I have on field 120 cr to save any solution ...
by Silvio.Falconi
Sat Feb 15, 2020 8:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bad image string on archive
Replies: 1
Views: 410
PreviousNext

Return to advanced search

cron