topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Brush en Browse | [quote="Francisco Horta":syyabk5y]Parece que ya solucioné modificando la clase Destroy() de la xbrowse agregando estas lineas,
if ::oBrush:hBitmap != 0 .and. ValType( ::oBrush:Cargo ) == 'N'
DeleteObject( ::oBrush:hBrush )
endif
nomas que lo confirme Antonio a ver si es correcto
saludos
paco[/quote:syyab... |
Brush en Browse | [quote="FranciscoA":24kkchw3]
Estos no los elimina:
DEFINE BRUSH oBrush FILENAME cBrush
DEFINE FONT oFont NAME "MS SANS SERIF" SIZE 0, -10 BOLD
DEFINE FONT oFont2 NAME "MS SANS SERIF" SIZE 0, -14 BOLD
oBrw:SetBackGround(".\STONE.BMP")
Al salir, hago esto:
oFont:End() //esta no la elimina
oFont... |
Brush en Browse | Antonio,
Gracias por tu apoyo..
probando la clase tfolderex de mi sistema le asigno font y estas se quedaban en memoria
lo soluciones corrigiendo el metodo Destroy()
METHOD Destroy() INLINE AEval( ::aBitmaps, {| hBmp, nId | DeleteObject( hBmp[ BMP_HANDLE] ) } ), ;
AEval( ::aBrightBmp, {| ... |
Brush en Browse | Antonio,
¿ Podrías, por favor, decirme qué significa "más veces de las debidas" en:
[quote="Antonio Linares":3j0yfotj]
Si no se eliminan es porque se han asignado más veces de las debidas...
[/quote:3j0yfotj] ?
Saludos |
Brush en Pages | Buen día,Pretendo usar Pages en mi aplicación pero me encuentro que no puedo colocar un brush a los mismos.Hice todo lo que ví comentado en el foro pero sigue saliendo con el fondo blanco.Como uso recursos DLL generados con Pelles-C, y este no tiene predefinido el Pages, lo defino como texto. Calculo que ahí está el fa... |
Brush en Pages | Rolando,Cada página del control TPages es un diálogo, por lo que podrías asignarle el brush a cada uno de ellos:AEval( oPages:aDialogs, { | oDlg | oDlg:SetBrush( oBrush ), oDlg:Refresh() } ) |
Brush en Pages | Antonio,Gracias por responder, pero no funciona, sigue igual.Lo solucioné poniendo un say que cubra todo en cada dialog de la Pages. Lo definí como NO Transparente y, al resto de los controles los definí como transparentes. Luego :oPages:aDialogs[1]:SetBrush( oBrush1) oPages:aDialogs[1]:lTransparent := .t.y lo mismo pa... |
Brush en TDockPnel | Cristóbal buenas tardes, que pena molestar.
Pero quería saber si se puede usar una imagen "brush" como fondo en un panel de tu clase.
De antemano gracias. |
Brush en TDockPnel | Leandro, no es molestia. Es muy sencillo
[code=fw:2aq1cyqy]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> :<span style="color: #000000;">SetCtrlsPnel</span><span style="color: #000000;">(</span> <span style="color: #000000;">{</span> | o, nT, nL, nH, nW, nR | o:<span styl... |
Brush en TDockPnel | Amigo, muchas gracias por responder.
Funciona de maravilla, era lo que necesitaba.
Pero ahora me surge otra pregunta <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Puedo también emular de alguna manera el ON INIT de un dialogo, en un TDockPnel?
De antemano gracia... |
Brush en TDockPnel | Leandro, prueba con esto a ver
[code=fw:1syh55js]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> :<span style="color: #000000;">SetCtrlsPnel</span><span style="color: #000000;">(</span> <span style="color: #000000;">{</span> | o, nT, nL, nH, nW, nR | o:<span style="color: #000000;">bInit... |
Brush en dialog con page | Una preguntilla....
Tengo una dialog dentro de una función que se define así:
[code:o1qfs0ca]
DEFINE DIALOG oDlg RESOURCE "DLG_PAGE" TITLE cTitulo
REDEFINE SAY oSay[1] PROMPT cId ID 200 OF oDlg
REDEFINE SAY oSay[2] PROMPT cTexto ID 201 OF oDlg
REDEFINE PAGES oPage ID 102 OF oDlg DIALOGS cD... |
Brush en dialog con page | Hola Jose
Prueba asi :
oPage:aDialogs[1]:SetBruhs( oBrush )
oPage:aDialogs[1]:lTransparent := .t.
Saludos |
Brush en dialog con page | [quote="Raymundo Islas M.":1yig30zt]Hola Jose
Prueba asi :
oPage:aDialogs[1]:SetBruhs( oBrush )
oPage:aDialogs[1]:lTransparent := .t.
Saludos[/quote:1yig30zt]
Gracias Ray por tu respuesta, lo probé así:
[code:1yig30zt]
IF oBrush != NIL
oDlg:lTransparent := .t.
oPage:lTransparent &#... |
Brush en dialog con page | [code:1czqy6j1]
LOCAL oBrush
DEFINE BRUSH oBrush FILE "MIBITMAP.BMP"
DEFINE DIALOG oDlg RESOURCE "DLG_PAGE" TITLE cTitulo ;
BRUSH oBrush TRANSPARENT
[/code:1czqy6j1] |
Brush en dialog con page | Jose, tienes razon.
Algo esta pasando, el codigo que te mande funciona correctamente en la version anterior que usaba ( 2.7 ), estoy probando el nuevo update ( 7.10) y mis pantallas perdieron la transparencia en los pages.
Mira :
Antes
[img:904t2k8m]http://img229.imageshack.us/img229/7850/scrtrnsokyv2&... |
Brush en dialog con page | Con la 7.01 es lo mismo que es la que yo tengo.
Antonio,
Alguna solución? |
Brush en dialog con page | Raymundo,
Puedes por favor comparar el código fuente de TPages en la 2.7 y en la 7.10 ? gracias |
Brush en dialog con page | Master Antonio :
Existe una Linea con diferencias en el Metodo Redefine :
En la version 2.7 esta asi :
DEFAULT nOption := 1, oFont := ::GetFont()
y en la 7.10 :
DEFAULT nOption := 1, oWnd := GetWndDefault(), oFont := ::GetFont()
Espero te sirva.
Saludos |
Brush en dialog con page | Raymundo,
Gracias. Es lo que suponía: no hay cambios en TPages.
Puedes probar a quitar el cero que añadimos en window.prg en el método EndPaint() y probar tu aplicación ? gracias,
[code:7ma71wuj]
METHOD EndPaint() INLINE ::nPaintCount--,;
EndPaint( ::hWnd, ::... |
Brush en dialog con page | Antonio
Sigue igual, pero ahora perdi el look 2007 en el menu, la barra de mensajes sigue bien.
Ahora, me estoy dando cuenta de algo :
Para dar la apariencia XP estoy usando un archivo con el mismo nombre del ejecutable p.e. MiApp.EXE.Manifest si esta "activo" es cuando veo un desastre en las pantallas,si lo renombr... |
Brush en dialog con page | [quote="Raymundo Islas M.":cwqd46gm]Antonio
Sigue igual, pero ahora perdi el look 2007 en el menu, la barra de mensajes sigue bien.
Ahora, me estoy dando cuenta de algo :
Para dar la apariencia XP estoy usando un archivo con el mismo nombre del ejecutable p.e. MiApp.EXE.Manifest si esta "activo" es cuando veo un des... |
Brush in 8.12 Window | I assign a Brush to the main window of my application. The window is opened to a defined size. If my client clicked on the Maximize button, in the past the BMP would simply stretch to the size of the window as displayed on the full monitor. In 8.12, it now gets a "tiled" look where the original brush covers about 6... |
Brush in 8.12 Window | Hello Tim,
I understand, that You are using a Image as a Background.
It doesn't matter, if it comes as a file from disk, or from resource.
Both solutions : Fill background with a Image or Tiled.
[code=fw:s3d6kk4m]<div class="fw" id="{CB}" style="font-family: monospace;"><br />....<br />....<br /><span style="color: #... |
Brush in 8.12 Window | Thank You. |
Brush in 8.12 Window | Hello Uwe,
trying hard to reconstruct your example, but something is wrong, the background is always grey. Here is the source:
[code=fw:3l7vc7eg]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> Main<span style="color: #000000;">(</span><span style="color: #00... |
Brush in 8.12 Window | Hello Frank,
another way to display a Background-Image without extra Function :
( Freeimage.dll is used )
[code=fw:hmbbpdgy]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// SIZE can be any value, because it will be adjusted to Window-Size</span><br /><br /><span style="... |
Brush in 8.12 Window | Uwe,
thank you very much for the help, both methods are working for me <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Do you have an explanation why it doesn't work with the function WL_IMAGE()? |
Brush in 8.12 Window | Hello Frank,
Background-defines are working different with MDI-Windows.
If You use MDI, the used Function from above shows a Grey background.
[code=fw:3vdjlvq9]<div class="fw" id="{CB}" style="font-family: monospace;"> <br /><span style="color: #00C800;">LOCAL</span> hDC <span style="color: #B900B9;">// don't forget... |
Brush in 8.12 Window | Hello Uwe,
THX for your assistance. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
I've made some more testing and here is the working sample for both SDI and MDI:
[code=fw:fs411lp1]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">F... |
Brush in 8.12 Window | Hello Tim,
I think maybe [color=#FF0000:3b39xh79]hDC[/color:3b39xh79] is defined a few times without a Release.
You don't need [color=#FF0000:3b39xh79]hDC := oWnd:GetDC() [/color:3b39xh79]to define inside the main-Window
Is that the source, how Your background is defined, calling the Paint-function ?
[code=fw:3b39x... |
Brush in 8.12 Window | A strange thing has been happening.
I'm using your original solution ( top of thread ) and it seems to work. However, after awhile using the program, which is all SDI ( Dialogs ), when someone returns to the MAIN( ) window, the background disappears.
There is no persistant pattern that I can identify.
Any thoughts ... |
Brush in 8.12 Window | LOCAL hDC was not included... we'll see if that improves the situation. Thank you. |
Brush in dialog problem continues | OK ... When using the Brush in Dialog option its nice, except the folders do not show the brush.
Going further, if I use this option, then BMPGET will show a black field with the bitmap, and if I use the bitmap as a button to select a value for the field ( ie. a data lookup option ), then the value cannot be seen beca... |
Brush in dialog problem continues | Tim,
Please try samples\TestFldb.prg for a working sample of folders with background bitmapped brushes.
For non standard FWH controls, like the BTNGET you mention, please add its class name in dialog.prg, here:
if ::lTransparent
FixSays( ::hWnd )
AEval( ::aControls,;
{ | o | If( ! Upper( ... |
Brush in dialog problem continues | OK ... that fixed the GET issue ...
Still no bitmap background on the folders ( see other thread ).
Tim |
Brush issue | I use a brush background on my screens that is a cloud bmp. It has worked fine for a long time.
I was defining the brush each time I defined a dialog, and that seemed like a huge waste. So I declared the brush in the main( ) routine as a public object, and then refer to it with every dialog.
Several of my clients r... |
Brush issue | Tim,
maybe test it like :
DEFINE BRUSH oBrush1 COLOR 14853684
[color=#0000FF:383bn7w0]DEFINE BRUSH oBrush2 FILENAME c_path + "\Images\Stone.bmp"[/color:383bn7w0]
// You can test, if the Brush still exists.
// with < oBrush2:End() > You will get a Errormessage from the Dialog !!!
DEFINE DIALOG oDlg1 RESOURCE "Gro... |
Brush issue | Tim,
Brushes also use a counter to share them between different objects.
How are you assigning it ? Must use <oObj>:SetBrush( oBrush ) |
Brush issue | This is getting urgent
I use one Brush in my system for ALL dialogs.
In the past, I used the following code in every function that had a dialog:
DEFINE BRUSH oBrush RESOURCE "SKY"
DEFINE DIALOG oDlg RESOURCE "PRO100M" BRUSH oBrush TRANSPARENT OF oWnd FONT oWnd:oFont
It seemed silly to constantly redefine oBru... |
Brush issue | Tim,
did You test it the way I posted above ?
I never had any problems.
DEFINE DIALOG oDlg RESOURCE "PRO100M" TRANSPARENT OF oWnd FONT oWnd:oFont
[color=#FF0000:3s8s7c0h]// oDlg:SetBrush( oBrush )[/color:3s8s7c0h]
[color=#0000FF:3s8s7c0h]ACTIVATE DIALOG oDlg ;
ON INIT oDlg:SetBrush( oBrush )[/color:3s8s7c0h]
Best R... |
Brush issue | I changed it to your style and now its even worse.
I'll have to go back and see what else I can do.
I think I'll revert it back to what I had originally with no problems.
Tim |
Brush issue | Tim,
I don't know, why the brush gets lost.
Another solution could be to define the brush LOCAL :
FUNCTION Main()
LOCAL [color=#FF0000:3jdj2881]oBrush2[/color:3jdj2881]
c_path := GETCURDIR()
DEFINE BRUSH [color=#FF0000:3jdj2881]oBrush2[/color:3jdj2881] FILENAME c_path + "\Images\Stone.bmp"
DEFINE WINDOW oWnd... |
Brush issue | That is what I'm doing right now. I'll see if that resolves the problem.
Tim |
Brush issue | Antonio,
I just use the BRUSH argument in the REDEFINE for a dialog created in a resource. |
Brush issue | [quote="TimStone":2ig95gpl]SKY is a bitmap ( clouds ) stored in my .res file that is linked to the program.[/quote:2ig95gpl]
Please open the "Memory options" of your bitmap (if you are using BRW) and remove the check from Discardable option.
EMG |
Brush issue | Tim,
Somewhere in your app, your brush counter is decreasing down to zero and so the brush is released.
Please place a log in your app when you return from a certain option and check the brush counter:
LogFile( "brushes.txt", { oBrush:nCounter, "exiting from function ..." } )
As a workaround you could increase the ... |
Brush issue | Antonio,
Here is where it gets interesting, and very strange.
I started monitoring oBrush:ncount. I initialize the public object oBrush, then I increment it 5 times, so nCount should be 6. I enter a function, so some work, and come out, and ncount is now 7. No where in that function do I increment oBrush. In fact... |
Brush issue | [quote:2e8sfbpb]So I declared the brush in the main( ) routine as a public object, and then refer to it with every dialog.
[/quote:2e8sfbpb]
This should work correctly as expected.
One possibility is that you might have forgotten to delete the line "RELEASE BRUSH oBrush" in one or two of the modules. This is possible b... |
Brush issue | It was all very confusing, but in the end, only two clients had problems, and they were with older machines. One was using XP Home. He replaced his computer with a new box and has no further problems.
I made enough changes, and called the brush LOCAL to each routine, and that solved the last of the problems with the... |
Brush issue | Tim
I am doing my best to try to stop using Static variables in all my routines .. even though many of my routines are single .prg with multiple Static Functions that would lend themselves to Static variables.
I have found using MDI\MDIchildren that if you open the same routine twice the Static variables blend togeth... |
Brush issue | Rick - with respect, that sounds crazy, you should be using classes and objects for MDI
Each of our MDI windows is a separate object of a "form" class, which automatically then ensures each form is totally independent of others |
Brush on Dialog | Antonio,
It looks like a great idea, but I'm having a problem with using the brush on the dialog.
First, the sample builds fine.
However, from the ppo file:
oBrush := TBrush():New(,,,"Sky" )
DEFINE DIALOG oDiw RESOURCE "PRO2100" BRUSH oBrush TRANSPARENT
and xHarbour gives me the error Parse error at DIALOG. ... |
Brush on Dialog | Tim,
Please check that you are using the new and modified dialog.ch that comes with FWH 2.7 February. |
Brush on Dialog | Antonio,
The new FWH is installed by itself. I rename the old directory and thus the newest download is always just the set of files you included. There is no other copy of dialog.ch in play.
Actually, it is the TRANSPARENT or transparent that causes the problem. If I comment it out, then it will build and show th... |
Brush on Dialog | I found another instance of DIALOG.CH in hiding ... its running fine now.
We have very warm and very very dry weather here right now and that doesn't always help the thought process.
Tim |
Brush on Dialog | Tim,
glad to know you solved it |
Brush on Dialog | I have a screen with folders, and the background for the dialog will display the bitmap, but not the folders. Here is the code:
// Create the dialog box for editing
DEFINE BRUSH oBrush RESOURCE "SKY"
DEFINE DIALOG oWdlg1 RESOURCE "PRO1000" BRUSH oBrush transparent OF oWnd FONT oWnd:oFont ;
TITLE cTitl... |
Brush on Dialog | Tim,
Try to remove the OF oWnd from here:
DEFINE DIALOG oWdlg1 RESOURCE "PRO1000" BRUSH oBrush transparent FONT oWnd:oFont TITLE cTitle |
Brush on Dialog | OK ... removing the reference does not help ... I tried again this morning because I experimented with that yesterday.
I've looked for other files that might be in the path that could cause an issue. I don't see any, but perhaps you could suggest which ones I might need to evaluate.
The problem is consistent whereve... |
Brush on Dialog | Tim,
Could you please test samples\TestFldb.prg and confirm if folders look ok with the background bitmap ? Thanks |
Brush on Dialog | I stated in my very first post in this thread that the sample builds fine.
My problem is that my code is basically identical to the sample, so it should also work fine.
Obviously something is missing here.
Which .prg and which .ch files might exist which would cause a problem. In other words, in which files do you ... |
Brush on btnbmp with color | I made
[code=fw:2k36pgr6]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">Function</span> test<span style="color: #000000;">(</span><span style="color: #000000;">)<... |
Brush on btnbmp with color | Intente ahora:
[code=fw:3mobqd8s]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// \SAMPLES\SILFLDCR.PRG</span><br /><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span> <span style="color: #B900B9;">//-> The Best...</span... |
Brush on btnbmp with color | Silvio, part II:
[code=fw:1lq9wll0]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// \SAMPLES\SILFLDCR.PRG = Part II</span><br /><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span> <span style="color: #B900B9;">//-> ... |
Brush on btnbmp with color | [quote="karinha":gvvw4bl6]Silvio, part II:
[code=fw:gvvw4bl6]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// \SAMPLES\SILFLDCR.PRG = Part II</span><br /><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span> <span style="c... |
Brush on btnbmp with color | I liked this model.
[url:boyld17z]https://imgur.com/KufhpL0[/url:boyld17z]
[img:boyld17z]https://i.imgur.com/KufhpL0.png[/img:boyld17z]
Regards, saludos. |
Brush on btnbmp with color | Hay algo errado.
[url:2w46a1ja]https://forums.fivetechsupport.com/viewtopic.php?f=3&t=37314&hilit=bColorMap&start=30&sid=67223e9a38d3804f1ad19ff92a2151cc[/url:2w46a1ja]
Regards, saludos. |
Brush on btnbmp with color | [quote="karinha":1ynygttf]Hay algo errado.
[url:1ynygttf]https://forums.fivetechsupport.com/viewtopic.php?f=3&t=37314&hilit=bColorMap&start=30&sid=6015c3da5779407e49bc9c5077642f3f[/url:1ynygttf]
Regards, saludos.[/quote:1ynygttf]
I may have [b:1ynygttf]become colorblind[/b:1ynygttf] because I'm old m... |
Brush on btnbmp with color | [quote="Silvio.Falconi":48zjlftj][quote="karinha":48zjlftj]Hay algo errado.
[url:48zjlftj]https://forums.fivetechsupport.com/viewtopic.php?f=3&t=37314&hilit=bColorMap&start=30&sid=638de723023508154ba6e48e483070fe[/url:48zjlftj]
Regards, saludos.[/quote:48zjlftj]
I may have [b:48zjlftj]become colorbli... |
Brush on btnbmp with color | [quote="karinha":15xpi8jw][quote="Silvio.Falconi":15xpi8jw][quote="karinha":15xpi8jw]Hay algo errado.
[url:15xpi8jw]https://forums.fivetechsupport.com/viewtopic.php?f=3&t=37314&hilit=bColorMap&start=30&sid=35c3bc29202c293a91e12e63268c636b[/url:15xpi8jw]
Regards, saludos.[/quote:15xpi8jw]
I may have [... |
Brush or color for a special cell in xBrowse ? | Hello,
I use xBrowse as a Color and Brush- Selector.
In the moment i write in a cell
the Style < Borland, Cross > and so on, or < Green, Blue >...
The yellow field in in 1. Array-Col is the default-selection
It would be nicer, to show the brush.
[img:2185cagp]http://pflegeplus.com/pictures/brushes.jpg... |
Brush-adjustment (top/left) needed for TFoldex ? | Hello,
using my new debuggingtool, I notice a problem
with TFoldex-brushes.
The top and left seems not to be exact adjusted in relation to the defined tabs.
( tab-bottom / brush-top and folder-left / Brush-left )
I think the problem is not the Brush, because I changed the top / left - startposition.
The painting-prob... |
Brush... pero de TEXTO ? | Hola amigos Fivewinners....
Alguien sabe como, se le ocurre, tiene una idea de como.....
Poner un texto de brush, no puede ser un bitmap, ya que ese texto deberia cambiar de acuerdo a una funcion externa, y no puedo generar tantos bitmaps como textos voy a necesitar.
Lo intente con lo siguiente en la Clausula ON INI... |
Brush... pero de TEXTO ? | Intentalo con ExTextOut() desde el pintado del dialogo/Window (el :bPainted) antes de colocar el bitmap con PalBmpDraw()
Calcula las coordenadas para poner la primera linea de texto por debajo de la toolbar.
Suerte
Saludos |
Brush... pero de TEXTO ? | Adolfo
ACTIVATE WINDOW oWnd MAXIMIZED ON PAINT ( _miTxt(hDC) )
function _miTxt( hDC )
Local oFont
DEFINE FONT oFont NAME "ROMAN" SIZE 0,-12 BOLD
oFont:Activate( hDC )
SetBkMode(hDC,1)
SetTextColor(hDC,CLR_BLUE)
DrawText(hDC,"SysCtrl Software",{10, 20, 500, 600}, nOr( 1, 4 ) )
RETURN NIL
Espe... |
Brush... pero de TEXTO ? | Antolin, Syscrtl
Gracias por sus respuestas,
primero... ala funcion mitxt es llamada cada vez que paso por encima de un icono, menu etc.
Segundo, desgraciadamente no veo nada, trate de cambiar parametros como las 4 coordenadas, color, tipo y tamaño de la letra y nada.. asi que no pude hacerlo funcionar.
Sobre el E... |
Brush... pero de TEXTO ? | Supongo que sería algo asi:
DEFINE FONTO oFont ...
DEFINE Bmp ....
DEFINE DIALOG oDlg ...
...
oDlg:bPainted := { |hDc| MiPaintBrush(hDc,oFont,Bmp) }
...
ACTIVATE DIALOG oDlg ...
[b:38l5wlz1]FUNCTION MiPaintBrsuh(hDc,oFont,Bmp)[/b:38l5wlz1]
LOCAL nX,nY
LOCAL OldFont := SelectObject(hDC,oFont:hFont)
FOR nX = ... TO ..... |
Brush... pero de TEXTO ? | Tambien puedes probar con DrawText() o WSay() en lugar de ExTextOut() son muy similares. Con fondo transparente u Opaco, Etc... Consulta las ayudas del FWH para ver el uso de esas functiones. |
Brush... pero de TEXTO ? | Adolfo,
la funcion _MiTxt() solo puedes llarme una vez,
utilizando una variable publica,,
public lMiTxt := .t.
if lMiTxt
_miTxt()
lMiTxt := .f.
endif |
Brush... pero de TEXTO ? | Adolfo, en mi posta anterior, con las prisas, he puesto [b:1bn86cu2]PalDrawText[/b:1bn86cu2](hDc,X..,Y..,Bmp:hBitmap, Bmp:hPalette,[AnchoBmp,AltoBmp] )
en lugar de [b:1bn86cu2]PalBmpDraw[/b:1bn86cu2](hDc,X..,Y..,Bmp:hBitmap, Bmp:hPalette,[AnchoBmp,AltoBmp] )
Mil perdones |
Brush... pero de TEXTO ? | Gracias a Todos
Lo he podido hacer mezclando ambas partes de las soluciones que me han enviado, pero en vez de usar ExtTextOut() he utilizado WSay() ya que me permite cambio de color de letra y fondo, y si la deseo transparente o no.
Gracias |
BrushTools Version 1b (Update) => Download and Info | Hello,The Brushtools are ready for download :You can create combinations of Window and Dialog with :Pictures, Gradients, Single Colors and Brushes.1.With the Direction-Browser you can select Gradient Horizontal or Vertical.2.With the Style-Browser you can change between Gradient or Single-Color.3.Slider for moving the ... |
BrushTools Version 1b (Update) => Download and Info | Hello,Here is the first Update 1bNow it is possible, to use your own brushes as well[img:1b8ojnqf]http://www.pflegeplus.com/pictures/Brtools4.jpg[/img:1b8ojnqf]You can choose Image or Brush as a Background.some nice images / brushes are included.[img:1b8ojnqf]http://www.pflegeplus.com/pictu... |
BrushTools Version 1b (Update) => Download and Info | Hello,there was a little bug in : 2. Dialog-color-selectionIf somebody downloaded version 1.bit is fixed now.RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> |
Brushed Group Object | Dear All,
How can I make group similar to this:
[img:2w3oqsuo]http://i208.photobucket.com/albums/bb82/fraxzi/FWxHarbour/group.png[/img:2w3oqsuo]
Inside of group border has brush or color.
Any Idea?
Kind regards,
Frances |
Brushed Group Object | Frances,
[img:2cibb8pz]http://www.pflegeplus.com/pictures/group1.jpg[/img:2cibb8pz]
[code=fw:2cibb8pz]<div class="fw" id="{CB}" style="font-family: monospace;"><br />...<br />...<br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000... |
Brushed Group Object | Hola,
could be enough for you, some think like this
[url:35focq8i]http://imageshack.us/photo/my-images/231/rgroup.gif/[/url:35focq8i]
regards
Marcelo |
Brushed Group Object | Hello,
here is the source code and header file
[code=fw:2v73ypz9]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">/*<br /> Copyright 1999 Jos‚ Lal¡n y Ferreiro <dezac@corevia.com><br /><br /> -[History]-----------------------------------------------------------<br /> ... |
Brushed Group Object | Dear Mr. Uwe and Mr. Marcelo,
Thank you so much for the great help.
Kind regards,
Frances |
Brushed Group Object | [b:3ijv2pp6]I added Gradient-options to the Class :[/b:3ijv2pp6]
TRndGroup():New( ;
30, ; // 1 nTop
30, ; // 2 nLeft
150, ; // 3 nBottom
200, ; // 4 nRight
" Title ", ; // 5 Text
oGroup, ; // 6 Object
16314573, ; // 7 nText-color
0, ; // 8 nBackground
.T., ; // 9 Pixel
, ; // 10 lDesign
170, ; ... |
Brw:VGoBottom() does not work in xBrowse [SOLVED] | Good morning, Antonio,
To finish solving the problem of xBrowse and SQLRDD, since Nages doesn't answer the messages, I need to be able to move the vertical scroll bar.
However, oBrw:VGoBottom() and SendMsg( VK_DOWN ) do not work. They don't do anything.
Here is an example.
[code=fw:38j81i50]<div class="fw" id="{CB}... |
Brw:VGoBottom() does not work in xBrowse [SOLVED] | Just define the needed position from inside the used DBF
and not from a defined xBrowse row-position like :
activate dialog oDlg centered ;
on init DBGOBOTTOM() // seek or anything else
// on init ( oBrw:VGoBottom(), oBrw:oVScroll:SendMsg( VK_DOWN ) )
regards
Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif... |
Brw:VGoBottom() does not work in xBrowse [SOLVED] | Hi,
Thank you for your reply.
But I need to force such behaviour in order to get xBrowse work under SQLRDD, as this is the failing issue. |
Brw:VGoBottom() does not work in xBrowse [SOLVED] | Thanks to Cristobal´s help, this is the fix:
[code=fw:p8rykiga]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">METHOD</span> KeyCount<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #00C800;">CLASS</span> TXBrow... |
Brw:VGoBottom() does not work in xBrowse [SOLVED] | There is no need to use this method directly.
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=38745&p=233158#p233158">viewtopic.php?f=3&t=38745&p=233158#p233158</a><!-- l --> |
BtnBMP | Hi,
When you hover the cursor over the BtnBtn button, the backlight turns on. Can this be banned ? |
BtnBMP | Modify bClrGrad property :
[code=fw:njjfzlr4]<div class="fw" id="{CB}" style="font-family: monospace;">oBtn:<span style="color: #000000;">bClrGrad</span> := <span style="color: #000000;">{</span> |lInvert| <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> lInvert, nARGB<span style... |
BtnBMP | Thanks ! |
BtnBMP Error | Hi,
I'm getting the error below at a customers site:
Application
===========
Path and name: S:\winiws5\Allocinv.EXE (32 bits)
Size: 2,813,952 bytes
Time from start: 0 hours 0 mins 11 secs
Error occurred at: 06/12/2007, 09:24:36
Error description: Error BASE/1068 Argument error: array access
Args:
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.