Search found 26 matches: obut

Return to advanced search

Re: POSITION BUTTONS ON BUTTONBAR

...    := 115   Local nWidth :=  Max( nRight * DLG_CHARPIX_W, 180 )   Local nHeight := nBottom * DLG_CHARPIX_H   Local oBar,oDlg   Local oBut[10]DEFINE DIALOG oDlg  ;   //OF oParent   TITLE "test"    ;   SIZE nWidth, nHeight TRANSPARENT PIXELoDlg:nStyle    := nOr( ...
by Silvio.Falconi
Sun Apr 30, 2017 10:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: POSITION BUTTONS ON BUTTONBAR
Replies: 7
Views: 1158

Re: POSITION BUTTONS ON BUTTONBAR

Il Pulsante "Invio" a destra del Dialog oDlgb DEFINE BUTTONBAR oBar1 OF oDlgb 2013 SIZE 95,45 BOTTOM DEFINE BUTTON oBut1x OF oBar1 PROMPT " " FONT oFontb GROUP oBut1x:disable() oBut1x:nWidth = (ODLGB:nWidth-250) DEFINE BUTTON oBut OF oBar1 PROMPT "Invio" ...
by stefano
Sun Apr 30, 2017 9:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: POSITION BUTTONS ON BUTTONBAR
Replies: 7
Views: 1158

Re: DBF editors

... the Program errors out. Thanks in advance and best regards, Otto /* XBROWSE( oBrw ) ? EVAL( bNew ) ? lNew ? oBrw:aRow[5] */ @ 115 , 185 BUTTON oBut[3] PROMPT "Delete Record"; OF oDlg SIZE 55,15 PIXEL; WHEN EVAL(bNew) .AND. ( lNew .OR. ! oBrw:aRow[5] ); //arow[5] if .T. this field ...
by Otto
Wed Aug 24, 2016 9:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF editors
Replies: 16
Views: 4431

Re: Expand a dialog

Marco,

@ 2 , 1 BUTTON oBut ACTION oDlg:SetSize( 300, 500 )
by Antonio Linares
Wed Jul 15, 2015 10:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Expand a dialog
Replies: 8
Views: 1115

Re: TGET Ignore VALID

Se podría hacer:

odlg:bkeydown:={|nkey| if(nkey==VK_F3 .and. oWndFromHwnd( GetFocus() ):lValid(),oBut[1]:click(),)}

lo que no entiendo cual es la razón de asignar ese codeblock al diálogo.
by Antonio Linares
Thu Dec 26, 2013 4:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TGET Ignore VALID
Replies: 11
Views: 1812

Re: TGET Ignore VALID

Please try it this way:

@ 1, 3 GET oGet VAR cTest picture "@!" valid .f.

odlg:bkeydown:={|nkey| if(nkey==VK_F3 .and. oGet:lValid(),oBut[1]:click(),)}
by Antonio Linares
Thu Dec 26, 2013 4:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TGET Ignore VALID
Replies: 11
Views: 1812

TGET Ignore VALID

Sr. Antonio, código abaixo demonstra que é possível ignorar o VALID de um GET pressionando VK_F3. local oDlg, cTest := SPACE(20), oBut[2] DEFINE DIALOG oDlg TITLE "VK_F3 ignore VALID" odlg:bkeydown:={|nkey| if(nkey==VK_F3,oBut[1]:click(),)} @ 1, 3 GET cTest picture "@!" ...
by MGA
Tue Dec 24, 2013 11:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TGET Ignore VALID
Replies: 11
Views: 1812

Re: FiveWeb question

... variable in a lower function - if we have function: FUNCTION One() PRIVATE abc DEFINE DIALOG oDlg @ 1,1 GET oGet VAR abc OF oDlg @ 2,1 BUTTON oBut ACTION checkit() ACTIVATE DIALOG oDlg // We are actually here and returned to the calling function!!!!!!! RETURN(NIL) FUNCTION Checkit() ? abc ...
by codemaker
Wed May 22, 2013 12:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveWeb question
Replies: 15
Views: 3999

when clausule from a button

Hello , lBuild := .F.DEFINE BUTTON oBut[2] OF oBar PROMPT "Edit" RESOURCE "edit32" ;     ACTION ( (cAlias)->(RelBuilder(oBrw,oBrwAct,aInto,@lBuild)),;      ...
by Franklin Demont
Mon Jan 28, 2013 11:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: when clausule from a button
Replies: 1
Views: 435

Re: FiveDBU for 32/64 bits , xbrdbu : index management

... default value a unique filename , temporary is set to .T. IMPORTANT : Program must be executed from a subdirectory from SAMPLES i.e. DEFINE BUTTON oBut[1] OF oBar PROMPT "Add" FILE ".\..\..\bitmaps\32x32\plus.bmp"; // RESOURCE "add" ; Frank Demont #include 'fivewin.ch'#include ...
by Franklin Demont
Tue Jan 15, 2013 3:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveDBU for 32/64 bits
Replies: 8
Views: 2491

HOW EXIT FROM A BTNBMP (button)

... is a small example. (Of course i need and i want to use BTNBMP) (EMG suggest ask you) #include "FiveWin.ch" * function Main() local oDlg,obut local pippo:= space(40) DEFINE DIALOG oDlg TITLE "TEST" from 0,0 to 250,350 pixel @10,10 SAY "leave the field empty and click non ...
by Romeo
Tue Oct 04, 2011 9:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HOW EXIT FROM A BTNBMP (button)
Replies: 3
Views: 620

Re: BUTTON vs BTNBMP

... sul bottone: Ti ho anche mandato il file EXE (zippato) in mail. *************** * #include "FiveWin.ch" * function Main() local oDlg,obut local pippo:= space(40) DEFINE DIALOG oDlg TITLE "Prova" from 0,0 to 250,350 pixel @10,10 SAY "lasciare vuoto il campo e cliccare ...
by Romeo
Tue Oct 04, 2011 8:20 am
 
Forum: All products support
Topic: BUTTON vs BTNBMP
Replies: 9
Views: 2056

BUTTON vs BTNBMP

... prova ad uscire cliccando su BTNBMP, VEDRAI CHE NON FA NIENTE. grazie Romeo/Zingoni #include "FiveWin.ch" * function Main() local oDlg,obut,obtn local pippo:= space(40) DEFINE DIALOG oDlg TITLE "Prova" from 0,0 to 250,350 pixel @10,10 SAY "Lasciare vuoto il campo e cliccare ...
by Romeo
Wed Sep 28, 2011 3:44 pm
 
Forum: All products support
Topic: BUTTON vs BTNBMP
Replies: 9
Views: 2056

Buttons and ButtonBmps

... i want to change caption of button, the problem is that button caption is "Ok" and then i press it i am change this with oButton:cCaption:="Save" but caption is not changed. Try oButton:SetText("WhatEver") and then oButton:Refresh() You have to use oButton:cTitle( "newtitle" ...
by Antonio Linares
Wed Aug 27, 2008 7:37 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65063

Browsing generally

... Hi for all ! I have a problem with Dialog and Browse coordinates .Here is the source code local oBut local oDlg local nHorRes := GetSysMetric( 0 ) local nVerRes := GetSysMetric( 1 ) // Dialog window with coordnates . DEFINE DIALOG oDlg FROM 0, ...
by Antonio Linares
Wed Aug 27, 2008 7:35 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65063
Next

Return to advanced search