topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Browse edit of cell with brush | Looks like if I put [code=fw:eatfl8zs]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">lFullPaint</span> := .T.</div>[/code:eatfl8zs] resolves the issue |
Browse edit of cell with brush | [quote="AntoninoP":56rzi0uf]Looks like if I put [code=fw:56rzi0uf]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">lFullPaint</span> := .T.</div>[/code:56rzi0uf] resolves the issue[/quote:56rzi0uf]
Asi?
[code=fw:56rzi0uf]<div class="fw" id="{CB}" style="font-family: monospa... |
Browse edit of cell with brush | [quote:238rlbci]On my program I have a XBrowse with fast edit and brush. My problem is when I edit last visible row and go down to end the edit the scrolling does not update well:[/quote:238rlbci]
Here is the real bug. This has nothing to do with colors or brushes.
Bug:
When the user edits a cell in the last row and t... |
Browse edit of cell with brush | [quote:eygb1j5b]using 18.01 my PC create an executable of 3.686.400 bytes for this sample, how big is with new version? (the size is main reason why we don't update so long)
[/quote:eygb1j5b]
4.8 MB |
Browse edit of cell with brush | [quote="nageswaragunupudi":3autfqr0]
This bug remains even till today.
We will work on suitable fix and get back.
Till then, please depend on oBrw:lFullRefresh := .t., though this slows down the browse painting[/quote:3autfqr0]
Mr. Rao,
[quote:3autfqr0]
oBrw:lFullRefresh := .t. // I do not know this DATA
[/quo... |
Browse edit of cell with brush | Extremely sorry.
lFullPaint is the correct name.
I edited and corrected this mistake
Thanks |
Browse no muestra registros (SOLUCIONADO) | Estimados
Estoy trabajando con 2 PRG, uno MAIN donde coloco el siguiente codigo
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oBar, oBtn
Set DATE TO FRENCH
SET CENTURY ON
Set EPOCH TO 2000
SET DELETED OFF
SET _3DLOOK ON
REQUEST DBFCDX
RddSetDefault("DBFCDX")
Y en el otro trato de abrir u... |
Browse no muestra registros (SOLUCIONADO) | Hola, la variable cAlias trae valor NIL.
Intenta asi:
IF SELECT("BANCO")=0
DBUSEAREA(.T.,cVia,UBI+"BANCO","BANCO",.T.)
[color=#00BF00:lo3uvrx1]cAlias:=Alias()[/color:lo3uvrx1]
ENDIF |
Browse no muestra registros (SOLUCIONADO) | Fracisco,
No funciono. Siguen sin aparecer los registros |
Browse no muestra registros (SOLUCIONADO) | Parece que te falta establecer los indices, porque cerraste y re-abriste la dbf BANCO:
[color=#BF0040:1h83z08n]IF SELECT("BANCO")=0
DBUSEAREA(.T.,cVia,UBI+"BANCO","BANCO",.T.)
DBSETINDEX(cIndice1........) ; DBSETINDEX(cIndice2........)
ENDIF
cAlias:=Alias()
[/color:1h83z08n]
BANCO->(ORDSETFOCUS(1)) |
Browse no muestra registros (SOLUCIONADO) | Agregando indices o no, igual no muestra los registros de la DBF |
Browse no muestra registros (SOLUCIONADO) | ¿Ya intentaste poner en el ON INIT (oBrw:cAlias)->(dbgotop()), oBrw:Refresh() ?
Fijate que el cAlias:=Alias() lo saqué del If..endif |
Browse no muestra registros (SOLUCIONADO) | Tampoco hizo nada amigo |
Browse no muestra registros (SOLUCIONADO) | Hola, te hice este ejemplo, basado en tu codigo, y funciona (probado) (compilado con FWH712)
#include "fivewin.ch"
#include "xbrowse.ch"
MEMVAR oWndPrinc
//------------------
FUNCTION MAIN()
DEFINE WINDOW oWndPrinc MDI
ACTIVATE WINDOW oWndPrinc ;
ON INIT BANCOS()
oWndPrinc:End()
RETURN NIL
//---------------... |
Browse no muestra registros (SOLUCIONADO) | Funciona chevere en un solo PRG. De hecho tengo un programa asi.
El problema se me esta presentando al tener 2 PRG (Main y Banco, en este ultimo es donde esta el browse)
Trata de hacer el ejemplo que me enviastes en 2 prg a ver si tienes el mismo comportamiento que a mi |
Browse no muestra registros (SOLUCIONADO) | Compuin:
Puedes hacerlo en 2 prgs. (dos ficheros de texto)
Ejemplo:
Los DEFINE y la funcion Main() incluyelos en el primer fichero y le agregas al final: (despues del return) #INCLUDE "Miprg2.prg"
La Funcion Bancos la incluyes en otro fichero, en este caso MiPrg2, compilas y listo.
A cada fichero le das el nombre que... |
Browse no muestra registros (SOLUCIONADO) | Eso ya lo hice, y desde alli se presenta el problema de no ver los registros.
Solo te hice el planteamiento para que recrearas el escenario y vieras el error con 2 prgs porque en 1 solo no presenta ningun error |
Browse no muestra registros (SOLUCIONADO) | Saludos...
algun ejemplo que podamos probar con una dbf real??? para poder reproducir el error... |
Browse no muestra registros (SOLUCIONADO) | Saludos Daniel,
El ejemplo es el que esta al comienzo del post. Son 2 PRG. |
Browse no muestra registros (SOLUCIONADO) | Hola
[quote="Daniel Garcia-Gil":16i93ebt]Saludos...
algun ejemplo que podamos probar con una dbf real??? para poder reproducir el error...[/quote:16i93ebt]
Repito la solicitud
En el primer post no veo donde esta la creacion de la dbf a usar o un link de descarga de la misma
No veo donde termina la funcion main
Cuan... |
Browse no muestra registros (SOLUCIONADO) | Ok aca los 2 PRG
////////// 1er PRG ////////////////////////
[code=fw:1v6byizs]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br />MEMVAR oWndPrinc<br /><br /><span style="color: #00C800;">FUNCTION</span> ... |
Browse no muestra registros (SOLUCIONADO) | Debes agregarle los registros con DBU porque el 2do PRG no tiene inclusion de registros y crea la DBF vacia
Atento a tus comentarios |
Browse no muestra registros (SOLUCIONADO) | Saludos
he probado el ejemplo a mi me funciona....
modifique el ejemplo para que se vea la version que estoy utilizando y añada automaticamente registros
teniendo la informacion necesaria es mas facil para ayudar...
prg1
[code=fw:3d6qloiw]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="... |
Browse no muestra registros (SOLUCIONADO) | Estimados,
Estuve revissando y al compilar con Verce, no estaba apuntando al DBF con datos, esa era la razon de no verlos.
Gracias a Daniel por la orientacion |
Browse via internet and repaint | Hello!
I'm testing an app that works on the internet via AIS and I'm trying to optimize it ... I would like know if there is a way to find out whether bSkip codeblock of TWBrowse is executed because of the navigating the browse or just because of the repainting after the window that covered the browse area was closed?... |
Browse via internet and repaint | Skip is executed while repainting also.
If size of AdsCacheRecords(..) is set optimally, the skip is only on records cached by the client |
Browse via internet and repaint | Hello!
[quote="nageswaragunupudi":vmb15j09]Skip is executed while repainting also.
If size of AdsCacheRecords(..) is set optimally, the skip is only on records cached by the client[/quote:vmb15j09]
Thanks. I set it to AdsCacheRecords(80), but I've also reviewed the code and noticed that I made a lot of neccessary cal... |
Browse via internet and repaint | Roman, i have this problem too.. can you share your experience? you change only adscacherecords? thanks |
Browse via internet and repaint | Hello!
[quote="norberto":hpi86lsc]
[quote:hpi86lsc]I set it to AdsCacheRecords(80), but I've also reviewed the code and noticed that I made a lot of neccessary calls[/quote:hpi86lsc]
i have this problem too.. can you share your experience? you change only adscacherecords? thanks
[/quote:hpi86lsc]
I'm sorry that I wa... |
Browse via internet and repaint | you can open the same table with different alias for each Browse in each MDI. This works well. Each browse can be navigated independently and the server optimizes performance well when same table is opened with different aliases. |
Browse with lCellStyle and Setcolor | Hello Antonio
There are problem with SetColor and lCellStyle , the row focused is
always black and white
Maurizio
#include "FWCE.ch"
REQUEST DBFCDX
//----------------------------------------------------------------------------//
function Main()
local oWnd, oBrw, hBmp := ReadBitmap( CurDir() + "\go.bmp" )
... |
Browse with lCellStyle and Setcolor | Maurizio,
Fixed. In a few minutes a new FWPPC build will be available for download. Thanks for your feedback, |
Browse() sale en ingles como lo pongo en español?? | HOLA <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Pienso usar para una base de datos muy chiquita el browse() que ya sale con botonsitos etc. pero me sale en ingles que ahi que hacer <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question... |
Browse() sale en ingles como lo pongo en español?? | Prueba con #define SPANISH antes del include Fivewin.ch |
Browse() sale en ingles como lo pongo en español?? | \fwh\source\function\browse.prg |
Browse() sale en ingles como lo pongo en español?? | Gracias <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> ya quedo en español tenquius <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> SaludosAida <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="... |
Browser for FW sample folder | [url:3p5n9gu2]http://www.atzwanger-software.com/fw/SamplesPreview.zip[/url:3p5n9gu2]
I have made a handy tool to browse the Fivewin samples which I want share.
Maybe you like it. At the moment I have about 260 screenshots. But I saw that there are more than 700 sample-prgs.
But I will continue.
1) Un... |
Browser for FW sample folder | OTTO:
Great idea. Years ago fw192 had a program that compiled samples and work great.
I'm having a problem. unziped all in c:\fwh\samples.
executed the snipk.exe the dialog opens. None of the button bmps appear.
Try to run a file and I get on most msg File not found. Only works on one or 2 files.
What am I doing w... |
Browser for FW sample folder | Hello Harvey,
the source code is also included.
Please have a look to:
[code=fw:3corzcmk]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> FILE cPathBMP + <span style="color: #ff0000;">"run.bmp"</span> <span style="c... |
Browser for FW sample folder | Otto:
I'll take a look at the program later today.
Have you had a chance to look at the program you downloaded..re: my product |
Browser for FW sample folder | Hello Harvey,
I will send you an email.
Best regards,
Otto |
Browser for FW sample folder | [url:2j77rt3x]http://www.atzwanger-software.com/fw/SamplesPreview1.zip[/url:2j77rt3x]
I uploaded the next 50 screenshots.
Best regards,
Otto |
Browser for FW sample folder | Mr Otto
This is a very nice program |
Browser for FW sample folder | I uploaded the next 50 screenshots. Now there are 370 screeenshots online.
Best regards,
Otto
[url:7l0lzpwh]http://www.atzwanger-software.com/fw/SamplesPreview2.zip[/url:7l0lzpwh] |
Browser for FW sample folder | I uploaded the next 140 screenshots. Now there are 510 screeenshots online.
Best regards,
Otto
[url:39481mg3]http://www.atzwanger-software.com/fw/SamplesPreview3.zip[/url:39481mg3] |
Browser for FW sample folder | Otto,
thanks for sharing this nice tool. It's very convenient <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
Browser for FW sample folder | Fivewin 9.10
I uploaded the next 160 screenshots. Now there are 660 screeenshots online.
More or less all the samples.
Best regards,
Otto
[url:1ssta7bg]http://www.atzwanger-software.com/fw/SamplesPreview4.zip[/url:1ssta7bg] |
Browser for FW sample folder | Dear Otto:
[quote="Otto":2dydlrhj]I uploaded the next 160 screenshots. Now there are 660 screeenshots online.
More or less all the samples.[/quote:2dydlrhj]
Great work, thanks a lot, I use your code sniper program from the begining.
Best regards. |
Browser for FW sample folder | Hello Manuel,
thank you for your kind words.
Good to know that snipkeeper is of some help for you. I use your great work “TSBUTTON” so much.
May I take the opportunity to ask for your help:
@ 88,697 BITMAP oBmp FILENAME cPathBMP + "snipkeeper.bmp" OF oWnd ;
SIZE 580,300 PIXEL SCROLL ADJUST
I show the scre... |
Browser for FW sample folder | Otto:
Great work ! Kudos ! It would be nice if Antonio provide us with some sort of make utility or batch file to compile all samples. I think this will reduce unnecessary posting. <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) --> |
Browser for FW sample folder | Dear Otto:
[quote="Otto":21b0wkkb]I show the screenshots with the adjust clause. But it would be better only to adjust if the screenshot is larger than the place reserved on the screen to show it.
How could I check for the size and only adjust it necessary?[/quote:21b0wkkb]
The functions to get the sizes of bitmaps are... |
Browser for FW sample folder | To search for a certain sample program you can also use the WINDOWS build in gallery.
Best regards,
Otto
[img:1xriwc47]http://www.atzwanger-software.com/fw/galerie.jpg[/img:1xriwc47] |
Browser icon | Hi,
There is a window handle. This window is a page of a particular web browser. Is it possible to get an icon of this browser ? |
Browses Bug | Mouse Wheel acts on focused browse control even when mouse pointer is not over it's client area.I have fixed that in TSBrowse, here the new MouseWheel method:[code:1y9p8aga]METHOD MouseWheel( nKeys, nDelta, nXPos, nYPos ) CLASS TSBrowse
Local nWParam, ;
aPoint := { nYPos, nXPos }
... |
Browses Bug | Antonio,I see that xBrowse is not using the lines per movement for the mouse wheel that is set in the Windows registry. This would be a nice addition. Browsing a table one line at a time can be very slow and tedious.You can get the needed value like this:[code:24odjf3h] oReg:= Treg32():new( HKEY_C... |
Browses Bug | James ,Very good idea , it is easy to work out , only a few changes are needed.1) What is the normal behaviour when we are at the end or the beginning from the list , now i have:[code:ubhazfiw]
FOR n := 1 TO ::nWheelScrollLines
IF nDelta <= 0
IF EVAL(::bKeyNo) = EVAL(::bKey... |
Browses Bug | Frank,[quote:r8up9tq2]Probably a better aproach is to define a ClassData , which must only receive his value one time
How is this done ? [/quote:r8up9tq2]Just define it as CLASSDATA:classdata nWheelScrollLines Then in the new method:if ::nWheelScrollLines == nil // define it hereendifJames |
Browsing a large recordset | Hi,
I have a question about browsing a large amount of records with ADO.
I have a client that want to browse a table with lot of records.
The problem is that running the query to get the recordset is taking already 3 .5 seconds.
What I can do is setting a LIMIT op 1000 records, and fetching the next 1000 when I get to... |
Browsing a large recordset | XBrowse or some other browse is not the issue.
The second sql statement results in a 2nd recordset different from the 1st recordset.
You can not concatenate both recordsets.
Hope you agree.
Do you plan to replace the 1st record set with 2nd recordset?
While browsing one of the recordsets the user wants to change the... |
Browsing a large recordset | This is for information.
If you are using recent FWH, you can use FWMYSQL RowSet. You can continue to use ADO for most of the application and use FWHMYSQL rowset in one or two cases.
With rowsets it is possible to read a few records initially and readnext records later. Records read later are appended to the rowset an... |
Browsing arrays | Is possible to browse arrays?
Best Regards.
Claudio |
Browsing arrays | Hi Claudio, I'm happy to see you here! This is a working sample:
[code:1iajjjk5]#include "Fwce.ch"
FUNCTION MAIN()
LOCAL oWnd, oBrw
LOCAL aArray := { "Test1", "Test2", "Test3" }
LOCAL nCur := 1
DEFINE WINDOW oWnd;
TITLE "Browsing array"
@ 0, 0 LISTBOX... |
Browsing arrays | [quote="EnricoMaria":1jot5jvb]Hi Claudio, I'm happy to see you here! This is a working sample:
[snip]
EMG[/quote:1jot5jvb]
Thanks, i try immediatly.
I'm here because our frend Andrea convinced me <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> , i'm happy too.
Claudio. |
Browsing arrays | Hi all,
I have a situation where I need to browse an array. The problem is that it can be a one or two dimension array. At the time the array is passed to my function I still don`t know what type of array the function will have to browse and how many columns it includes.
So I want the function to determine this by it... |
Browsing arrays | Gilbert,
as far as i know you can not browse one dimensional arrays.
At least not with TWBrowse and TSBrowse.
One dimension you can list in a normal listbox.
Regards,
Detlef |
Browsing arrays | Hi Detlef,
Sorry to tell you that I have browse array with TWBrowse without any problems in many of my applications so far.
That is not my problem. My real problem is that in the application under developpement I need to browse a 2 dimensions array not knowing how many column I will need. If the array was a fixed str... |
Browsing arrays | Gilbert,
if you need a variable number of columns try this:
[code:1sy7f0to] DEFINE DIALOG oDlg NAME "STATBROWSE" ;
TITLE OemToAnsi( cTitle );
of oWnd
REDEFINE COLUMN BROWSE oBrow ID 40 OF oDlg
oBrow:SetArray( gaStatArr )
oBrow:nFreeze := 1
ADD COLUMN T... |
Browsing arrays | Hi Biel,
At first look it seem like that`s what I was looking for. I will get on it this coming weekend.
Thanks
Gilbert |
Browsing data with images. | Is there a way and/or example of a browse where I can display regular fields AND an image (BMP or JPG) ? Thank you. |
Browsing data with images. | Hello,This weekend, my new tools are finished.Included in the application, is a Project / picture browser.I can show all kind of pictures. Each record shows 2 different pictures.If it is that, you are looking for, i can send you the source by e-mail. This source is not included in the new application, I will put in the... |
Browsing data with images. | Uwe:Thank you for your help. What you suggest seems that it's what I need. Please email me the source. Thank you very much. |
Browsing data with images. | Hello HunterEC,you can download the complete application < BACKGROUND-Tools >Have a look, what i have done there.Maybe something belongs to your problem.RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> |
Browsing empty arrays | The below works as required; however, when aData is an empty array it comes up with 1132 Error, Bound error:array access. This doesn't happen with the 16-bit FW27. Advice would be appreciated as to how this is dealt with using FWH
Thanks
// Browsing a two dimensions array with FiveWin powerfull TWBrowse
#include "... |
Browsing empty arrays | [quote="George Trojan":2u434x06]@ 1, 1 LISTBOX oBrw FIELDS aData[ oBrw:nAt ][ 1 ],;[/quote:2u434x06]
@ 1, 1 LISTBOX oBrw FIELDS IF( EMPTY( aData ), "", aData[ oBrw:nAt ][ 1 ] ),;
And so on.
EMG |
Browsing empty arrays | Thanks for your response. That works in the sample; howevere, it doesn't work in the below:
REDEFINE LISTBOX oBrwOrdr ;
FIELDS aOrder[oBrwOrdr:nAt][1],aOrder[oBrwOrdr:nAt][2],;
aOrder[oBrwOrdr:nAt][3],aOrder[oBrwOrdr:nAt][4],aOrder[oBrwOrdr:nAt][5],aOrder[oBrwOrdr:nAt][6] ;
ID 110 OF o... |
Browsing empty arrays | [quote="George Trojan":1kngukef]FIELDS IIF(!empty(aOrder),(aOrder[oBrwOrdr:nAt][1],aOrder[oBrwOrdr:nAt][2],;
aOrder[oBrwOrdr:nAt][3],aOrder[oBrwOrdr:nAt][4],aOrder[oBrwOrdr:nAt][5],aOrder[oBrwOrdr:nAt][6]),'') ;[/quote:1kngukef]
You have to put an IF() for each browse column:
[code:1kngukef]FIELDS IIF&... |
Browsing empty arrays | Tried
FIELDS IIF(!empty(aOrder),aOrder[oBrwOrdr:nAt][1],''),IIF(!empty(aOrder),aOrder[oBrwOrdr:nAt][2],''),;
IIF(!empty(aOrder),aOrder[oBrwOrdr:nAt][3],''),IIF(!empty(aOrder),aOrder[oBrwOrdr:nAt][4],''),;
IIF(!empty(aOrder),aOrder[oBrwOrdr:nAt][5],''),IIF(!empty(aOrder),aOrder[oBrwOrdr:nAt][6],'') ;... |
Browsing empty arrays | George,
i had the same problem and just added an empty array to the browser if there is no data present.
Something like: aadd(aData, { "", "", "", "" })
Regards,
John. |
Browsing empty arrays | This is a working sample:
[code:11g7m09t]#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd, oBrw
LOCAL aArray := { { "Test1_1", "Test1_2" },;
{ "Test2_1", "Test2_2" },;
{ "Test3_1", "Test3_2" } }
LOCAL n... |
Browsing empty arrays | Thanks John, I was trying to avoid having an element in the array at the beginning. Think I may have a solution, do as you suggest and then:
oAddOrder:bStart:={| |aSize(aOrder,0)}
this avoids the array error and starts the browse with an empty array. I was trying to maintain code compatibility between FW and FWH.... |
Brush & Fondos & Controles | Buenos dias foro, hoy la cosa va de fondos (brush) en diálogos:
Tengo un diálogo (desde recursos con un brush) que tiene 1 folder, el problema está en que la parte superior del folder (donde están las pestañas) tiene un fondo que llega hasta la izquierda, que tapa el brush que tiene el diálogo, ¿cómo puedo solucionarl... |
Brush & Fondos & Controles | Mike,
Puedes poner la imagen en <!-- w --><a class="postlink" href="http://www.imageshack.us">www.imageshack.us</a><!-- w --> y aqui el link para poder verlo ? gracias |
Brush & Fondos & Controles | Creo que lo he hecho correctamente:
Ahi va
[url=http://imageshack.us:28e8gozj][img:28e8gozj]http://img170.imageshack.us/img170/1084/foldersmc5.png[/img:28e8gozj][/url:28e8gozj] |
Brush & Fondos & Controles | Mike,
Te refieres a la banda gris a la derecha de las pestañas ? |
Brush & Fondos & Controles | Exactamente. |
Brush & Fondos & Controles | Has probado a hacer oFolder:SetColor( ..., .... ) ? |
Brush & Fondos & Controles | No lo he probado Antonio <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> , porque no quiero asignarle ningún color, sino que sea transparente, y que lo que se vea sea el brush de fondo del dialogo.
Si eso se puede conseguir con setcolor, ¿cuál sería?.
MUCHAS GRACIAS. |
Brush & Fondos & Controles | Mike,
Transparente no se puede hacer salvo que se hagan cambios internos en la propia clase de Windows en el pintado.
Si el fondo del diálogo es un color, lo que tal vez se pueda hacer es asignarle ese color al folder y ver si cambia el color de esa franja. |
Brush & Fondos & Controles | [quote="Mike Serra":2gog4bnv]Buenos dias foro, hoy la cosa va de fondos (brush) en diálogos:
Tengo un diálogo (desde recursos con un brush) que tiene 1 folder, el problema está en que la parte superior del folder (donde están las pestañas) tiene un fondo que llega hasta la izquierda, que tapa el brush que tiene el diá... |
Brush a xBrowse? | Hola Foreros:
Cómo pongo el BRUSH a un xBrowse?
Saludos |
Brush a xBrowse? | Armando
Look at sample TestXbr3.prg
[code=fw:2zvymgot]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> @ <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">OF</span> ownd <span style="color: #000... |
Brush a xBrowse? | Rick:
Thanks so much, I will
Regards |
Brush en Browse | Tengo un pequeño xbrowse que se dibuja dentro de un folder, no ocupa todo el folder sólo lo redefinido en el recurso "oBrw:CreateFromResource( 120 )"
Este browse, que toma los datos de un array, se actualiza en tiempo de ejecución según una serie de condiciones.
Cada vez que se tiene que actulizar el browse llamo a:
... |
Brush en Browse | Por ahí digo una tontería pero para actualizar el array en un xbrowse la intruccion que yo uso es oBrw : aArrayData := aArray y funciona perfectamente. Salu2 |
Brush en Browse | Horacio,
Además de ::aArrayData := aArray tendrás que refrescar el browse
y dependiendo de las condiones del nuevo array y de como tengas defino el browse (ej. WIN7) tendrás que llamar a Adjust()
Por lo que al final es lo mismo, ya que setarray() y si ya estan difinidas las columnas establece el nuevo array y llama ... |
Brush en Browse | Fer,
yo detecte con el checkres que se queda en memoria la imagen que pongo de fondo en el xbrowse...
y como comentas el 90% de los xbrowse que tengo en el sistema usan imagenes de fondo, asi que pues con el uso continuo los recursos se consumen rapido, voy a probar tu solucion a ver si me funciona, por aqui esta mi po... |
Brush en Browse | 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 |
Brush en Browse | Hola Francisco.
Que version usas?. Yo uso la Ver. 1006 y tengo el mismo problema.
Mi version tiene este codigo en el METHOD DESTROY():
if ::oBrush:hBitmap != 0 .and. ValType( ::oBrush:Cargo ) == 'N' .and. ;
::oBrush:hBrush != ::oBrush:Cargo
// resized brush
DeleteObject( ::oBrush:Cargo )
e... |
Brush en Browse | Francisco,
El cambio que le hice a la Destroy() no es igual a la que usas, prueba a dejarla como la muestro a ver si te funciona.. utilizo la 1103,
prueba a usar:
deleteobject( oFont )
deleteobject( oBrush )
de hecho si es un rollo, revisar que objetos se te quedan en memoria, yo revise nuevamente todo el sistema po... |
Brush en Browse | [quote="fgondi":1971wz1i]Tengo un pequeño xbrowse que se dibuja dentro de un folder, no ocupa todo el folder sólo lo redefinido en el recurso "oBrw:CreateFromResource( 120 )"
Este browse, que toma los datos de un array, se actualiza en tiempo de ejecución según una serie de condiciones.
Cada vez que se tiene que actu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.