... reubicar los controles, asignar tamaño, colores y fuentes. 1. En el sysmenu cree la opcion Activar modo diseño. Todos los controles les activo oControl:lDesign:=.T. 2. Si es MDI el usuario puede arrastrarlos con el mouse. 3. Al salir del formulario, guardo en un archivo plano la geometria de ...
Inside Your function You defined Function SetGradientBtnbmp(ntype,ocontrol,nColorBorder) DEFAULT nColorBorder := nRGB(116,165,216 ) Do case Case ntype = 2007 ... ... //2007 ocontrol:bClrGrad = { | lInvert | If( ! lInvert,; ... ocontrol:nClrBorder := { || ...
... de windows. La forma como se llama al ocx desde la clase es: METHOD New( oWnd, nId ) CLASS TRMChartX LOCAL cMsg := "" IF nId != NIL ::oControl := TActiveX():Redefine( nId, oWnd, "RMChart.RMChartX" ) ELSE ::oControl := TActiveX():New( oWnd, "RMChart.RMChartX" ) ENDIF ...
... etc. You just need to use oBar:nHeight and oMsgBar:nHeight to calculate the right coordinates for the other controls When you do oWnd:oClient = oControl the FWH calculates the remaining client area automatically http://forums.fivetechsupport.com/viewtopic.php?f=17&t=12423&p=62355&hilit=GetCliRect#p62355: ...
La clase TWindow implementa el método Shadow() por lo que se lo puedes aplicar a cualquier control (clases que deriven de TControl que deriva de TWindow):
Carlos, El mensaje que usa las letras acentuadas ó eñe es enviado a un objeto OLE y no al activex: ::oControl:playlist:add( "File:///" + cFileName ) La función que se usa es hb_oleItemToString() en harbour/contrib/hbwin/olecore.c y esa función debe usar codepages ...
... por ejemplo. me parece que es un problema del control activex, yq ue tengo lo mismo hecho con vfp y va de lujo. en el metodo SetFile tengo esto ::oControl:playlist:add( "File:///" + cFileName ) que es donde me parece se da el problema. alguna ayuda. la verdad me gustaria usar el modo ...
... edits are disabled but the browse continues to be displayed as seen before closing the datasource. - TXBrwColumn: New method AnchorToCell( oDlg/oControl) The dialog / control is aligned to bottom of the active cell. - Fix: lFitGridHeight is not behaving correctly when lFooter is .t. Fixed. - ...
... edits are disabled but the browse continues to be displayed as seen before closing the datasource. - TXBrwColumn: New method AnchorToCell( oDlg/oControl) The dialog / control is aligned to bottom of the active cell. - Fix: lFitGridHeight is not behaving correctly when lFooter is .t. Fixed. - ...
... it creates problems ) the parameters to pass would be xMousepos,yMousepos,nBrwrow,nBrwcol ... oBrw:bRClicked := { | xpos, ypos, nBrwRow, nBrCol, oControl | ShowPop( xpos, ypos, opopUp, oBrw:oWnd ) } Would this serve?
... When the group is closed, its controls are hidden ( oControl:Hide() ) and all the controls below the group, are moved upwards ( oControl:SetPos( nTop, nLeft ) ). When it gets opened, all the controls ...
... When the group is closed, its controls are hidden ( oControl:Hide() ) and all the controls below the group, are moved upwards ( oControl:SetPos( nTop, nLeft ) ). When it gets opened, all the controls ...