Search found 48 matches: lexit

Return to advanced search

Re: xbrowse No existe el metodo: LREADONLY

Karina. REDEFINE BTNBMP oBtn[3] ID 302 OF oDlg; 2007; CENTER; NOROUND; PROMPT "Salir"; GRADIENT BtnGradRed() oBtn[3]:bAction = <|| lExit := .T. oDlg:End() SysRefresh() hb_gcAll(.T.) Return Nil > Albeiroval, intenta asi por favor: #Define aPubGrad {| lInvert | If( lInvert, ...
by karinha
Sat Mar 02, 2024 1:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse No existe el metodo: LREADONLY
Replies: 16
Views: 471

Re: xbrowse No existe el metodo: LREADONLY

Karina. REDEFINE BTNBMP oBtn[3] ID 302 OF oDlg; 2007; CENTER; NOROUND; PROMPT "Salir"; GRADIENT BtnGradRed() oBtn[3]:bAction = <|| lExit := .T. oDlg:End() SysRefresh() hb_gcAll(.T.) Return Nil >
by albeiroval
Sat Mar 02, 2024 4:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse No existe el metodo: LREADONLY
Replies: 16
Views: 471

Re: Xbrowse, Mysql y Tdolphin.. error de orden..

... Id 4001 of oDlg ; // aContols 9 Prompt "&Salir" ; ACTION (oDlg:End()) ACTIVATE DIALOG oDlg //ON INIT oListBox:SetFocus() //VALID lExit CENTERED close all return nil //----------------------------------------------------------------------------// function MisGEts( oDlg, oDbf ) ...
by fridgar
Thu Dec 09, 2021 2:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Xbrowse, Mysql y Tdolphin.. error de orden..
Replies: 1
Views: 811

Re: galería de imágenes

José Luis,

Using DATA lExit INIT .F. automatically initializes it to .F.
by Antonio Linares
Mon Jan 18, 2021 7:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: galería de imágenes
Replies: 52
Views: 17033

Re: galería de imágenes

I noticed that the INIT clause doesn't assign .F. to lExit so I changed the code: METHOD Activate() CLASS TAlbum   local hWndMain   ::CreateWindow()   ::CreateControls()   ::SetVScroll()  ...
by José Luis Sánchez
Sun Jan 17, 2021 6:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: galería de imágenes
Replies: 52
Views: 17033

Re: galería de imágenes

José Luis, Add this new DATA in Class TAlbum: DATA lExit INIT .F. and modify this method this way: METHOD Activate() CLASS TAlbum   ::CreateWindow()   ::CreateControls()   ::SetVScroll()   ::oWnd:bResized := { ...
by Antonio Linares
Sat Jan 16, 2021 7:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: galería de imágenes
Replies: 52
Views: 17033

Re: Preview Window size

... ::oImageList := nil ) ),; If( ! Empty( ::oImageListPages ), ::oImageListPages:End(),),; ::oWnd := nil ,; ::oDevice:oPreview := nil ,; ::lExit := .T. ) if ::oDevice:lPrvModal if ::oWndMain == nil StopUntil( { || ::lExit } ) else hWndMain := WndMain():hWnd StopUntil( { || ::lExit .or. ...
by Silvio.Falconi
Tue Oct 15, 2019 7:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preview Window size
Replies: 6
Views: 831

Re: Ejecutar Acción al Cerrar el Preview

leandro wrote:Buenos días para todos,

Requiero ejecutar una función al momento de cerrar el preview de la impresión, justo al momento en que se cierre la ventana.



Hola Leandro:

La clase TPreview tiene una data : lExit .T. when the preview window has exited

Saludos.

Jose
by jvtecheto
Sat Jun 01, 2019 5:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejecutar Acción al Cerrar el Preview
Replies: 5
Views: 781

Re: to Nages: test for tdatabase

... "SAVE" SIZE 100,35 PIXEL OF oDlg FLAT WHEN oRec:Modified() ; ACTION ( oRec:City := dtos( date() ) + "/" + time() ,oRec:Save(), lExit := .t., oDlg:End() ) The customer numbers are one after the other but chronology is not guaranteed. Best regards Otto http://mybergland.com/FWForum/Clip6.jpg
by Otto
Sat Apr 27, 2019 1:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: to Nages: test for tdatabase
Replies: 37
Views: 5689

Re: XBROWSE - EDITSOURCE()

... ; ON INIT ( oRec:PlaceControls( oPanel, oSayFont, oFixed, lReadOnly, lNavigate, cMsg ), If( bInit != nil, Eval( bInit, oDlg ),) ) ; VALID ( /* lExit .and. */ oRec:CloseMsg() )
by Antonio Linares
Wed Dec 07, 2016 6:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE - EDITSOURCE()
Replies: 6
Views: 1520

Re: Forma correcta de configurar clase TSBUTTON...alguna ayuda?

... #INCLUDE "TSButton.ch" //----------------------------------------------------------------------------// function Main() local oDlg, lExit := .f., oBtn DEFINE DIALOG oDlg FROM 5, 5 TO 15, 40 TITLE "A Dialog Box" @ 3, 4 BUTTON "&Ok" OF oDlg SIZE 40, 12 @ 3, ...
by Compuin
Mon May 02, 2016 12:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Forma correcta de configurar clase TSBUTTON...alguna ayuda?
Replies: 14
Views: 4008

Re: ToolBar on a Dialog

Silvio,

You need a extra function, to define the dialog-Toolbar on dialog INIT

´´´´
´´´´
ACTIVATE DIALOG oDlg VALID lExit ;
ON INIT SHOW_BAR(oDlg)

RETURN NIL

// ----

FUNCTION SHOW_BAR(oDlg)
LOCAL oBar
.......

Best regards
Uwe :)
by ukoenig
Wed Nov 20, 2013 5:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ToolBar on a Dialog
Replies: 2
Views: 548

Re: Again about scripting ... HB_CompileBuf

the window remains opened because it belongs to the operating system, not to the PRG :-) Try this: local lExit := .F. ... ACTIVATE WINDOW oWnd StopUntil( { || lExit } ) From the window, change lExit to .T. to finally exit. Wwoooowwww ! And that is working ! :D Very fine ! So ...
by Rimantas
Wed Mar 13, 2013 4:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Again about scripting ... HB_CompileBuf
Replies: 28
Views: 4943

Re: Again about scripting ... HB_CompileBuf

the window remains opened because it belongs to the operating system, not to the PRG :-)

Try this:

local lExit := .F.

...

ACTIVATE WINDOW oWnd

StopUntil( { || lExit } )

From the window, change lExit to .T. to finally exit.
by Antonio Linares
Wed Mar 13, 2013 3:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Again about scripting ... HB_CompileBuf
Replies: 28
Views: 4943

Trabajando con gtk con fivelinux

... SIZE nAnchoDialogo, nAltoDialogo @ nL, nC BUTTON oBtn PROMPT "OPCION-1" OF oDlg SIZE nLB*nAnchoLetra,nAltoLetra ACTION ( nSeleccion:=1, lExit := .T., oDlg:End() ) @nL, nC BUTTON oBtn2 PROMPT "OPCION-2" OF oDlg SIZE nLB*nAnchoLetra,nAltoLetra ACTION ( nSeleccion:=2, lExit := ...
by jgayoso
Tue Dec 06, 2011 3:59 pm
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Trabajando con gtk con fivelinux
Replies: 2
Views: 904
Next

Return to advanced search