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 ...
... 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 ...
... 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" ...
Lo he solucionado de esta manera MENUITEM "Select bitmap..." ACTION ( cBt := cGetFile( "*.bmp" ),; oButton:LoadBitmaps( cBt ),; oButton:Refresh(), obutton:cname := cBt )
... 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, ...
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 ...
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 ...
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" ...
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 ... ...