topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Combobox problem | Pier,
Thats because the pushbutton is a default pushbutton and traps the Enter key |
Combobox problem | Peir,
>Thats because the pushbutton is a default pushbutton and traps the Enter key.
And this is standard Windows behavior. In the old DOS apps you could use Enter to select an item in a combo, but it is not advisable to do this with a windows app, since users will not be expecting it to work that way.
James |
Combobox problem | Now I understand.
Thanks.
Pier Luigi |
Combobox scroll (function PopupBrowse()) | [quote="Jack":3hvtmky7]What is this ACTION on a GET ?
I use VALID but never ACTION .
When is it execute ?
Thanks[/quote:3hvtmky7]
Puedes usarlo con el VALID o ACTION, un pequeño boton que se crea a la derecha del GET y se ejecuta al hacer click alli, saludos...
@ x, y GET oGet VAR cVar.... ;
ACTION PopupBrowse( aVal... |
Combobox scroll (function PopupBrowse()) | Good morning
I have a combobox redefined from resource, dropdown list.
I need a horizontal scroll on this combobox in addition to the normal vertical scroll.
I have tried cbs-autohscroll style but without success, same with WS_HSCROLL .
Anyone has an idea on what style can display the horizontal scrollbar ?
Thank... |
Combobox scroll (function PopupBrowse()) | Richard,
Have you considered to use a GET and a XBrowse together ?
Here you have a function PopupBrowse() that behaves quite similar to a combobox, but you have all the xbrowse possibilities:
[code=fw:62niijfy]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> Pop... |
Combobox scroll (function PopupBrowse()) | What is this ACTION on a GET ?
I use VALID but never ACTION .
When is it execute ?
Thanks |
Combobox scroll (function PopupBrowse()) | Antonio
Thanks
I will try and let you know,
Regards
Richard |
Combobox scroll (function PopupBrowse()) | Antonio, he probado tu solución y tengo el siguiente problema, cuando abro el combo y hago foco en otro control con el ratón, este no se cierra. Tampoco si presiono el ratón sobre la barra de título del dialogo que contiene el combo. Habrá alguna solución para esto ? Muchísimas gracias.
Saludos |
Combobox scroll (function PopupBrowse()) | Horacio,
Aqui tienes una versión mejorada:
[code=fw:334cly65]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> PopupBrowse<span style="color: #000000;">(</span> aValue, oGet, bInit <span style="color: #000000;">)</span><br /><br /> <span style=... |
Combobox scroll (function PopupBrowse()) | Antonio, gracias por tu respuesta. He probado esta nueva versión. Ahora si cierra el combo si pico con el ratón en otro control. Solo faltaría que si muevo el dialogo que contiene el combo, este se cierre. Muchísimas gracias.
Saludos |
Combobox scroll (function PopupBrowse()) | Horacio,
Prueba esta versión mejorada, gracias
[code=fw:1vkbtbkb]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> PopupBrowse<span style="color: #000000;">(</span> aValue, oGet, bInit <span style="color: #000000;">)</span><br /><br /> <span st... |
Combobox scroll (function PopupBrowse()) | Antonio, no funciona bien. Si muevo el ratón fuera del combo este se cierra. Tampoco trabaja la rueda del ratón cuando el mismo está abierto. La linea que hace fallar es
[code=fw:khuul3rn]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> oGet:<span style="color: #000000;">oWnd</span>... |
Combobox scroll (function PopupBrowse()) | Horacio,
Prueba a cambiar esa línea por esta:
oGet:oWnd:bMoved = { || oGet:Cargo := nil, oDlg:End() } |
Combobox scroll (function PopupBrowse()) | Hello
Try with this code
A greeting
[code=fw:pb8mcpbg]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> main<span style="color: #000000;">(</s... |
Combobox scroll (function PopupBrowse()) | function PopupBrowse() has been included in next FWH 15.11 |
Combobox scroll (function PopupBrowse()) | Antonio,
can you make a small sample to call popbrowse function please ? |
Combobox scroll (function PopupBrowse()) | Silvio,
REDEFINE GET oGet VAR ... ;
ID ... OF oDlg ACTION PopupBrowse( aValues, oGet, bInit )
aValues can be an array or a recordset |
Combobox scroll (function PopupBrowse()) | Antonio, he probado con oGet:oWnd:bMoved = { || oGet:Cargo := nil, oDlg:End() } tal cual me sugeriste, si bien cierra el combo al picar sobre la barra de título no funciona al seleccionar con el ratón y deja de funcionar la rueda del mismo. Adjunto un ejemplo autocontenido
[code=fw:1mrkgazc]<div class="fw" id="{CB}" s... |
Combobox scroll (function PopupBrowse()) | Horacio,
Gracias por tus pruebas. Esta versión parece funcionar bien:
[code=fw:afphvw9h]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> PopupBrowse<span style="color: #000000;">(</span> aValue, oGet, bInit <span style="color: #000000;">)</span><br /><br ... |
Combobox scroll (function PopupBrowse()) | Antonio, ahora funciona bien. Solo quedaría un detalle, me gustaría poder abrir el combo mediante el teclado tal cual lo hace el combo ordinario presionando F4. El problema que se presenta es que si bien en el get configuro la tecla para que esto suceda, el xbrowse no llega a tener foco y no puedo seleccionar, salvo qu... |
Combobox scroll (function PopupBrowse()) | Horacio,
Cambia esta línea asi:
oGet[ 1 ] : bKeyDown := { | nKey | If( nKey == VK_F4, PopupBrowse( { 'UNO', 'DOS', 'TRES' }, oGet[ 1 ], { | [b:3nstz1ja]oBrw[/b:3nstz1ja] | [b:3nstz1ja]oBrw:SetFocus()[/b:3nstz1ja], .t. } ), ) } |
Combobox scroll (function PopupBrowse()) | Antonio, ahora hace foco en el xBrowse. pero al querer abrir nuevamente el combo la tecla ya no responde. Eliminé la siguiente linea.
[code=fw:8dxqeq47]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oGet : <span style="color: #000000;">bKeyDown</span> := <span style="color: #000000;">{</span> | n... |
Combobox setminvisible | Hola foro,
Parece algo facil pero no doy..
Quiero que el combobox despliegue 3 valores, en los dialogos en el on init hago ocbx:setminvisible(3) y me funciona bien, perooo
en una window, en un panel de una explorer bar tengo un combobox quiero aplicar eso mismo, pero no encuentro como hacerlo
oPanel := ::oExBa... |
Combobox setminvisible | alguna pista ? <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
gracias |
Combobox with Image : ""find"" ? | hi,
when have Image in Combobox it will not "jump" to "Key-press"
i guess it have to do with Image on left Side "before" Item Text
is there a Workaround to "find" Item in a Combobox with Image ? |
Combobox with Image : ""find"" ? | hi
have found out that it need to set
[code=fw:1eqnwd52]<div class="fw" id="{CB}" style="font-family: monospace;">oCombo:<span style="color: #000000;">lIncSearch</span> := .T.</div>[/code:1eqnwd52]
now when type 1st Sign it will "jump" to Item |
Combobox with bitmaps | I've searched all over for this, and of course I've experimented without success.
I want to have a combobox where the dropdown includes a bitmap for each line.
The docs say to create an array of items, and an array of bitmaps ( which do reside in the RESOURCES file ). I've done that. It then seems to say the bitmap... |
Combobox with bitmaps | Hello Tim,
[img:100clx47]http://www.pflegeplus.com/pictures/combo10.jpg[/img:100clx47]
Samples : [color=#FF0000:100clx47]Ownerdra.prg[/color:100clx47]
( Bitmaps from Disk and resource )
REDEFINE COMBOBOX oCbx1 VAR cItem2 ;
ID 120 OF oDlg ;
ITEMS { "Drive A:", "Drive C:", "Ram Drive", "Net Drive" } ... |
Combobox with bitmaps | How do you have the control in the .rc file ?
I am using:
REDEFINE COMBOBOX oCB2 VAR cAptClr ;
ID 4065 OF oCalDlg ;
ITEMS { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" } ;
BITMAPS { "CJ01","CJ02", "CJ03", "CJ04", "CJ05", "CJ06", "CJ07", ;
"CJ08","CJ09", "CJ10" } ;
MESSAGE ... |
Combobox with bitmaps | This is the rc file used in the above sample
\fwh\samples\ownerdra.rc
[code=fw:z9lkokoc]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"..<span style="color: #000000;">\i</span>nclude<span style="color: #000000;">\W</span>inApi.ch"</... |
Combobox with bitmaps | I think the issue is with my bitmaps. I will work with them today. Initially I had 10x10 and they didn't display. Then I tried 16x16 but I wanted them larger so I went to 16 x 32 ( wide ) and they didn't work. I did get a 16x16 to display. The space is being provided for them.
Thanks |
Combobox with bitmaps | Tim,
my Tests using 16x16, 24x24 and 24x32
It seems, only 16 x 16 is possible.
I changed the Font, to force the Rowheight to be bigger,
but the Bmp is resized as well.
Maybe it is possible, to delete BMP-resizing ( keeping the original BMP-Size ? )
I think to adjust the Row-height to the BMP ( in case BMP-height >= F... |
Combobox with bitmaps | I had tried 8 bit and even they didn't work. It would appear 16x16 Alpha does work, so I'm resetting them to that and hopefully this will be done. I use Axialis for my icons and bitmaps so it really is very easy to make changes.
Thanks.
Tim |
Combobox with bitmaps | Tim,
I tested many graphic-tools and ended on this one :
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=15008&p=77576&hilit=pixelformer#p77576">viewtopic.php?f=3&t=15008&p=77576&hilit=pixelformer#p77576</a><!-- l -->
Best regards
Uwe <!-- s:lol: --><img src="{SMILIES_... |
Combobox with bitmaps | Hi al,
I found an error using a combox with bitmaps on a folder. The height of the combo is not correctly calculated, if you use it on a folder. Inside a dialog it´s ok. See the picture.
[code=fw:3qac0090]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #B900B9;">// test combobox with b... |
Combobox with bitmaps | Stefan,
Yes, I think it is the used [color=#FF0000:11f54l6w]BMP-size > 16 x 16[/color:11f54l6w]
In Your Sample I added 16 x 16 BMP's.
Inside the Folder the Height is not adjusted.
I tested using a BMP 24x24
Tested with TFolderEx
[img:11f54l6w]http://www.pflegeplus.com/pictures/comb3.jpg[/img:11f54l6... |
Combobox with bitmaps | Uwe,
yes, it is the bmp-size, but 24x24 bitmaps are working on a normal dialog and it´s not working on a folder dialog, but it should.
I looked over the source of combobox but I didn´t find anything wrong
Antonio, could you check it, please
many thanks |
Combobox with bitmaps | Stefan,
Fixed. Some changes are required:
1. source\winapi\dlogbox.c: changes this way:
Added this new code
[code=fw:114qa5hr]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">static</span> UINT itemHeight = <span style="color: #000000;">0</span>;<br /><br /><span style="color: ... |
Combobox with bitmaps | Antonio,
many thanks for your quick response <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
It´s working perfectly now. |
Combobox with multidimensional array | Hi all,
I have a multidimensional array like this:
aArray:={}
aadd(aArray,{"01","Marc","Italy"})
aadd(aArray,{"02","Alvise","Switzerland"})
aadd(aArray,{"04","Romeo","France"})
and I would like to open a combobox only for the 2nd element (Marc,Alvise, Romeo) without create a temporary on element array.
Any ideas ?
... |
Combobox with multidimensional array | Marco,
Comboboxes will only handle a single dimensional array, so I think you will have to create a temporary array for this.
Regards,
James |
Combobox y Select | Hola amigos:
Tengo un diálogo con dos Combobox, cuando selecciono una opción en el primer combobox,
debo cambiar el vector que muestra los datos y referescarlo y pararme en el segundo
combo en una posición variable.
La actualización del vector, la hago con ésta función:
[color=#0040BF:4w7g4mh0]oCom2:SetItems(ArrTran... |
Combobox y Select | Nada?.... |
Combobox y Select | Tiens un ejemplo simples? Gracias, saludos. |
Combobox y Select | Voy a ver si lo preparo, no es simple de hacer. Lo armo y lo subo...
Gracias Joao! |
Combobox y Select | Hola
creo que es un error conceptual mio...
cuando hago:
REDEFINE COMBOBOX oCom VAR cItems PROMPTS´{"Juan","Pedro","Mateo"} ID 101 OF oDlg
siempre le doy el valor numèrico donque quiero que se pare el COMBO, por ejemplo:
cItem:=2 si quiero que se pare en Pedro
pero en realidad, debo asignaar de èsta manera cie... |
Combobox y Select | Hola,
prueba con
[code=fw:17rgqngo]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />oCombo2:<span style="color: #0000ff;">Select</span><span style="color: #000000;">(</span> <span style="color: #000000;">3</span> <span style="color: #000000;">)</span><br /><br /><br /> </div>[/code:1... |
Combobox y búsqueda incremental | Colegas, tengo definido un combobox con estilo CBS_DROPDOWN y búsqueda incremetal. Cuando recorro los items se ejecuta una acción pero cuando hago la búsqueda la acción no se ejecuta. Este es el código.
[code=fw:305hxh7f]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#inc... |
Combobox y búsqueda incremental | Mira se ayuda:
[url:2n3ehaal]http://forums.fivetechsupport.com/viewtopic.php?f=6&t=34807[/url:2n3ehaal]
Saludos. |
Combobox y búsqueda incremental | Gracias Joao por responder, la búsqueda funciona, lo que no funciona es el bChange que no se ejecuta cuando hago la búsqueda, sí cuando recorro los items con el teclado o ratón. Compila el ejemplo que postee y prueba.
Saludos |
Combobox y búsqueda incremental | [code=fw:3k9xgf96]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</sp... |
Combobox y búsqueda incremental | [code=fw:1395cxn0]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">Static</span> aItems <br /><br /><span style="color: #B900B9;">//------------------------------------... |
Combobox y búsqueda incremental | Joao, con tu código tampoco funciona. Ingresa la letra "U", aparecerá "UNO" en el get del combobox pero no se ejecuta muestrame( oCbx, oDlg )
Saludos |
Combobox y búsqueda incremental | Horácio, cambia asi:
[code=fw:1eh44vcq]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> @ <span style="color: #000000;">10</span>, <span style="color: #000000;">10</span> <span style="color: #0000ff;">ComboBox</span> oCbx <span style="color: #0000ff;">Var</span> cVar <span style="col... |
Combobox y búsqueda incremental | Joao, he seguido tu sugerencia pero no logro hacerlo funcionar. Será la versión de FWH que utilizo ? Uso FWH 17.01. Gracias de todas maneras
Saludos |
Combobox y búsqueda incremental | Horácio cuando pulso el mouse, el on change funciona bién,
[img:3gy851yi]https://i.imgur.com/AyL5htE.png[/img:3gy851yi]
[code=fw:3gy851yi]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /... |
Combobox y búsqueda incremental | bChange trabaja si recorres los items con el mouse o con el teclado pero no funciona si lo haces con la búsqueda incremental, en ese caso bChange no se ejecuta. Fijate que si pulsas la "U" en el get del combobox aparecerá "UNO" pero el msgbox no se ejecuta. Confirmame si lo que digo es cierto. Gracias
Saludos |
Combobox y búsqueda incremental | Horacio, mira se asi ayuda:
[code=fw:10qp4hgl]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><span styl... |
Combobox y búsqueda incremental | Muchas gracias Joao por tu tiempo. En tu ejemplo una vez hecha la búsqueda incremental tengo que digitar una tecla ( VK_RETURN ) para que se ejecute el bChange, sin dudas sería una posible solución pero el comportamiento correcto sería que una vez que ingrese, por ejemplo el caracter "L" me aparezca "Lunes" y se ejecut... |
Combobox y enter no funciona | Antonio.
la clase combobox cuando su tipo es DROPDOWN no esta permitiendo que la presionar ENTER salgamos del control y saltemos al siguiente, si no que se queda sin hacer nada, hay que presionar TAB para que salte al siguiente control.
lo puedes verificar ejecutando fivedbu, y seleccionas la opcion buscar.
salu2
car... |
Combobox y enter no funciona | Carlos,
Ese es en realidad el comportamiento por defecto de Windows: que saltemos de un control a otro usando Tab.
Entiendo que para los programas de gestión es importante poder usar enter pues asi no hay que usar la mano izquierda y todo se puede hacer con una mano.
Has revisado la Clase TComboBox para ver si proce... |
Combobox y enter no funciona | Lo revisare hoy noche, por que ademas note que no esta evaluando bien el valid, te comentare como me fue
espero que no este dificil la cosa <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
tengo entendido que la clase combobox cuando es de este tipo especifico, tiene un con... |
Combobox y enter no funciona | Antonio, con este código en tget, metodo Keychar ya funciona el salto con en enter en combobox, estilo CBS_DROPDOWN
[code=fw:2upvhz3f]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00C800;">case</span> nKey == VK_TAB .or. nKey == VK_RETURN<br /> <span style="color... |
Combobox y enter no funciona | Antonio, no he sido capaz de encontrar el error de por que el combobox como lista no evalúa correctamente el valid,
he revisado la clase tcombobox, tget sin resultado positivo, ahora he encontrado otro error, cuando el combobox es una lista y esta abierta y presionas escape,
la lista se cierra, pero el valor de la var... |
Combobox y enter no funciona | Carlos,
Mucha gracias por el tiempo y esfuerzo que has pasado investigándolo. A esto se llama ayudar de verdad <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
El Get del combobox no evalua su valid porque su contenedor no tiene más hijos (controles). Asi que hace unos dia... |
Combobox y teclas VK_UP VK_DOWN | Amigos del foro:
Hay alguna manera de evitar que se dispare el bChange del combobox cuando se usan las teclas UP, DOWN?
Lo que quiero hacer es utilizar estas teclas solo para recorrer los items del combobox, y que este ejecute el code bChange hasta que se oprime la tecla ENTER.
¿Como hacer esto?
Saludos.
[url=http&#... |
Combobox y teclas VK_UP VK_DOWN | Francisco, no se si se pueda inhabilitar, pero una solucion seria que lo mandes a una funcion o procedures vacia, es decir que solo retorne, aunque crei que la bchange se activaba si uno lo programaba en las clausulas del combobox, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="... |
Combobox y teclas VK_UP VK_DOWN | Hola José Luis, gracias por contestar.
En efecto, ya he probado con los codeblock bKeyChar y bKeyDown sin ningún resultado. Ahorita mismo estoy estudiando la class combobox a ver si encuentro como hacerlo.
Lo que pasa es que un usuario acostumbra usar 100% el mouse, y si ves la imagen anterior, este usuario despues de... |
Combobox y teclas VK_UP VK_DOWN | Francisco,
Prueba a no usar ON CHANGE y define el codeblock oCombobox:bCloseUp |
Combobox y teclas VK_UP VK_DOWN | Antonio.
Muchas gracias. Voy a probarlo esta noche.
Saludos. |
Combobox y teclas VK_UP VK_DOWN | Antonio,
Gracias nuevamente. Funciona. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Saludos. |
Combobox tipo de letra y ancho | Saludos.
he intentado hacer varias cosas para cambiar el aspecto del combobox sin solucion alguna.
Esta modificacion es cambiarle la fuente o letra al combo y su ancho, que estos sean el mismo ancho que uso en los gets y la misma fuente del get.
Alguien que pueda ayudarle o lo haya echo ya.
Gracias. |
Combobox tipo de letra y ancho | [code=fw:3esziisf]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#define</span> __CLRLBOX nRGB<span style="color: #000000;">(</span><span style="color: #000000;">255</span>,<span style="color: #000000;">200</span>, <span style="color: #000000;">83</span><span... |
Combobox: How to color items | Is it possibile to color each item of a Combobox with a different color?
King Regards
Marco |
Combobox: How to color items | Marco,
Please review FWH\samples\ownerdra.prg |
Combobox: How to color items | VeryGood <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
Combobox: How to color items | Antonio,
not all bitmaps are correctly displayed
I open yellow.bmp using Paint I draw another color using brush and save
But I cannot see correctly the bitmap |
Combobox: How to color items | This is bmp file modified
[img:341zsjx1]http://www.marcoboschi.it/public/rosso.bmp[/img:341zsjx1]
This is one of correct bitmaps
[img:341zsjx1]http://www.marcoboschi.it/public/giallo.bmp[/img:341zsjx1] |
Combobox: How to color items | Run ok for me
[img:2jmu4o3e]https://s18.postimg.org/5xu5awdll/owner.png[/img:2jmu4o3e] |
Combobox: How to color items | Hello Christobal,
Could you share the code for the combo with the colors insite ? |
Combobox: How to color items | [quote="Marc Venken":11ghegu8]Hello Christobal,
Could you share the code for the combo with the colors insite ?[/quote:11ghegu8]
Look post of Antonio
[quote="Antonio Linares":11ghegu8]Marco,
Please review FWH\samples\ownerdra.prg[/quote:11ghegu8] |
Combobox: How to color items | Cristobal,
if you download this bmp file <!-- m --><a class="postlink" href="http://www.marcoboschi.it/public/rosso.bmp">http://www.marcoboschi.it/public/rosso.bmp</a><!-- m -->
and subsititute one of bmp files you can see that there is a problem
You cannot see the bitmap rosso.bmp
The question is: these bmp file... |
Combobox: How to color items | Ah!, ok, I will try
Send me your image original |
Combobox: How to color items | A test
[img:2gab2rj5]http://www.pflegeplus.com/DOWNLOADS/Combo1.jpg[/img:2gab2rj5]
[img:2gab2rj5]http://www.pflegeplus.com/DOWNLOADS/sRosso.bmp[/img:2gab2rj5]
[img:2gab2rj5]http://www.pflegeplus.com/DOWNLOADS/sRed.bmp[/img:2gab2rj5]
[img:2gab2rj5]http://www.pf... |
Combobox: How to color items | The bitmaps are drawn, treating the color at pixel 0,0 as transparent. In the case of rosso.bmp, color at (0,0) is same as the entire body of the bitmap, so the entire bitmap is treated as transparent.
Please choose a bitmap where the color at (0,0) is different from the rest of the bitmap |
Combobox: How to color items | Rao,
the left upper corner is different in color
to show a black frame
[img:ch49wv0f]http://www.pflegeplus.com/DOWNLOADS/Combo2.jpg[/img:ch49wv0f]
regards
Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
Combobox: How to color items | Uwe
I am referring to the bitmap downloaded from <!-- m --><a class="postlink" href="http://www.marcoboschi.it/public/rosso.bmp">http://www.marcoboschi.it/public/rosso.bmp</a><!-- m -->, not the bmps you are using.
Yes. Because in your bitmaps 0,0 color is different from the rest of the colors, the painting is ok. |
Combobox: How to color items | [b:3cxwyb2l]Dear coders, thank you so much[/b:3cxwyb2l] |
Combobox: How to color items | [quote="ukoenig":1f0xgecn]Rao,
the left upper corner is different in color
to show a black frame
[img:1f0xgecn]http://www.pflegeplus.com/DOWNLOADS/Combo2.jpg[/img:1f0xgecn]
regards
Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->[/quote:1f0xgecn]
... |
Combobox: How to color items | Mr. Rao,
thank You very much
The solutionn makes painting of these image-types easy <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
I'm always intere... |
Combobox: How to color items | Mr. Rao,
I'm creating a [color=#0000FF:2zg86vr5]BMP-painter[/color:2zg86vr5] for this special kind of images using Your function.
With my first tests it works great <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
We can do a visual design of styles, colors and size
T... |
Combobox: How to color items | [quote="ukoenig":3nof5l58]A test
[img:3nof5l58]http://www.pflegeplus.com/DOWNLOADS/Combo1.jpg[/img:3nof5l58]
[img:3nof5l58]http://www.pflegeplus.com/DOWNLOADS/sRosso.bmp[/img:3nof5l58]
[img:3nof5l58]http://www.pflegeplus.com/DOWNLOADS/sRed.bmp[/img:3nof5l58]
[img:3nof... |
Comboboxes with Wbrowse of Hernán | Hi to Everybody,
Thanks for your help, because of it, I am working with Wbrowse of Hernán and with comboboxes in cells <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> , But they don´t look very well <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title... |
Comboboxes with Wbrowse of Hernán | there was an old class to use with twbrowse : I must found it on my cds
wait... |
Comboboxes with Wbrowse of Hernán | [quote="jose_murugosa":nzw5pm3w]Hi to Everybody,
Does somebody repair this unperfection?
If somebody has a solution, please, I will apreciate it <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> .
[/quote:nzw5pm3w]
Hi Jose !
The solution is in twbrowse.prg . P... |
Comboboxes with Wbrowse of Hernán | Rimantas,
I already tried to change height and width in both comboboxes (for arrays and for logical vars) without good results, If you resolve this problem could you please send me a copy of your wbrowse.prg so I can see how you did this changes.
My e-mail is <!-- e --><a href="mailto:jmurugosa@hotmail.com">jmurugosa... |
Combometro | Hello Antonio,
is it possible to have Combometro with style DropDown.
That user can either enter a text or just select an item from the list.
Thank in advance
Otto |
Combometro | Yes. |
Combometro | Dear Mr. rao,
would you be so kind to post an example.
Thanks in advance
Otto |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.