Search found 45 matches: obutton

Return to advanced search

Re: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout

Emag, in this version the program is ok! King regards Marco #include "fivewin.ch" FUNCTION MAIN LOCAL oPdfCreator LOCAL oDlg LOCAL oButton DEFINE DIALOG oDlg // @ 1 , 1 BUTTON oButton OF oDlg ACTION ( oPdfCreator := CreateObject( "PDFCreator.PDFCreatorObj" ) , MsgInfo( oPdfcreator ...
by MarcoBoschi
Mon Jan 29, 2024 2:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CreateObject( "PDFCreator.PDFCreatorObj" Scale and Layout
Replies: 15
Views: 948

Re: Quien me puede aclarar esta Duda.

...                       If( ::oWnd != nil, ::oWnd:hWnd, 0 ), ;                                ::nId,, ::nExStyle )  oWnd:hWnd,oDlg:hWnd,oButton:hWnd,oXbrowse:hWnd... oRichedit:hWnd IsSelection() Me imagino que es una data de la clase que nos permite saber si hay un bloque de texto seleccionado ...
by carlos vargas
Sat Mar 09, 2019 12:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Quien me puede aclarar esta Duda IMPRIMIR MAS De Una Pagina
Replies: 11
Views: 1711

Re: AYUDA COMBOBOX DINAMICO RUTINA NO DEVUELVE ARRAY

... verlo utilizando la función MsgAlert(Valtype( nombre_del_objeto)) Lo he probado y funciona correctamente : STATIC FUNCTION PRUEBA() LOCAL oDlg, oButton, oComboBox, aVariables, cVar aVariables:={"a","b","c"} DEFINE DIALOG oDlg TITLE "Prueba de ComboBox dinámico" ...
by JESUS MARIN
Wed Jan 02, 2019 8:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA COMBOBOX DINAMICO RUTINA NO DEVUELVE ARRAY
Replies: 16
Views: 3451

Re: RBBTN bitmaps

Silvio,

From samples\rbdesign.prg we do:

MENUITEM "Select bitmap..." ACTION ( oButton:LoadBitmaps( cGetFile( "*.bmp" ) ), oButton:Refresh() )
by Antonio Linares
Tue Aug 07, 2018 6:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RBBTN bitmaps
Replies: 1
Views: 245

Re: ejemplo RBDESIGN.PRG

Lo he solucionado de esta manera MENUITEM "Select bitmap..." ACTION ( cBt := cGetFile( "*.bmp" ),; oButton:LoadBitmaps( cBt ),; oButton:Refresh(), obutton:cname := cBt )
by Patricio Avalos Aguirre
Mon Apr 20, 2015 2:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ejemplo RBDESIGN.PRG( SOLUCIONADO )
Replies: 1
Views: 489

Re: Antonio: Modifying CLASS TRBtn (Bug?)

... the popup-menu are moved left on the display-position. z.b. Dialog position left is 700 after the move(). This oDlg:nLeft are subtract from the oButton:left !? ::oPopup:Activate( ::nTop + ::nHeight(),;::nLeft - If( ! oWnd:IsKindOf( "TRBGROUP" ), oWnd:nLeft, ...
by byte-one
Tue Jan 27, 2015 2:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Modifying CLASS TRBtn (Bug?)
Replies: 12
Views: 2675

Re: Make a dialog never lost focus

static oTimer, oWnd, oButton[2] #Define SW_MINIMIZE 6 #Define SW_RESTORE 9 /*******************************/ function Main() /* */ define window ownd from 10, 10 to 20, 30 ; nozoom ; noiconize ; nosysmenu ; no caption ; border none ...
by MGA
Wed Aug 20, 2014 8:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Make a dialog never lost focus
Replies: 16
Views: 3072

Re: Cancel on Valid

Gale YES .. your advice worked GREAT .. oButton:lCancel := .t. allowed the valid NOT to fire if the cursor was in the Valid Get ! Thanks Rick Lipkin REDEFINE BTNBMP oBUTT2 ID 112 of oREQ   ;    // cancel        ...
by Rick Lipkin
Thu Dec 08, 2011 11:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cancel on Valid
Replies: 6
Views: 976

Re: Cancel on Valid

I don't think the Cancel clause works on btnbmp class. You have to use oButton:lCancel := .f.
by Gale FORd
Thu Dec 08, 2011 10:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cancel on Valid
Replies: 6
Views: 976

Re: Word and Windows 7

Please try this Many thanks #include "fivewin.ch" function Main() LOCAL oDlg, oButton DEFINE DIALOG oDLg FROM 10 , 10 TO 800 , 800 PIXEL @ 1 , 1 BUTTON oButton OF oDlg ACTION CREATEWORD() ACTIVATE DIALOG oDlg CENTER RETURN NIL FUNCTION CREATEWORD() LOCAL oWord ...
by MarcoBoschi
Thu Jun 09, 2011 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Word and Windows 7
Replies: 8
Views: 1968

Re: How to Resize Button in program?

Dutch,

oButton:SetSize( nWidth, nHeight [, lRepaint ] )

or:

oButton:nWidth := nNewWidth
oButton:nHeight := nNewHeight
by Antonio Linares
Mon May 17, 2010 9:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to Resize Button in program?
Replies: 11
Views: 1493

Radio

Hi, when I click button oButton I set nRadio value to -1 then I perform a refresh of oRadio but nothing changes. I expect to find the radio button in the initial state Is there a solution? Thanks Marco #include "fivewin.ch" ...
by MarcoBoschi
Wed Apr 07, 2010 12:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Radio
Replies: 7
Views: 1031

Re: duda de Menú y permisos de usuarios

... aRes[2] := ALLTRIM((cTbarAlias)->FLDRES2) aRes[3] := ALLTRIM((cTbarAlias)->FLDRES3) IF (cTbarAlias)->FLDSEPARAT DEFINE BUTTON oButton OF oApp:oBtnBar ; MESSAGE cMess TOOLTIP cMess ; GROUP FLAT UPDATE ELSE DEFINE BUTTON oButton OF oApp:oBtnBar ; TOOLTIP cMess MESSAGE cMess ; ...
by jcenteno
Wed Feb 17, 2010 11:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: duda de Menú y permisos de usuarios
Replies: 5
Views: 1177

Re: TEXT [POSITION] em SBUTTON

Hola Jackson: Será que o MAESTRO M.MERCADO não teria uma solução para isso Con el método oButton:SetText( cText, nRow, nCol ) puedes colocar el texto en la posición dentro del botón que tú elijas con los parámetros nRow y nCol. Ejemplo: Redefine SButton oButton ... ...
by mmercado
Sun Jan 31, 2010 11:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TEXT [POSITION] em SBUTTON
Replies: 8
Views: 1574

Re: Possible a Var ( oBtnBMP ) for oButton:cLayout := "TOP" ?

Thank You very much for Your help.
It is tested and works fine now.

Best Regards
Uwe :lol:
by ukoenig
Wed Jan 06, 2010 12:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible a Var ( oBtnBMP ) for oButton:cLayout := "TOP" ?
Replies: 2
Views: 453
Next

Return to advanced search