topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Combobox bajo fhw7.01 no retorna el indice | Buen día para todos...
laugusto, prueba de esta forma a ver si te funciona:
Replace FI_TPCAB With Alltrim( Str( oTFI_TPCAB:nAt )) |
Combobox bajo fhw7.01 no retorna el indice | Quando você criar a variavel:
aFic[13] := "" aqui ele retorna o campo texto selecionado
agora se fizer assim:
aFic[13] := 0, ela devera lhe trazer o numero da COMBO |
Combobox bajo fhw7.01 no retorna el indice | Buenas Tardes,
Antonio Castro, vou intentar com Replace FI_TPCAB With Alltrim( Str( oTFI_TPCAB:nAt )), no creo que compilar junto com meu projeto el combobox.prg de versiones anteriores sea la solucion;
Ronaldo, eu inicializo aFic[13] := 1, creio que deveria retornar o indice e não o conteudo, isto esta causando err... |
Combobox bajo fhw7.01 no retorna el indice | Luiz Augusto,
Inicializa aFic[13] con 1
aFic[ 13 ] := 1
REDEFINE COMBOBOX ... |
Combobox behaviour | Hi,
Why combobox control (dropdown list) inside a folder dont display doted focus line?
Any tricks?
Thanks in advance.
Wanderson. |
Combobox cSearchKey | Estoy trabajando los combo con busquedas, pero es muy dificl para el usuario ver que cadena de busqueda esta actuando en el control en cada momento.
He intentado representarla con el tooltip, pero no me lo pinta.
Alguna idea? estoy un poco perdido.
Gracias
[code=fw:3ro5rme2]<div class="fw" id="{CB}" style="font-fam... |
Combobox cSearchKey | Hola Manuel,
No lo he probado pero... ¿Y si pones al lado del combo un TSay transparente que muestre el contenido de ::oComboBox:cSearchKey? Habrá que hacerle un update en el onchange del combobox. Además que esté por defecto HIDE pero SHOW cuando el Combobox reciba el foco, y Hide cuando el combo pierda el foco.
En ... |
Combobox cSearchKey | Carlos,
Mi intención era representar la cadena de búsqueda sin necesidad de crear un control fuera, de combobox.
Gracias, por tu ayuda. |
Combobox change events | [code=fw:3r8a6712]<div class="fw" id="{CB}" style="font-family: monospace;">bChange:=oDbCombo:<span style="color: #000000;">bChange</span><br />oDbCombo:<span style="color: #000000;">bChange</span>:=<span style="color: #00C800;">NIL</span><br />oDbCombo:<span style="color: #000000;">SetItems</span><span style="color: #... |
Combobox change events | I'm having a problem controlling the behavior of a combobox change event response.
Every time I update the array of list items, oClaim_Num:SetItems( aClaims ), the change event response is triggered. Is there any way I can restrict the change response to user input only?
Don |
Combobox change events | Regretably that didn't change anything.
Thanks for your help.
Don |
Combobox change events | Don,
If you do this do you hear a beep?
oCombo:bChange:=msgbeep()
oCombo:SetItems(aMyNewArray)
oCombo:bChange:=nil
James |
Combobox change events | Yes. |
Combobox change events | [quote="James Bott":35yrozlw]oCombo:bChange:=msgbeep()[/quote:35yrozlw]
It should be
[code=fw:35yrozlw]<div class="fw" id="{CB}" style="font-family: monospace;">oCombo:<span style="color: #000000;">bChange</span>:=<span style="color: #000000;">{</span> || msgbeep<span style="color: #000000;">(</span><span st... |
Combobox change events | Yes, of course.
Thanks, Enrico. |
Combobox change events | [quote="DonDrew":2wr93wnf]I'm having a problem controlling the behavior of a combobox change event response.
Every time I update the array of list items, oClaim_Num:SetItems( aClaims ), the change event response is triggered. Is there any way I can restrict the change response to user input only?
Don[/quote:2wr93wnf... |
Combobox color | I would find a way to assign a color to a combobox. The following sample only colors the boundaries of the combobox and its popup list:
[code=fw:3la0hkf7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br />... |
Combobox color | Any suggestions? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG |
Combobox color | here run ok
[img:gi14gyhr]http://img17.imageshack.us/img17/8725/emgcombocolor.png[/img:gi14gyhr]
How it should be? |
Combobox color | I forgot to mention that the problem shows up only when the manifest file is linked in. In such situation the combobox is not colored at all (except the dropdown part).
EMG |
Combobox color | Any ideas? I need to color the combobox. It was possible under XP but not under Vista and newer Windows releases.
EMG |
Combobox color | Bump <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Combobox color | Any solution ? |
Combobox color | Enrico,
If you are using themes then you are telling Windows to control the painting.
If you want to control the painting, try to create the combobox from the ON INIT clause of the dialog. |
Combobox color | [quote="Antonio Linares":3kgqxeyd]Enrico,
If you are using themes then you are telling Windows to control the painting.[/quote:3kgqxeyd]
Yes, but why I can change textbox color, even with themes?
EMG |
Combobox color | Enrico,
Because Windows controls that painting and does not allows it. And you have authorized Windows to do it, telling it to use themes <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
When you create a control from the ON INIT clause of ACTIVATE DIALOG, usually themes a... |
Combobox color | Antonio,
[quote="Antonio Linares":1dnszfl5]Enrico,
Because Windows controls that painting and does not allows it. And you have authorized Windows to do it, telling it to use themes <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:1dnszfl5]
Yes, I know. But my quest... |
Combobox color | Enrico,
Because the themes change combobxes but on GETs only change the borders.
Windows themes change the appareance of the combos entirely, but not on the GETs. |
Combobox color | Antonio,
[quote="Antonio Linares":o2ktydjr]Enrico,
Because the themes change combobxes but on GETs only change the borders.
Windows themes change the appareance of the combos entirely, but not on the GETs.[/quote:o2ktydjr]
Understood... <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-... |
Combobox con array de opc. visualizar y array valor a grabar | Existe alguna manera usando un combobox, poderle definir un array de los valores que queremos grabar.
Del estilo
[code:139wbxfa]
REDEFINE COMBOBOX oCbx VAR cVar ITEMS {'Mensual','Semanal','Diaria'} VALUES {'M','S','D'}
[/code:139wbxfa]
Es decir que se grabase el contenido del segundo array.
Miran... |
Combobox con array de opc. visualizar y array valor a grabar | Biel,
Podrías usar SubStr( cVar, 1, 1 ) ó tambien, en el caso de un valor numérico SubStr( oCbx:aItems[ nVar ], 1, 1 ) |
Combobox con array de opc. visualizar y array valor a grabar | Antonio
el problema es que luego al editar la ficha el combo no se posicionaria, porque los string no coinciden, aunque el valor si estaria bien grabado.
De hecho no hace falta hacer substr, ya que si coincide que lo que quiero grabar es la primera poscion, al truncar, ya queda grabada directamente. |
Combobox con array de opc. visualizar y array valor a grabar | Biel,
te mande a tu correo privado una modificacion del DBCOMBO que hace lo que deseas, por lo que entendi.
saludos
Marcelo
[quote="Biel EA6DD":2msr89fd]Antonio
el problema es que luego al editar la ficha el combo no se posicionaria, porque los string no coinciden, aunque el valor si estaria bien grabado.
De hecho... |
Combobox con array de opc. visualizar y array valor a grabar | Hola Marcelo,
no he recibido nada en el correo, te agradeceria nuevo envio a <!-- e --><a href="mailto:bmaimo@piema.info">bmaimo@piema.info</a><!-- e -->
gracaias |
Combobox con array de opc. visualizar y array valor a grabar | Biel.
disculpa la indiscresion, pero cuando te "metas" al mundo SQL el truncado SI será un problema.
La sugerencia que te da Antonio es buena
Nosotros tb tenemos campos de 1 Byte y coincidencias varias para ese caracter.
Saludos |
Combobox con array de opc. visualizar y array valor a grabar | Hola Julio,
gracias por el comentario, no habia caido en el posible problema con SQL, efectivamente es mejor ya programarlo con el SubStr, para evitarse futuros problemas. |
Combobox con array de opc. visualizar y array valor a grabar | Ya tengo el tema resuelto, con la clase dbCombo de fivewin se puede hacer exactamente lo que yo queria.
[code:3vkm40v4]
REDEFINE DBCOMBO oDbf:TipoFra ID 4001 OF oDlg ITEMS {'D','S','M'} PROMPTS {'Diaria','Semanal','Mensual'}
[/code:3vkm40v4]
Gracias a Marcelo que me puso sobre la pista buena, y... |
Combobox con seleccion | Antonio, foro :
Creo recordar ( no estoy muy seguro ) que existe la manera de seleccionar varios items de un combobox, ya busque en los post y nada.
Serias tan amable en confirmar esto ?
Gracias y Saludos |
Combobox con valor logico | Hola foro,
Quiero saber si se puede hacer esto con un combobox que cambio en tiempo de ejecucion...
Dado un valor de una variable, el arreglo para los items del combobox cambia, mi arreglo es mutlidimensional algo asi:
aValor:={{"Uno",.t.},{"Dos",.t.},{"Tres",.f.},{"Cuatro",.f.},{"Cinco",.t.}}
como hago para que en el ... |
Combobox con valor logico | Hola,
lo unico que veo que puedes hacer es utilizar oComboBox:SetItems( aItems )
donde aItems seran los elementos que tu desees se muestre {'Uni','Dos','Cinco'}, esto lo puedes cambiar en tiempo de ejecucion, por lo que el filtrado
lo podras hacer tu y luego pasarlo al combobox
solo es una idea, saludos
Marcelo |
Combobox di un array multidimensionale | Salve a tutti,
è possibile utilizzare per un combobox un elemento di un array Multidimensionale ?
In pratica ho un array tipo:
aArray:={}
aadd(aArray,{1,"Marco"})
aadd(aArray,{2,"Enrico"})
aadd(aArray,{3,"Paolo"})
dove ho un primo elemento numerico e un secondo elemento alfanumerico
Io vorrei visualizzare una combo... |
Combobox di un array multidimensionale | Penso che tu debba creare degli array temporanei unidimensionali appositamente per il combo.
EMG |
Combobox di un array multidimensionale | E' più o meno quello che sto facendo adesso, in pratica mi sono creato una nuova classe "combolist" che crea un nuovo array monodimensionale at runtime.
Volevo giusto sapere se c'è una soluzione utilizzando la classe standard. |
Combobox di un array multidimensionale | // Passi alla combo un array a una sola dimensione
@ 1, 1 COMBOBOX oCombo VAR cVariab ITEMS aMyFunc( aArray, 2 )
// il numero di record lo ricavi così: aArray[ oCombo:nAt , 1 ]
@ 3 , 2 BUTTON oButton ACTION MsgInfo( "Numero di record " + STR( aArray[oCombo:nAt,1],2 ) )
STATIC FUNCTION aMyFunc( aArray, nElem )
LOCAL ... |
Combobox di un array multidimensionale | abbiamo postato praticamente tutti insieme è banale come soluzione non avevo letto Enrico e il tuo secondo post
Ciao |
Combobox di un array multidimensionale | <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> |
Combobox di un array multidimensionale | che fiacca oggi <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? --> |
Combobox di un array multidimensionale | Grazie. |
Combobox doubt | I need a help about combobox.
If a set dropdownlist in resource i cannot see the doted line focus in combobox, if a set dropdown i see the focus inside combo but they turns editable, i have a array with combo elements and dont want allow typing.
Thanks in advance. |
Combobox dropdown style - search | Hello Daniel, hello Frank,
thank you for your help.
Frank, I would prefer staying with combobox for this task.
Daniel, your suggestion is working.
[code=fw:3v8vjqvk]<div class="fw" id="{CB}" style="font-family: monospace;">oCbx:<span style="color: #000000;">bKeyDown</span> = <span style="color: #000000;">{</span... |
Combobox dropdown style - search | Hi Otto,
I found this code snippet in my archiv, maybe it helps.
[code=FW:2rd1dtmw]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">/*<br />Purpose : Provides incremental search to a regular combobox.<br />Notes : After defining your ComboBox run SetIncr(oCbx).<br /> ... |
Combobox dropdown style - search | Hello Uwe,
thank you for your help.
My problem is not the way of displaying the data.
The problem is that if I press for example key “B” that the combobox does not search for the first country starting with “B”.
I am waiting for your exe.
Best regards,
Otto |
Combobox dropdown style - search | I can’t get "search" working in a dropdown style combobox .
What is wrong with my code?
Thanks in advance
Otto
[code=fw:2fluyz4j]<div class="fw" id="{CB}" style="font-family: monospace;"> <br /><span style="color: #B900B9;">// This sample shows how to create a Combo Test.</span><br /> <br /><span style="color: #00D7D7;... |
Combobox dropdown style - search | Hello Otto,
For selected Countrys, change the defined Length 220 Pixel to 200 Pixel
As well You can do some fine-adjustment, to bring some not exact adjusted text in vertical-line.
[img:2ljfhza4]http://www.pflegeplus.com/pictures/combo2.jpg[/img:2ljfhza4]
The modified Array ( prg ) I send You by Ema... |
Combobox dropdown style - search | Thank you Uwe.
But you changed the style to CBS_DROPDOWNLIST.
I need CBS_DROPDOWN.
I think I need the help of Antonio.
This worked in FIVEWIN 16 bit but I can’t get this functionality in FWH.
Thank you and best regards,
Otto |
Combobox dropdown style - search | Otto
Thanks, it works fine.
Maybe You like this little change ?
[img:1u8eiit0]http://www.pflegeplus.com/pictures/combo1.jpg[/img:1u8eiit0]
[code=fw:1u8eiit0]<div class="fw" id="{CB}" style="font-family: monospace;"> <br /><span style="color: #00C800;">local</span> cItem := xPADR <span style="color:... |
Combobox dropdown style - search | Hallo Uwe,
könntest du mir bitte deine exe mailen eventuell auch deine combobox.prg.
Danke.
Mit freundlichem Gruß
Otto |
Combobox dropdown style - search | I tried to search with:
[code=fw:1os8ahd2]<div class="fw" id="{CB}" style="font-family: monospace;">oCbx:<span style="color: #000000;">oGet</span>:<span style="color: #000000;">bKeyChar</span> = <span style="color: #000000;">{</span> | nKey | cKey := chr<span style="color: #000000;">(</span>nKey<span st... |
Combobox dropdown style - search | hello otto...
maybe this is a way... please check it
[code=fw:3tk6b6v2]<div class="fw" id="{CB}" style="font-family: monospace;"> oCbx:<span style="color: #000000;">bKeyDown</span> = <span style="color: #000000;">{</span> | nKey | cKey := chr<span style="color: #000000;">(</span>nKey<span style="color: #0... |
Combobox dropdown style - search | Otto,
Combobox has some limitations : it can only use one dimensional array. In your sample a two dimensional array should be much better , each column can be a search column and the layout is much better.
I made a comboclass , first with tsbrowse , now with xbrowse. Till a few month agoa building a class for it , no... |
Combobox dropdown style - search | Hello Frank,
As I can’t get working incremental search in combobox I would like to test your solution with xBrowse.
Would you be so kind to send me following functions:
MAKE2DIM
NM_ALFA
MAKEGETBOX
Thanks in advance
Otto |
Combobox dropdown style - search | Hello Otto,
That works, but it might be just the basics, to work on. I think, it can be done better.
The edit Char is always on the left-hand-side. Maybe there ia a way to place the cursor ?
The result is shown with some space next to the char.
The SPACE - Button clears the Input.
The DEL-Button ( Bottom-right of the ... |
Combobox dropdown style - search | Otto,
Try this:
REDEFINE COMBOBOX oCbx VAR cItem ITEMS aItems ;
ID 110 OF oDlg
oCbx:lIncSearch:=.t.
lIncSearch is a new var in ver 8.08 and it defaults to .f., so you have to turn it on to get incremental searching.
Regards,
James |
Combobox dropdown style - search | Hello James
Thank you for your help.
I tried your suggestion: oCbx:lIncSearch:=.t.
But does not turn on the searching.
Uwe, your incremental function has the same problem as my own attempts. The get field is not filled.
Best regards,
Otto |
Combobox dropdown style - search | [quote="Otto":2oco6c84]Hello Frank,
As I can’t get working incremental search in combobox I would like to test your solution with xBrowse.
Would you be so kind to send me following functions:
MAKE2DIM
NM_ALFA
MAKEGETBOX
Thanks in advance
Otto[/quote:2oco6c84]
Ok , it was send
Frank |
Combobox dropdown style - search | Dear Otto,
First, you have to remove CBS_SORT from the RC or the order in the aItems array is not the same as the displayed in the combobox.
Second, besides James suggestion to set oCbx:lIncSearch := .T., you have to set this line:
[code=fw:2pylx44p]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <... |
Combobox dropdown style - search | Antonio,
I changed the code but it does not work.
The changes you suggest make a DROPDOWNLIST behavior out of the DROPDOWN box.
You can’t insert a new text.
I need the dropdown behavior this means you can select an item or you can insert a new one.
Thanks in advance
Otto |
Combobox dropdown style - search | Otto,
Ok, I see what you want. Please make this change in Class TComboBox Method KeyChar:
[code=fw:2ao2wczf]<div class="fw" id="{CB}" style="font-family: monospace;">...<br /> <span style="color: #00C800;">if</span> Empty<span style="color: #000000;">(</span> uItem <span style="color: #000000;">)</span> <... |
Combobox dropdown style - search | > We may need a new DATA to select this new behavior.
We can avoid it if we check if oCbx:oGet is != nil |
Combobox dropdown style - search | Otto,
This modified Class TComboBox Method KeyChar() seems to work fine, respecting spaces and evaluating ON CHANGE <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
[code=fw:1jaqwexc]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">MET... |
Combobox dropdown style - search | To avoid case sensitive make this change in the proposed Method KeyChar():
[code=fw:a8goqyj0]<div class="fw" id="{CB}" style="font-family: monospace;"><br />nNewAt = AScan<span style="color: #000000;">(</span> ::<span style="color: #000000;">aItems</span>, <span style="color: #000000;">{</span>|x| Upper<span s... |
Combobox dropdown style - search | Hello Antonio,
VK_TAB is working now.
Thanks again,
Otto |
Combobox dropdown style - search | Antonio,
May I suggest also modifying TCombobox so that incremental searching works when the style is DROPDOWN (and lIncSearch=.t.). According to Otto, this is not working.
Regards,
James |
Combobox dropdown style - search | James,
Thats is what we are doing. It only works when lIncSearch is .T. and the style is dropdown.
According to Otto tests, we are close to get it fully functional. Still there are some behaviors to solve. |
Combobox dropdown style - search | Otto,
This is a modified Method KeyChar() that provides support for VK_TAB. Here it is working fine.
I appreciate your feedback, thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
[code=fw:2tq91uy9]<div class="fw" id="{CB}" style="font-family: monospace;"><span style=... |
Combobox dropdown style - search | Hello Antonio,
in your last change of the method you didn't include the change
//nNewAt = AScan( ::aItems, {|x| x = ::cSearchKey } )
nNewAt = AScan( ::aItems, {|x| Upper( x ) = Upper( ::cSearchKey ) } )
Best regards,
Otto |
Combobox dropdown style - search | Antonio,
[url:ky9yc2xw]http://www.atzwanger.info/kartei2/kartei2.htm[/url:ky9yc2xw]
Please help me with this problem. I want to edit the field "briefanrede". But the changes go away.
Thanks in advance
Otto |
Combobox dropdown style - search | Hello Antonio,
As a workaround for I changed the KeyChar method in [b:msbzhagt]TGet[/b:msbzhagt].
I inserted a
return Super:KeyChar( nKey, nFlags )
at the beginning of the method.
Now search in [b:msbzhagt]combobox[/b:msbzhagt] is working.
I take the original combobox without the suggested changes. The changes I ma... |
Combobox dropdown style - search | Hello Antonio,
Why do we need a TGet with CBS_Dropdown? Is this only for the TAB order?
If I commend out the following lines searching works but the Tab order is false.
Regards,
Otto
[code=fw:gb677khh]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">if</span> lAnd<span style="... |
Combobox dropdown style - search | Dear Otto,
A combobox with the style CBS_DROPDOWN automatically creates and manages a child TGet (standard Windows behavior).
What we do from FiveWin is to redefine that TGet so we have full control on it. If you comment out those lines in the Class TComboBox, then you don't redefine it and you have standard Windows... |
Combobox dropdown style - search | Is ther a version of dropdown combobox by programming "from source code" ? |
Combobox e array multimensionali | Salve,
sapere se è possibile riportare in un combobox solo un elemento di un array multidimensionale ?
Per esempio dato un array di 2 dimensioni tipo:
aArray:=array(0,2)
aadd(aArray,{01,"Primo"})
aadd(aArray,{02,"Secondo"})
aadd(aArray,{03,"Terzo"})
vorrei creare un combobox che mi riporta solo il secondo elemento d... |
Combobox e array multimensionali | Non credo si possa. Quello che puoi fare è definire l'array in modo diverso:
[code:3t6whfex]aArray = { { 01, 02, 03 }, { "Primo", "Secondo", "Terzo" } }[/code:3t6whfex]
e poi usare aArray[ 2 ] come lista da visualizzare.
EMG |
Combobox en Buttonbar | Eso, quiero poner un combobox en una buttonbar pero me arroja este error
[code=fw:3070ho1a]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Application<br />===========<br /> Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">C</span>:\sipep_sql\SIPEP.EXE <span... |
Combobox en Buttonbar | Añade a la Clase TComboBox esta DATA:
DATA lGroup INIT .F. |
Combobox en Buttonbar | Gracias Antonio. Solucionado !!!
Saludos |
Combobox en Ribbon | En los samples no encuentro como hacerlo, se puede?
muchas gracias |
Combobox en Ribbon | Mario,
Aqui tienes un ejemplo de como hacerlo:
[code=fw:24px0tqo]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"ribbon.ch"</span>... |
Combobox en Ribbon | muchas gracias Antonio
es lo que necesitaba |
Combobox en WBrowse de Hernán | Hola,
Gracias al aporte de Uds. estoy trabajando ya con el Browse de Hernán usando comboboxes en las celdas <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> , pero no son muy estéticos <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><... |
Combobox en buttonbar | Quiero poner un ComboBox en una ButtonBar y me genera el siguiente error
[code=fw:22si1jyi]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #000000;">[</span> <span style="color: #000000;">1</span><span style="color: #000000;">]</span> = O TC... |
Combobox en buttonbar | Gracias a ambos por responder. Cristobal, yo hago lo mismo que vos. Tomo el fuente de la clase y lo incorporo a mi proyecto con las modificaciones que pretendo hacer. Y al hacerlo de esta manera me aparece el error, si quito el fuente funciona perfectamente. Antonio, probaré esta sugerencia. Muchas gracias.
Saludos |
Combobox en buttonbar | [code=fw:3itis0az]<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> oWnd<br /><br /><span style="color: #B900B9;">//---------------------------------------... |
Combobox en buttonbar | Gracias Karinha por responder, efectivamente tu ejemplo funciona perfectamente. He hecho una pequeña modificación en la clase bar.prg ( que no me dibuje el borde ) y lo he incorporado a mi proyecto, es aquí donde da el error. Si utilizo la clase de FW que viene en la librería no ocurre. Tuve un problema similar con la ... |
Combobox en buttonbar | Mis desculpas Horácio, no uso HARBOUR. Solo XHARBOUR.
Creo que el Maestro Antonio puede aydarte.
Salu2. |
Combobox en buttonbar | Horacio
Yo uso
[quote:gvmueqs8]
FWH 12.03 + Harbour
Harbour 3.2.0dev (Rev. 17516)
Copyright (c) 1999-2012, <!-- m --><a class="postlink" href="http://harbour-project.org/">http://harbour-project.org/</a><!-- m -->
[/quote:gvmueqs8]
y no he tenido nunca problemas con clases heredadas (ni con las versiones anteriores)... |
Combobox en buttonbar | Horacio,
Añade esta líneas a tu programa:
#include "FiveWin.ch"
#include "xhbcls.ch"
...
EXTEND CLASS TComboBox WITH DATA lGroup INIT .F.
Cristobal,
Totalmente de acuerdo contigo con el uso de las variables static en clases. Es algo que iremos modificando para que se pueda heredar sin ninguna limitación <!-- s:-... |
Combobox en buttonbar | Antonio
[quote:30plxuew]
con el uso de las variables static en clases. Es algo que iremos modificando para que se pueda heredar sin ninguna limitación
[/quote:30plxuew]
No solo las variables static. A mi me están dando más dolores de cabeza los #define de cada clase (.prg) no incluidos en ficheros .ch, ni ser DATAs
S... |
Combobox en buttonbar | Crsitobal,
Muy cierto, no habia caido en eso... gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Combobox en ribbon | Estoy implementado una ribbon con diversos controles, entre ellos dos combos pero no funcionan, quedan como frizados. Hay algún tip para poder usar combos en ribbon ???. Muchas gracias |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.