Search found 55 matches: idok

Return to advanced search

Re: cambiar imagen en BTNBMP

... ADJUST ; ACTION ( oDlg:Cargo := ::Cargo, oDlg:End( IDOK ) ) y en el MOVECALENDAR esta asi: for n := nFirstButton TO nLastButton oDlg:aControls[ n ]:SetText( Str( Day( dWork ), 2 ) ) oDlg:aControls[ n ...
by José Camilo
Fri Jun 21, 2024 3:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: cambiar imagen en BTNBMP
Replies: 7
Views: 563

Re: Problemas con una búsqueda.

... @ nLin, nColu BTNBMP ; PROMPT Str( Day( dWork ), 2 ) SIZE 20, 20 NOBORDER FONT oFont4 ; //size 12,12 ACTION ( oDlg:Cargo := ::Cargo, oDlg:End( IDOK ) ) ATail( oDlg:aControls ):Cargo = dWork ATail( oDlg:aControls ):nClrText = if(nCol=1,CLR_HRED, ; If( dWork == Date(), CLR_YELLOW,; If( dWork ...
by José Camilo
Sun Jun 16, 2024 6:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con una búsqueda.
Replies: 4
Views: 387

Re: Create a Panel width a text

If I made IF oDlgBacheca:nresult == IDOK aDim = GetLabelDim( oPanel2:hWnd, cMessage , oFont:hFont ) oPanel:setsize(aDim[ 1 ] + 60, aDim[ 2 ] + 50) oPanel:SetColor( "N/W*" ) oPanel:bPainted = { | hDC | DrawTextTransparent( hDC, cMessage ...
by Silvio.Falconi
Sat Jan 06, 2024 6:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 5221

Re: check on get

... ) to not use the lsave variable and not to change all the dialogs that I have already done for many years it is possible to use ( oDlg:end( IDOK ) ) and ( oDlg:end( IDCANCEL ) ) ? and use IF oDlg:nresult == IDOK orec:save() ENDIF if I have to change all the insertion dialogs to check the ...
by Silvio.Falconi
Sat Dec 02, 2023 11:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: check on get
Replies: 27
Views: 5473

Re: Desaparecen controles en Folder - SOLUCIONADO

... problema era realmente una estupidez, igualmente no entiendo porque, pero es así. En .rc tenia definido el botón de Aceptar como "IDOK", cosa que utilizo en todos mis programas, cambiando el mismo por un numero al azar, en mi caso "4101" todo funciona perfectamente. ...
by El Loco
Thu Jul 20, 2023 5:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Desaparecen controles en Folder - SOLUCIONADO
Replies: 65
Views: 5288

Re: BTNBMP default button

hi Antonio,
it doesn't work in any way.
Return key go on to the next GET field but not active BTNBMP

in others PGM I use REDEFINE DIALOG from resource and it works because obtnbmp has ID = IDOK (I use Pelles C) but in this case I don't want to use REDEFINE.
by damianodec
Thu May 26, 2022 10:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP default button
Replies: 9
Views: 950

Re: set Report Orientation

... VAR lLandscape PROMPT "Stampa in Orizzontale"; SIZE 120,26 of oDlgStampa ACTIVATE DIALOG oDlgStampa CENTER IF oDlgStampa:nresult == IDOK ?llandscape // here is .t. bSetUp := {|oRep, oBrw, n, llandscape| MyRepSetup( oRep, oBrw, n,llandscape )} oBrw:Report("Elenco Categorie",.T.,,bSetUp ...
by Silvio.Falconi
Tue Jan 04, 2022 12:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: set Report Orientation
Replies: 17
Views: 2114

set column

... acolumns ACTION ( aCols := {}, ; AEval( oBrw:aArrayData, { |a| If( a[ 3 ], AAdd( aCols, oBrowse:aCols[ a[ 2 ] ] ), nil ) } ), ; oDlgOptions:end( IDOK ) ) ... IF oDlgOptions:nresult == IDOK return aCols ENDIF return NIL everything works fine but my concern is that if the user does not click on ...
by Silvio.Falconi
Tue Nov 16, 2021 12:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: set column
Replies: 0
Views: 291

Re: Capturar pulsación de tecla ESC en DIALOG

... Gracias Antonio, finalmente he tocado un poco la función a ver que tal. Sobre todo en cuanto a la llamada al método End() del DIALOG ( :End( IDOK ) ), al cual si no se le pasa valor aplica por defecto :nResult = 2. También le he añadido que pueda recibir un oFont definido por el usuario. ...
by FiveWiDi
Sat Jul 17, 2021 9:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Capturar pulsación de tecla ESC en DIALOG
Replies: 8
Views: 1021

Re: To Nages Problem with Tdatabase and new DAtepick

... RIGHT FONT oFont UPDATE ... ACTIVATE DIALOG oDlgMod ; ON INIT (DlgCenter( oDlgMod, oGrid ), aGet[5]:aItems[2]:disable()) If oDlgMod:nresult == IDOK if msgYesNo( i18n("¿ save ?") ) oTariffa:costo := nCosto oTariffa:sconto := nSconto oTariffa:totale := nTotale oTariffa:save() endif ...
by Silvio.Falconi
Tue May 11, 2021 10:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages Problem with Tdatabase and new DAtepick
Replies: 13
Views: 2237

Re: Problem on a Dialog (btnbmp are disabled)

... oBtnSave ; PROMPT "Save" SIZE 130,60 PIXEL OF oDlg; RESOURCE "INVOICE_SAVE" FLAT RIGHT; FONT oFontBold ; ACTION ( oDlg:end( IDOK ) ) @ 520,780 BTNBMP oBtnClose ; PROMPT "Chiudi" SIZE 130,60 PIXEL OF oDlg; RESOURCE "INVOICE_EXIT" FLAT RIGHT; FONT oFontBold ...
by Silvio.Falconi
Wed Jan 08, 2020 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem on a Dialog, btns are disabled RESOLVED
Replies: 7
Views: 1540

Re: Valores de dialogos en recursos y en codigo

... CAPTION "Nuevo Clientes" FONT 10, "Arial" { CONTROL "&Aceptar [F5]", IDOK, "Button", WS_TABSTOP, 396, 306, 50, 14 CONTROL "&Cancelar", IDCANCEL, "Button", WS_TABSTOP, 452, 306, 50, 14 }
by Compuin
Wed Nov 27, 2019 7:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Valores de dialogos en recursos y en codigo
Replies: 10
Views: 1367

Re: XBrowse & Edit Dialogs: Writing Portable code (Recommended)

... 36 GET aGet[1] VAR cCli OF oDlg SIZE 25, 10 PIXEL READONLY then when I must save I check if cCli is the same of the last code IF oDlg:nresult == IDOK IF nMode == 1 cCodeCliente:=CreaCodiceClienti(oClienti) If cCodeCliente==cCli Else Msginfo("The customer was saved with the account number ...
by Silvio.Falconi
Sun Mar 31, 2019 4:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse & Edit Dialogs: Writing Portable code (Recommended)
Replies: 17
Views: 4104

Re: Simulate btnbmp Window 10

... "&Salva" ; SIZE 60,18 PIXEL ; OF oDlgMod ; RESOURCE ".\bitmaps\SAVE.png" ; TEXTRIGHT FONT oBold ; ACTION ( oDlgMod:end( IDOK ) ) I must addd many space on Prompt to move the text but On Windows Seven it run ok and it is good to see https://i.postimg.cc/23p7MwL3/jjjjjjjjjjjjjj.png ...
by Silvio.Falconi
Tue Feb 19, 2019 9:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Simulate btnbmp Window 10
Replies: 5
Views: 902

Re: btnbmp style win10

... FLAT SIZE 45,15 LEFT PIXEL OF oDlg ;      COLOR CLR_BLACK,CLR_WHITE   GRADIENT bGrad2015  NOROUND;      ACTION ( oDlg:end( IDOK ) )       @ 233, 182 BTNBMP  oBtnCan  RESOURCE "DLG_NO" ;      PROMPT "&Annulla" FLAT SIZE 45,15 LEFT PIXEL OF ...
by Silvio.Falconi
Tue Feb 06, 2018 11:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: btnbmp style win10
Replies: 17
Views: 4498
Next

Return to advanced search