messages
listlengths 1
1
| topic
stringlengths 2
60
|
---|---|
[
{
"date": "2008-03-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buen día para todos...\n\n laugusto, prueba de esta forma a ver si te funciona:\n\n Replace FI_TPCAB With Alltrim( Str( oTFI_TPCAB:nAt ))",
"time": "14:22",
"topic": "Combobox bajo fhw7.01 no retorna el indice",
"username": "ARCC"
}
] | Combobox bajo fhw7.01 no retorna el indice |
[
{
"date": "2008-03-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Quando você criar a variavel:\n\naFic[13] := \"\" aqui ele retorna o campo texto selecionado\n\nagora se fizer assim:\n\naFic[13] := 0, ela devera lhe trazer o numero da COMBO",
"time": "15:15",
"topic": "Combobox bajo fhw7.01 no retorna el indice",
"username": "ronaldo"
}
] | Combobox bajo fhw7.01 no retorna el indice |
[
{
"date": "2008-03-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenas Tardes, \n\nAntonio 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;\n\nRonaldo, eu inicializo aFic[13] := 1, creio que deveria retornar o indice e não o conteudo, isto esta causando erro, a solução como eu disse antes, foi compilar o combobox.prg da versão fwh2.6, que esta funcionando ok, mas, creio que as melhorias da versão do fwh7.01 nesta classe(combobox.prg) estou deixando de aproveitar com esta \"gambiarra\".\n\nSaludos, Regards,",
"time": "17:54",
"topic": "Combobox bajo fhw7.01 no retorna el indice",
"username": "laugusto"
}
] | Combobox bajo fhw7.01 no retorna el indice |
[
{
"date": "2008-03-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Luiz Augusto,\n\nInicializa aFic[13] con 1\n\naFic[ 13 ] := 1\n\nREDEFINE COMBOBOX ...",
"time": "20:28",
"topic": "Combobox bajo fhw7.01 no retorna el indice",
"username": "Antonio Linares"
}
] | Combobox bajo fhw7.01 no retorna el indice |
[
{
"date": "2011-08-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nWhy combobox control (dropdown list) inside a folder dont display doted focus line?\nAny tricks?\n\nThanks in advance.\n\nWanderson.",
"time": "20:33",
"topic": "Combobox behaviour",
"username": "Wanderson"
}
] | Combobox behaviour |
[
{
"date": "2018-04-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "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.\n\nHe intentado representarla con el tooltip, pero no me lo pinta.\n\nAlguna idea? estoy un poco perdido.\n\nGracias\n\n[code=fw:3ro5rme2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">//---------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> ResourceComboBox<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> ComboSelector<br /> <br /> ::<span style=\"color: #000000;\">oComboBox</span> := TComboBox<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #0000ff;\">ReDefine</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">idCombobox</span>, bSETGET<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">cComboBox</span> <span style=\"color: #000000;\">)</span>, ::<span style=\"color: #000000;\">aComboBox</span>, ::<span style=\"color: #000000;\">oDialog</span>,,, <span style=\"color: #000000;\">{</span>|| ::<span style=\"color: #000000;\">ChangeComboBox</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> , , , , .f., <span style=\"color: #000000;\">{</span>|| .t. <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">oComboBox</span>:<span style=\"color: #000000;\">lIncSearch</span> := .t.<br /> ::<span style=\"color: #000000;\">oComboBox</span>:<span style=\"color: #000000;\">cToolTip</span> := <span style=\"color: #ff0000;\">\"Buscando : \"</span> + cvaltostr<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oComboBox</span>:<span style=\"color: #000000;\">cSearchKey</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">Self</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #B900B9;\">//---------------------------------------------------------------------------//</span><br /><br /> </div>[/code:3ro5rme2]",
"time": "18:26",
"topic": "Combobox cSearchKey",
"username": "manuelcalerosolis"
}
] | Combobox cSearchKey |
[
{
"date": "2018-04-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Manuel,\n\nNo 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.\n\nEn un poco de curro pero es lo primero que se me ocurrió.\n\nUn saludo",
"time": "08:35",
"topic": "Combobox cSearchKey",
"username": "Carlos Mora"
}
] | Combobox cSearchKey |
[
{
"date": "2018-04-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Carlos,\n\nMi intención era representar la cadena de búsqueda sin necesidad de crear un control fuera, de combobox.\n\nGracias, por tu ayuda.",
"time": "09:08",
"topic": "Combobox cSearchKey",
"username": "manuelcalerosolis"
}
] | Combobox cSearchKey |
[
{
"date": "2011-03-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[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: #000000;\">(</span>aMyNewArray<span style=\"color: #000000;\">)</span><br />oDbCombo:<span style=\"color: #000000;\">bChange</span>:=bChange</div>[/code:3r8a6712]\n\nRegards\nAnser",
"time": "18:27",
"topic": "Combobox change events",
"username": "anserkk"
}
] | Combobox change events |
[
{
"date": "2011-03-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I'm having a problem controlling the behavior of a combobox change event response.\n\nEvery 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?\n\nDon",
"time": "16:17",
"topic": "Combobox change events",
"username": "DonDrew"
}
] | Combobox change events |
[
{
"date": "2011-03-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Regretably that didn't change anything. \n\nThanks for your help.\n\nDon",
"time": "13:14",
"topic": "Combobox change events",
"username": "DonDrew"
}
] | Combobox change events |
[
{
"date": "2011-03-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Don,\n\nIf you do this do you hear a beep?\n\noCombo:bChange:=msgbeep()\noCombo:SetItems(aMyNewArray)\noCombo:bChange:=nil\n\nJames",
"time": "01:43",
"topic": "Combobox change events",
"username": "James Bott"
}
] | Combobox change events |
[
{
"date": "2011-03-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Yes.",
"time": "07:48",
"topic": "Combobox change events",
"username": "DonDrew"
}
] | Combobox change events |
[
{
"date": "2011-03-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"James Bott\":35yrozlw]oCombo:bChange:=msgbeep()[/quote:35yrozlw]\n\nIt should be\n\n[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 style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span></div>[/code:35yrozlw]\n\nEMG",
"time": "09:19",
"topic": "Combobox change events",
"username": "Enrico Maria Giordano"
}
] | Combobox change events |
[
{
"date": "2011-03-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Yes, of course.\n\nThanks, Enrico.",
"time": "15:56",
"topic": "Combobox change events",
"username": "James Bott"
}
] | Combobox change events |
[
{
"date": "2011-04-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"DonDrew\":2wr93wnf]I'm having a problem controlling the behavior of a combobox change event response.\n\nEvery 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?\n\nDon[/quote:2wr93wnf]\n\n\nHello... you can try this change in the class\n\n[code=fw:2wr93wnf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #00C800;\">METHOD</span> Reset<span style=\"color: #000000;\">(</span> lChanged <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">INLINE</span> Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bSetGet</span>,; <br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ValType<span style=\"color: #000000;\">(</span> Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bSetGet</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"N\"</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>,; <br /> ::<span style=\"color: #000000;\">nAt</span> := <span style=\"color: #000000;\">0</span>, ::<span style=\"color: #000000;\">SendMsg</span><span style=\"color: #000000;\">(</span> CB_RESETCONTENT <span style=\"color: #000000;\">)</span>,; <br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> lChanged != <span style=\"color: #00C800;\">NIL</span> .and. lChanged <span style=\"color: #000000;\">)</span> .or. <span style=\"color: #000000;\">(</span> lChanged == <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">)</span>, ::<span style=\"color: #0000ff;\">Change</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span> <br /><br /><br /> <span style=\"color: #00C800;\">METHOD</span> SetItems<span style=\"color: #000000;\">(</span> aItems, lChanged <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">INLINE</span> ::<span style=\"color: #000000;\">Reset</span><span style=\"color: #000000;\">(</span> lChanged <span style=\"color: #000000;\">)</span>, ::<span style=\"color: #000000;\">aItems</span> := aItems,;<br /> ::<span style=\"color: #00C800;\">Default</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>,;<br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> lChanged != <span style=\"color: #00C800;\">NIL</span> .and. lChanged <span style=\"color: #000000;\">)</span> .or. <span style=\"color: #000000;\">(</span> lChanged == <span style=\"color: #00C800;\">NIL</span> <span style=\"color: #000000;\">)</span>, ::<span style=\"color: #0000ff;\">Change</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span><br /><br /> </div>[/code:2wr93wnf]\n\nuse oClaim_Num:SetItems( aClaims, [color=#FF0000:2wr93wnf].F.[/color:2wr93wnf] )",
"time": "15:45",
"topic": "Combobox change events",
"username": "Daniel Garcia-Gil"
}
] | Combobox change events |
[
{
"date": "2012-08-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "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:\n\n[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 /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oCbx, cItem := <span style=\"color: #ff0000;\">\"\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>, <span style=\"color: #000000;\">600</span><br /><br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCbx <span style=\"color: #0000ff;\">VAR</span> cItem;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">300</span>, <span style=\"color: #00C800;\">NIL</span>;<br /> <span style=\"color: #0000ff;\">ITEMS</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"This is a test\"</span> <span style=\"color: #000000;\">}</span>;<br /> <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE, CLR_HRED<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br /> <span style=\"color: #0000ff;\">CENTER</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:3la0hkf7]\n\nThank you in advance.\n\nEMG",
"time": "16:19",
"topic": "Combobox color",
"username": "Enrico Maria Giordano"
}
] | Combobox color |
[
{
"date": "2012-08-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Any suggestions? <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG",
"time": "16:16",
"topic": "Combobox color",
"username": "Enrico Maria Giordano"
}
] | Combobox color |
[
{
"date": "2012-08-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "here run ok\n\n[img:gi14gyhr]http://img17.imageshack.us/img17/8725/emgcombocolor.png[/img:gi14gyhr]\n\n\n\nHow it should be?",
"time": "09:00",
"topic": "Combobox color",
"username": "Eoeo"
}
] | Combobox color |
[
{
"date": "2012-08-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "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).\n\nEMG",
"time": "17:48",
"topic": "Combobox color",
"username": "Enrico Maria Giordano"
}
] | Combobox color |
[
{
"date": "2012-09-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Any ideas? I need to color the combobox. It was possible under XP but not under Vista and newer Windows releases.\n\nEMG",
"time": "12:47",
"topic": "Combobox color",
"username": "Enrico Maria Giordano"
}
] | Combobox color |
[
{
"date": "2012-10-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Bump <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "15:07",
"topic": "Combobox color",
"username": "Enrico Maria Giordano"
}
] | Combobox color |
[
{
"date": "2013-05-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Any solution ?",
"time": "09:48",
"topic": "Combobox color",
"username": "Silvio.Falconi"
}
] | Combobox color |
[
{
"date": "2013-05-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nIf you are using themes then you are telling Windows to control the painting.\n\nIf you want to control the painting, try to create the combobox from the ON INIT clause of the dialog.",
"time": "12:22",
"topic": "Combobox color",
"username": "Antonio Linares"
}
] | Combobox color |
[
{
"date": "2013-05-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":3kgqxeyd]Enrico,\n\nIf you are using themes then you are telling Windows to control the painting.[/quote:3kgqxeyd]\n\nYes, but why I can change textbox color, even with themes?\n\nEMG",
"time": "12:39",
"topic": "Combobox color",
"username": "Enrico Maria Giordano"
}
] | Combobox color |
[
{
"date": "2013-05-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nBecause 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:-) -->\n\nWhen you create a control from the ON INIT clause of ACTIVATE DIALOG, usually themes are not used (or they are not so restrictives).",
"time": "16:32",
"topic": "Combobox color",
"username": "Antonio Linares"
}
] | Combobox color |
[
{
"date": "2013-05-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\n[quote=\"Antonio Linares\":1dnszfl5]Enrico,\n\nBecause 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]\n\nYes, I know. But my question was, why I can change textbox colors and cannot change combobox ones?\n\nEMG",
"time": "17:53",
"topic": "Combobox color",
"username": "Enrico Maria Giordano"
}
] | Combobox color |
[
{
"date": "2013-05-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Enrico,\n\nBecause the themes change combobxes but on GETs only change the borders.\n\nWindows themes change the appareance of the combos entirely, but not on the GETs.",
"time": "20:34",
"topic": "Combobox color",
"username": "Antonio Linares"
}
] | Combobox color |
[
{
"date": "2013-05-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\n[quote=\"Antonio Linares\":o2ktydjr]Enrico,\n\nBecause the themes change combobxes but on GETs only change the borders.\n\nWindows themes change the appareance of the combos entirely, but not on the GETs.[/quote:o2ktydjr]\n\nUnderstood... <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG",
"time": "20:43",
"topic": "Combobox color",
"username": "Enrico Maria Giordano"
}
] | Combobox color |
[
{
"date": "2007-05-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Existe alguna manera usando un combobox, poderle definir un array de los valores que queremos grabar.\n\nDel estilo \n[code:139wbxfa]\nREDEFINE COMBOBOX oCbx VAR cVar ITEMS {'Mensual','Semanal','Diaria'} VALUES {'M','S','D'}\n[/code:139wbxfa]\nEs decir que se grabase el contenido del segundo array. \nMirando la clase, vi que si el campo o la variable es numerica, se graba la poscion del elemento seleccionado. Eso me puede servir para desarrollos propios, pero ahora estoy usando tablas ya desñadas, donde no puedo tocar las estructuras.\n\nGracias anticipadas.",
"time": "15:07",
"topic": "Combobox con array de opc. visualizar y array valor a grabar",
"username": "Biel EA6DD"
}
] | Combobox con array de opc. visualizar y array valor a grabar |
[
{
"date": "2007-05-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Biel,\n\nPodrías usar SubStr( cVar, 1, 1 ) ó tambien, en el caso de un valor numérico SubStr( oCbx:aItems[ nVar ], 1, 1 )",
"time": "16:58",
"topic": "Combobox con array de opc. visualizar y array valor a grabar",
"username": "Antonio Linares"
}
] | Combobox con array de opc. visualizar y array valor a grabar |
[
{
"date": "2007-05-31",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Antonio\n\nel 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.\nDe 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.",
"time": "09:05",
"topic": "Combobox con array de opc. visualizar y array valor a grabar",
"username": "Biel EA6DD"
}
] | Combobox con array de opc. visualizar y array valor a grabar |
[
{
"date": "2007-05-31",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Biel,\n\nte mande a tu correo privado una modificacion del DBCOMBO que hace lo que deseas, por lo que entendi.\n\nsaludos\n\nMarcelo\n\n[quote=\"Biel EA6DD\":2msr89fd]Antonio\n\nel 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.\nDe 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.[/quote:2msr89fd]",
"time": "15:39",
"topic": "Combobox con array de opc. visualizar y array valor a grabar",
"username": "Marcelo Via Giglio"
}
] | Combobox con array de opc. visualizar y array valor a grabar |
[
{
"date": "2007-06-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Marcelo,\n\nno he recibido nada en el correo, te agradeceria nuevo envio a <!-- e --><a href=\"mailto:[email protected]\">[email protected]</a><!-- e -->\n\ngracaias",
"time": "17:17",
"topic": "Combobox con array de opc. visualizar y array valor a grabar",
"username": "Biel EA6DD"
}
] | Combobox con array de opc. visualizar y array valor a grabar |
[
{
"date": "2007-06-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Biel.\ndisculpa la indiscresion, pero cuando te \"metas\" al mundo SQL el truncado SI será un problema. \nLa sugerencia que te da Antonio es buena\nNosotros tb tenemos campos de 1 Byte y coincidencias varias para ese caracter.\nSaludos",
"time": "23:19",
"topic": "Combobox con array de opc. visualizar y array valor a grabar",
"username": "dbzap"
}
] | Combobox con array de opc. visualizar y array valor a grabar |
[
{
"date": "2007-06-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Julio,\ngracias por el comentario, no habia caido en el posible problema con SQL, efectivamente es mejor ya programarlo con el SubStr, para evitarse futuros problemas.",
"time": "22:30",
"topic": "Combobox con array de opc. visualizar y array valor a grabar",
"username": "Biel EA6DD"
}
] | Combobox con array de opc. visualizar y array valor a grabar |
[
{
"date": "2007-06-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ya tengo el tema resuelto, con la clase dbCombo de fivewin se puede hacer exactamente lo que yo queria.\n[code:3vkm40v4]\nREDEFINE DBCOMBO oDbf:TipoFra ID 4001 OF oDlg ITEMS {'D','S','M'} PROMPTS {'Diaria','Semanal','Mensual'}\n[/code:3vkm40v4]\n\nGracias a Marcelo que me puso sobre la pista buena, y revisando el funcionamiento de dbCombo, vi que lo que queria ya estaba implementado, simplemente no se le pasa alias, y se envian dos arrays uno con los datos a visualizar, y otro con los datos a grabar.",
"time": "17:18",
"topic": "Combobox con array de opc. visualizar y array valor a grabar",
"username": "Biel EA6DD"
}
] | Combobox con array de opc. visualizar y array valor a grabar |
[
{
"date": "2010-12-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Antonio, foro :\n\nCreo recordar ( no estoy muy seguro ) que existe la manera de seleccionar varios items de un combobox, ya busque en los post y nada.\n\nSerias tan amable en confirmar esto ? \n\nGracias y Saludos",
"time": "06:51",
"topic": "Combobox con seleccion",
"username": "Raymundo Islas M."
}
] | Combobox con seleccion |
[
{
"date": "2010-03-12",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola foro,\nQuiero saber si se puede hacer esto con un combobox que cambio en tiempo de ejecucion...\nDado un valor de una variable, el arreglo para los items del combobox cambia, mi arreglo es mutlidimensional algo asi:\naValor:={{\"Uno\",.t.},{\"Dos\",.t.},{\"Tres\",.f.},{\"Cuatro\",.f.},{\"Cinco\",.t.}}\ncomo hago para que en el combobox se muestren unicamente \"Uno\",\"Dos\" y \"Cinco\" que son los que tienen el valor .t. los de valor .f. eso que no los muestre el combobox, se puede hacer eso?\ngracias\nsaludos\npaco",
"time": "15:23",
"topic": "Combobox con valor logico",
"username": "Francisco Horta"
}
] | Combobox con valor logico |
[
{
"date": "2010-03-12",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola,\n\nlo unico que veo que puedes hacer es utilizar oComboBox:SetItems( aItems )\n\ndonde 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\nlo podras hacer tu y luego pasarlo al combobox\n\nsolo es una idea, saludos\n\nMarcelo",
"time": "21:02",
"topic": "Combobox con valor logico",
"username": "Marcelo Via Giglio"
}
] | Combobox con valor logico |
[
{
"date": "2009-04-17",
"forum": "All products support",
"text": "Salve a tutti,\nè possibile utilizzare per un combobox un elemento di un array Multidimensionale ?\n\nIn pratica ho un array tipo:\n\naArray:={}\naadd(aArray,{1,\"Marco\"})\naadd(aArray,{2,\"Enrico\"})\naadd(aArray,{3,\"Paolo\"})\n\ndove ho un primo elemento numerico e un secondo elemento alfanumerico\n\nIo vorrei visualizzare una combobox che utilizza solo il secondo elemento.\nQuesto mi serve perché il primo elemento è in numero di record, quindi il cliente seleziona il nome e io posso prendere quindi il corrispondente numero di record dal primo elemento. Nell'esempio l'array è in ordine sequenziale ma nella realtà i nomi sono riordinati quindi il numero di record non è in sequenza.\n\nQualche idea ?\n\nGrazie in anticipo",
"time": "11:52",
"topic": "Combobox di un array multidimensionale",
"username": "Marco Turco"
}
] | Combobox di un array multidimensionale |
[
{
"date": "2009-04-17",
"forum": "All products support",
"text": "Penso che tu debba creare degli array temporanei unidimensionali appositamente per il combo.\n\nEMG",
"time": "15:02",
"topic": "Combobox di un array multidimensionale",
"username": "Enrico Maria Giordano"
}
] | Combobox di un array multidimensionale |
[
{
"date": "2009-04-17",
"forum": "All products support",
"text": "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.\nVolevo giusto sapere se c'è una soluzione utilizzando la classe standard.",
"time": "15:04",
"topic": "Combobox di un array multidimensionale",
"username": "Marco Turco"
}
] | Combobox di un array multidimensionale |
[
{
"date": "2009-04-17",
"forum": "All products support",
"text": "// Passi alla combo un array a una sola dimensione\n@ 1, 1 COMBOBOX oCombo VAR cVariab ITEMS aMyFunc( aArray, 2 )\n\n// il numero di record lo ricavi così: aArray[ oCombo:nAt , 1 ]\n@ 3 , 2 BUTTON oButton ACTION MsgInfo( \"Numero di record \" + STR( aArray[oCombo:nAt,1],2 ) )\n\nSTATIC FUNCTION aMyFunc( aArray, nElem )\n\nLOCAL i, aCombo := {}\n\nFOR i := 1 TO LEN(aArray)\n AADD( aCombo, aArray[ i , nElem ] )\nNEXT i\n\nRETURN aCombo",
"time": "15:19",
"topic": "Combobox di un array multidimensionale",
"username": "MarcoBoschi"
}
] | Combobox di un array multidimensionale |
[
{
"date": "2009-04-17",
"forum": "All products support",
"text": "abbiamo postato praticamente tutti insieme è banale come soluzione non avevo letto Enrico e il tuo secondo post\nCiao",
"time": "15:21",
"topic": "Combobox di un array multidimensionale",
"username": "MarcoBoschi"
}
] | Combobox di un array multidimensionale |
[
{
"date": "2009-04-17",
"forum": "All products support",
"text": "<!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "15:24",
"topic": "Combobox di un array multidimensionale",
"username": "Enrico Maria Giordano"
}
] | Combobox di un array multidimensionale |
[
{
"date": "2009-04-17",
"forum": "All products support",
"text": "che fiacca oggi <!-- s:? --><img src=\"{SMILIES_PATH}/icon_confused.gif\" alt=\":?\" title=\"Confused\" /><!-- s:? -->",
"time": "15:28",
"topic": "Combobox di un array multidimensionale",
"username": "MarcoBoschi"
}
] | Combobox di un array multidimensionale |
[
{
"date": "2009-04-21",
"forum": "All products support",
"text": "Grazie.",
"time": "09:24",
"topic": "Combobox di un array multidimensionale",
"username": "Marco Turco"
}
] | Combobox di un array multidimensionale |
[
{
"date": "2011-06-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I need a help about combobox.\n\nIf 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.\n\nThanks in advance.",
"time": "03:30",
"topic": "Combobox doubt",
"username": "Wanderson"
}
] | Combobox doubt |
[
{
"date": "2009-02-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Daniel, hello Frank,\nthank you for your help.\nFrank, I would prefer staying with combobox for this task.\n\nDaniel, your suggestion is working.\n\n[code=fw:3v8vjqvk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oCbx:<span style=\"color: #000000;\">bKeyDown</span> = <span style=\"color: #000000;\">{</span> | nKey | iif<span style=\"color: #000000;\">(</span>nKey=<span style=\"color: #000000;\">40</span>,<span style=\"color: #000000;\">(</span>lSeek :=.f.,cKey:=<span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span>,; <br /> iif<span style=\"color: #000000;\">(</span>nKey=<span style=\"color: #000000;\">38</span>, <span style=\"color: #000000;\">(</span>lSeek :=.f.,cKey:=<span style=\"color: #ff0000;\">\"\"</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span>,;<br /> cKey := cKey + chr<span style=\"color: #000000;\">(</span>nKey<span style=\"color: #000000;\">)</span>, nNewAt := AScan<span style=\"color: #000000;\">(</span>aItems,<span style=\"color: #000000;\">{</span>|x| Upper<span style=\"color: #000000;\">(</span>x<span style=\"color: #000000;\">)</span> = Upper<span style=\"color: #000000;\">(</span>cKey<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> ,;<br /> iif<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span>nNewAt > <span style=\"color: #000000;\">0</span> .and. lSeek =.f.<span style=\"color: #000000;\">)</span> ,;<br /> <span style=\"color: #000000;\">(</span> oCbx:<span style=\"color: #0000ff;\">Select</span><span style=\"color: #000000;\">(</span> nNewAt <span style=\"color: #000000;\">)</span> ,;<br /> oCbx:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">VarPut</span><span style=\"color: #000000;\">(</span> UPPER<span style=\"color: #000000;\">(</span>aItems<span style=\"color: #000000;\">[</span> nNewAt <span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> , oCbx:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>, lSeek :=.t.<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span></div>[/code:3v8vjqvk]\n\nI tried to insert this code to enable incremental search.\nCould you help me please again.\nI can’t find how to synchronize the input field. If I insert a key now it is always shown on the first position.\nThanks in advance\nOtto",
"time": "13:12",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Otto,\n\nI found this code snippet in my archiv, maybe it helps.\n\n[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 /> : Include the attached prg in your project.<br />Author : Byron Hopp, (Matrix Computer Services) <[email protected]><br />Date : 7/1/00<br /><br />Notes: There is no handling of backspaces. You can use the up and down arrow <br />keys also (while the dropdown is not down). Using a space resets the seach.<br /><br />Modified to make case insensitive and to handle DBCombo's also, by James <br />Bott, 5/21/04. Tested under FWH 2.4/Harbour 43.<br />*/</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> SetIncr<span style=\"color: #000000;\">(</span>oCbx<span style=\"color: #000000;\">)</span><br /> oCbx:<span style=\"color: #000000;\">bKeyChar</span> := <span style=\"color: #000000;\">{</span>|nKey,nFlags| FindIncr<span style=\"color: #000000;\">(</span>oCbx,nKey<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br /> oCbx:<span style=\"color: #000000;\">bGotFocus</span> := <span style=\"color: #000000;\">{</span>|| oCbx:<span style=\"color: #000000;\">Cargo</span> := <span style=\"color: #ff0000;\">\"\"</span>,oCbx:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> FindIncr<span style=\"color: #000000;\">(</span>oCbx,nKey<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> nNewEle := <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">IF</span> nKey <> <span style=\"color: #000000;\">32</span><br /> oCbx:<span style=\"color: #000000;\">Cargo</span> += upper<span style=\"color: #000000;\">(</span> CHR<span style=\"color: #000000;\">(</span>nKey<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> oCbx:<span style=\"color: #000000;\">classname</span> ==<span style=\"color: #ff0000;\">\"TCOMBOBOX\"</span><br /> oCbx:<span style=\"color: #000000;\">Set</span><span style=\"color: #000000;\">(</span>IIF<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span>nNewEle := ASCAN<span style=\"color: #000000;\">(</span>oCbx:<span style=\"color: #000000;\">aItems</span>, <span style=\"color: #000000;\">{</span>|x| upper<span style=\"color: #000000;\">(</span>x<span style=\"color: #000000;\">)</span> = <br />oCbx:<span style=\"color: #000000;\">Cargo</span><span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> > <span style=\"color: #000000;\">0</span>,nNewEle,oCbx:<span style=\"color: #000000;\">nAT</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span> <span style=\"color: #B900B9;\">// for TDBCombo</span><br /> oCbx:<span style=\"color: #000000;\">Set</span><span style=\"color: #000000;\">(</span>IIF<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span>nNewEle := ASCAN<span style=\"color: #000000;\">(</span>oCbx:<span style=\"color: #000000;\">aList</span>, <span style=\"color: #000000;\">{</span>|x| upper<span style=\"color: #000000;\">(</span>x<span style=\"color: #000000;\">)</span> = <br />oCbx:<span style=\"color: #000000;\">Cargo</span><span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> > <span style=\"color: #000000;\">0</span>,nNewEle,oCbx:<span style=\"color: #000000;\">nAT</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">ELSE</span><br /> oCbx:<span style=\"color: #000000;\">Cargo</span> := <span style=\"color: #ff0000;\">\"\"</span><br /> oCbx:<span style=\"color: #000000;\">Set</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">RETURN</span> oCbx:<span style=\"color: #000000;\">nAT</span><br /> </div>[/code:2rd1dtmw]",
"time": "12:38",
"topic": "Combobox dropdown style - search",
"username": "StefanHaupt"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Uwe,\n\nthank you for your help.\nMy problem is not the way of displaying the data.\nThe problem is that if I press for example key “B” that the combobox does not search for the first country starting with “B”.\nI am waiting for your exe.\nBest regards, \nOtto",
"time": "18:19",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I can’t get \"search\" working in a dropdown style combobox .\nWhat is wrong with my code?\nThanks in advance\nOtto\n[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;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /> <br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /> <br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #00C800;\">local</span> oDlg, oCbx, oSayItem, oSayAt<br /> <span style=\"color: #00C800;\">local</span> cItem := <span style=\"color: #ff0000;\">\"Österreich A \"</span><br /> <span style=\"color: #00C800;\">local</span> aItems:=<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span><br /> <br /> <br /> <br /> <br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Österreich A \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Albanien AL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Andorra AND \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Amerikanisch-Samoa ASM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Belgien B \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Burgenland BGL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Bermuda BMU \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Bahrain BRN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Myanmar BUR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kuba C \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Coted'Ivoire CI \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"SriLanka CL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Komoren COM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"KapVerde CV \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kaimaninseln CYM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Tschechische Republik CZ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Deutschland D \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Dschibuti DJI \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Dänemark DK \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Dominikanische Republik DOM\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Algerien DZ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Spanien E \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Estland EST \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Fidschi FJI \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Französisch-Guayana GF \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Guadeloupe GLP \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Guinea GN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Iran IR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Irland IRL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Island IS \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Japan J \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kambodscha K \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kärnten KTN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Libyen LAR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Liberia LB \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Aruba ABW \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Anguilla AIA \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Antigua und Barbuda ANT \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Armenien ARM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Australien AUS \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Barbados BDS \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Bolivien BOL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Bahamas BS \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kokosinseln CCK \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Schweiz CH \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kolumbien CO \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Cook-Inseln COK \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Costa Rica CR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Zypern CY \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kenia EAK \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Tansania EAT \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Ecuador EC \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Eritrea ER \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"El Salvador ES \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Ägypten ET \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Äthiopien ETH \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Finnland FIN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Falklandinseln FLK \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Man GBM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Guatemala GCA \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Guam GUM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Guyana GUY \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Honduras HD \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Jordanien HKJ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Indien IND \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Britisches Territorium im I\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Irak IRQ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Jamaika JA \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Johnston-Insel JNI \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"St.Kitts und Nevis KN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Laos LAO \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Lesotho LS \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Lettland LV \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Malta M \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Marokko MA \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Macao MAC \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Malaysia MAL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Monaco MC \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Midway-Inseln MID \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Mazedonien,ehem.jugoslaw. M\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Mosambik MOC \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Mauritius MS \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Montserrat MSR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Martinique MTQ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Malediven MV \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Malawi MW \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"NiederländischeAntillen NA \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Namibia NAM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Neukaledonien NCL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Nepal NEP \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Norfolkinsel NFK \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Nicaragua NIC \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Niue NIU \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Neuseeland NZ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Oman O \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Portugal P \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Panama PA \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Palästina PAL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Pitcairn PCN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Französisch-Polynesien PF \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Philippinen PHL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Pakistan PK \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Polen PL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Papua-Neuguinea PNG \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Katar Q \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Argentinien RA \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Botsuana RB \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Chile RCH \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Indonesien RI \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Madagaskar RM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Niger RN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Rumänien RO \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Korea,Republik(Süd-) ROK \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Uruguay ROU \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Philippinen RP \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"San Marino RSM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Russische Föderation RUS \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Afghanistan AFG \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Angola ANG \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Aserbaidschan AZ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Bangladesch BD \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Burkina Faso BF \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Bulgarien BG \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Belize BH \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Bosnien-Herzegowina BIH \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Brasilien BR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Brunei BRU \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Bhutan BTN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Belarus BY \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kamerun CAM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kanada CDN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Tschechoslowakei(historis C\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Weihnachtsinsel CXR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Benin DY \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Uganda EAU \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Frankreich F \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Liechtenstein FL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Färöer-Inseln FR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Mikronesien(Föderierte St F\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Gabun GAB \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Vereinigtes Königreich GB \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kanalinseln GBG \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Gibraltar GBZ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Georgien GE \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Ghana GH \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Guinea-Bissau GNB \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Äquatorialguinea GQ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Griechenland GR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Grönland GRO \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Ungarn H \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Hongkong HK \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kroatien HR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Italien I \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Israel IL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kiribati KIR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kirgisistan KS \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kuwait KWT \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kasachstan KZ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Luxemburg L \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Litauen LT \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Moldau MD \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Mexiko MEX \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Marshall-Inseln MH \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Mongolei MNG \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Nördliche Marianen MNP \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Mayotte MYT \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Norwegen N \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Niederlande NL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Niederösterreich NÖ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Oberösterreich OÖ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Peru PE \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"PuertoRico PRI \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Korea,Demokratische Volks P\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Palau PW \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Paraguay PY \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Zentralafrikanische Repub R\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Kongo RCB \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Reunion REU \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Haiti RH \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Mauretanien RIM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Libanon RL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Mali RMM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Burundi RU \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Ruanda RWA \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Schweden S \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Saudi-Arabien SA \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Salzburg SBG \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Swasiland SD \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Singapur SGP \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Sankt Helena SHN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Slowakei SK \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Salomonen SLB \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Slowenien SLO \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Suriname SME \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Senegal SN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Somalia SP \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Saint Pierre und Miquelon S\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Steiermark STM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Sao Tome und Principe STP \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Sowjetunion(historischbis S\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Sudan SUD \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Seychellen SY \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Syrien SYR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Thailand T \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Turks-und Caicos-Inseln TCA\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Tschad TCH \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Togo TG \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Tirol TIR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Tadschikistan TJ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Tokelau-Inseln TKL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Turkmenistan TM \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Tunesien TN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Tonga TO \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Türkei TR \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Trinidad und Tobago TT \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Tuvalu TUV \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"China,Republik(Taiwan) TWN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Ukraine UA \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Vereinigte Arabische Emir U\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Vereinigte Staaten von Am U\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Usbekistan UZB \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Vatikanstadt V \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Vorarlberg VBG \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Britische Jungferninseln VG\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Amerikanische Jungfernins V\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Wien VIE \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Vietnam VN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"China(Volksrepublik) VRC \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Vanuatu VU \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Gambia WAG \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Nauru WAI \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Sierra Leone WAL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Nigeria WAN \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Dominica WD \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Grenada WG \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Wake-Inseln WKI \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"St.Lucia WL \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Wallis und Futuna WLF \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Samoa(West-) WS \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"St.Vincent und die Grenad W\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Jemen Y \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Jugoslawien(SerbienundMon Y\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Jugoslawien(historischbis Y\"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Venezuela YV \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Sambia Z \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Südafrika ZA \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Zaire ZRE \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Simbabwe ZW \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Staatenlos ZZX \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Ungeklärt ZZY \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Unbekannt ZZZ \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\" \"</span> <span style=\"color: #000000;\">)</span><br /> <br /> <br /> <br /> <br /> <br /> SET _3DLOOK <span style=\"color: #0000ff;\">ON</span><br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOg</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"TestCombo\"</span><br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCbx <span style=\"color: #0000ff;\">VAR</span> cItem <span style=\"color: #0000ff;\">ITEMS</span> aItems ;<br /> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">110</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">(</span> oSayItem:<span style=\"color: #000000;\">cTitle</span> := oCbx:<span style=\"color: #000000;\">GetText</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">(</span> MsgBeep<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, .t. <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">SAY</span> oSayItem <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /> <br /> <br /> <br /> <br /> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:2fluyz4j]\n\nrc-file\n\n\n[code=fw:2fluyz4j]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <br /><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\"</span><br /> <br />LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US<br /> <br />TESTCOMBO <span style=\"color: #0000ff;\">DIALOG</span> DISCARDABLE <span style=\"color: #000000;\">49</span>, <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">371</span>, <span style=\"color: #000000;\">190</span><br /><span style=\"color: #0000ff;\">STYLE</span> WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_SYSMENU<br />CAPTION <span style=\"color: #ff0000;\">\"Testing a ComboBox\"</span><br />BEGIN<br /> CONTROL <span style=\"color: #ff0000;\">\"A ComboBox\"</span>, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #ff0000;\">\"Static\"</span>, WS_GROUP, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">43</span>, <span style=\"color: #000000;\">8</span><br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">110</span>, <span style=\"color: #ff0000;\">\"ComboBox\"</span>, WS_BORDER|CBS_DROPDOWN|CBS_SORT|WS_TABSTOP, <span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">16</span>, <span style=\"color: #000000;\">156</span>, <span style=\"color: #000000;\">144</span><br /> CONTROL <span style=\"color: #ff0000;\">\"&Selected Item:\"</span>, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #ff0000;\">\"Static\"</span>, WS_GROUP, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">116</span>, <span style=\"color: #000000;\">48</span>, <span style=\"color: #000000;\">8</span><br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">120</span>, <span style=\"color: #ff0000;\">\"Static\"</span>, WS_GROUP, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">8</span><br /> CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">-1</span>, <span style=\"color: #ff0000;\">\"Static\"</span>, SS_ICON, <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">144</span>, <span style=\"color: #000000;\">16</span>, <span style=\"color: #000000;\">16</span><br /> CONTROL <span style=\"color: #ff0000;\">\"&End\"</span>, IDCANCEL, <span style=\"color: #ff0000;\">\"Button\"</span>, WS_TABSTOP, <span style=\"color: #000000;\">264</span>, <span style=\"color: #000000;\">84</span>, <span style=\"color: #000000;\">33</span>, <span style=\"color: #000000;\">12</span><br />END<br />FIVEWIN <span style=\"color: #0000ff;\">ICON</span> <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\\\</span>icons<span style=\"color: #000000;\">\\\\</span>fivewin.ico\"</span><br /> </div>[/code:2fluyz4j]",
"time": "11:13",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Otto,\n\nFor selected Countrys, change the defined Length 220 Pixel to 200 Pixel\nAs well You can do some fine-adjustment, to bring some not exact adjusted text in vertical-line.\n\n[img:2ljfhza4]http://www.pflegeplus.com/pictures/combo2.jpg[/img:2ljfhza4]\n\nThe modified Array ( prg ) I send You by Email.\n\nRegards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "18:09",
"topic": "Combobox dropdown style - search",
"username": "ukoenig"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you Uwe.\nBut you changed the style to CBS_DROPDOWNLIST.\nI need CBS_DROPDOWN.\n\nI think I need the help of Antonio.\nThis worked in FIVEWIN 16 bit but I can’t get this functionality in FWH.\nThank you and best regards,\nOtto",
"time": "20:21",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto\n\nThanks, it works fine.\n\nMaybe You like this little change ?\n\n[img:1u8eiit0]http://www.pflegeplus.com/pictures/combo1.jpg[/img:1u8eiit0]\n\n[code=fw:1u8eiit0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <br /><span style=\"color: #00C800;\">local</span> cItem := xPADR <span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'Österreich'</span>, <span style=\"color: #000000;\">200</span><span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">'A '</span><br /><span style=\"color: #00C800;\">local</span> aItems:=<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span> AAdd<span style=\"color: #000000;\">(</span> aItems, xPADR <span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'Österreich'</span>, <span style=\"color: #000000;\">200</span><span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">'A '</span> <span style=\"color: #000000;\">)</span><br /> <br />AAdd<span style=\"color: #000000;\">(</span> aItems, xPADR <span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'Albanien'</span>, <span style=\"color: #000000;\">200</span><span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">'AL '</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, xPADR <span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'Andorra'</span>, <span style=\"color: #000000;\">200</span><span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">'AND '</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, xPADR <span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'Amerikanisch-Samoa'</span>, <span style=\"color: #000000;\">200</span><span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">'ASM '</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, xPADR <span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'Belgien'</span>, <span style=\"color: #000000;\">200</span><span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">'B '</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, xPADR <span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'Burgenland'</span>, <span style=\"color: #000000;\">200</span><span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">'BGL '</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:1u8eiit0]\n\nxPADR fills a string to a given pixel-length, but it seems, it is not 100 % adjusted.\nDo You have any solution for it ?\n\nRegards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "15:12",
"topic": "Combobox dropdown style - search",
"username": "ukoenig"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hallo Uwe,\nkönntest du mir bitte deine exe mailen eventuell auch deine combobox.prg.\nDanke.\nMit freundlichem Gruß\nOtto",
"time": "16:17",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I tried to search with:\n\n[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 style=\"color: #000000;\">)</span>, nNewAt := AScan<span style=\"color: #000000;\">(</span>aItems, <span style=\"color: #000000;\">{</span>|x| Upper<span style=\"color: #000000;\">(</span>x<span style=\"color: #000000;\">)</span> = Upper<span style=\"color: #000000;\">(</span>cKey<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> ,;<br /> iif<span style=\"color: #000000;\">(</span>nNewAt > <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">(</span> oCbx:<span style=\"color: #0000ff;\">Select</span><span style=\"color: #000000;\">(</span> nNewAt <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ,<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span></div>[/code:1os8ahd2]\n\n\nSearch would work – but I can’t find out how to update the combobox.\n\nI tried to update the combobox with:\n\n[code=fw:1os8ahd2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Eval<span style=\"color: #000000;\">(</span> oCbx:<span style=\"color: #000000;\">bSetGet</span>, aItems<span style=\"color: #000000;\">[</span> nNewAt <span style=\"color: #000000;\">]</span></div>[/code:1os8ahd2]\n\nBut this errors out.\n\nDoes someone have a combobox dropdown – not dropdownlist working?\n\nThanks in advance\nOtto\n\n\nApplication\n===========\n Path and name: C:\\uwe\\testcomb.exe (32 bits)\n Size: 1,659,904 bytes\n Time from start: 0 hours 0 mins 3 secs \n Error occurred at: 02/16/09, 01:10:10\n Error description: Error BASE/1070 Argument error: ==\n Args:\n [ 1] = C Tadschikistan TJ \n [ 2] = N 0\n\nStack Calls\n===========\n Called from: .\\source\\classes\\TGET.PRG => TGET:KEYCHAR(0)\n Called from: => TWINDOW:HANDLEEVENT(0)\n Called from: .\\source\\classes\\CONTROL.PRG => TCONTROL:HANDLEEVENT(0)\n Called from: .\\source\\classes\\TGET.PRG => TGET:HANDLEEVENT(0)\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH(0)\n Called from: => DIALOGBOX(0)\n Called from: .\\source\\classes\\DIALOG.PRG => TDIALOG:ACTIVATE(0)\n Called from: C:\\uwe\\testcomb.prg => MAIN(306)",
"time": "01:13",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hello otto...\n\nmaybe this is a way... please check it\n\n[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: #000000;\">)</span>, nNewAt := AScan<span style=\"color: #000000;\">(</span>aItems, <span style=\"color: #000000;\">{</span>|x| Upper<span style=\"color: #000000;\">(</span>x<span style=\"color: #000000;\">)</span> = Upper<span style=\"color: #000000;\">(</span>cKey<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> ,;<br /> iif<span style=\"color: #000000;\">(</span>nNewAt > <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">(</span> oCbx:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">VarPut</span><span style=\"color: #000000;\">(</span>aItems<span style=\"color: #000000;\">[</span> nNewAt <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span> , oCbx:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> </div>[/code:3tk6b6v2]",
"time": "02:34",
"topic": "Combobox dropdown style - search",
"username": "Daniel Garcia-Gil"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\n\nCombobox 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.\n\nI made a comboclass , first with tsbrowse , now with xbrowse. Till a few month agoa building a class for it , now using a xbrowse defined without the TO odlg clausule. Your example would be :\n\n[code=fw:2186enqo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">Function</span> module4<span style=\"color: #000000;\">(</span>oWnd<span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg, oGet , oSay<br /> <span style=\"color: #00C800;\">local</span> cItem := <span style=\"color: #ff0000;\">\"Österreich A \"</span><br /> <span style=\"color: #00C800;\">local</span> aItems:=<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span><br /><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Österreich A \"</span> <span style=\"color: #000000;\">)</span><br />AAdd<span style=\"color: #000000;\">(</span> aItems, <span style=\"color: #ff0000;\">\"Belgien B \"</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #B900B9;\">/* ....... */</span><br /><br />aItems := Make2Dim<span style=\"color: #000000;\">(</span>aItems<span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Aadd also index number (recno)</span><br />cItem := <span style=\"color: #ff0000;\">\"B \"</span><br /><br /> SET _3DLOOK <span style=\"color: #0000ff;\">ON</span><br /><br />@ <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw ARRAY aItems AUTOSORT;<br /> COLUMNS <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">3</span>;<br /> SIZES <span style=\"color: #000000;\">30</span>,<span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">50</span>;<br /> HEADERS <span style=\"color: #ff0000;\">\"Code\"</span>,<span style=\"color: #ff0000;\">\"Country Name\"</span>,<span style=\"color: #ff0000;\">\"Recno\"</span><br />oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Hide</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Recno </span><br />oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bOrder</span> := <span style=\"color: #000000;\">{</span>|Arr|Nm_Alfa<span style=\"color: #000000;\">(</span>Arr<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>,.F.<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOg</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"TestCombo\"</span><br /><br /> <span style=\"color: #0000ff;\">REDEFINE</span> GET oGet <span style=\"color: #0000ff;\">VAR</span> cItem <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">110</span> <span style=\"color: #0000ff;\">OF</span> oDlg PICTURE <span style=\"color: #ff0000;\">\"@K\"</span> <span style=\"color: #B900B9;\">//VALID Inp > \"b\"</span><br /> MakeGetBox<span style=\"color: #000000;\">(</span>oGet,<span style=\"color: #000000;\">1</span>,oBrw<span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// 1 : seekcol number , this column must update the get</span><br /> oGet:<span style=\"color: #000000;\">cBmpName</span> := <span style=\"color: #ff0000;\">\"BITMAPS<span style=\"color: #000000;\">\\x</span>Combox2.bmp\"</span><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /> oGet:<span style=\"color: #000000;\">LinkBlock</span><span style=\"color: #000000;\">(</span>oSay,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// 2 : this column must update the say from oGet</span><br /> oGet:<span style=\"color: #000000;\">Makelink</span><span style=\"color: #000000;\">(</span>.T.<span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// The say receives his value</span><br /><br /><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">ACTION</span> oDLg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /> </div>[/code:2186enqo]\n\nThe inputfield is only the code from the country , maximum 3 characters. When not found , or when clicked on the get-button , the search xbrowse is activated as a combobox.\nEach column can be search column , only characterset from 32-127 are used , so to seek to NÖ you have to type NO\n\nFrank",
"time": "11:04",
"topic": "Combobox dropdown style - search",
"username": "demont frank"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Frank,\n\nAs I can’t get working incremental search in combobox I would like to test your solution with xBrowse.\nWould you be so kind to send me following functions:\nMAKE2DIM\nNM_ALFA\nMAKEGETBOX\n\nThanks in advance\nOtto",
"time": "19:41",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Otto,\n\nThat works, but it might be just the basics, to work on. I think, it can be done better.\nThe edit Char is always on the left-hand-side. Maybe there ia a way to place the cursor ?\nThe result is shown with some space next to the char.\nThe SPACE - Button clears the Input.\nThe DEL-Button ( Bottom-right of the Numeric-block ) deletes the last char.\nIncremental-search works with this solution.\nI modifyed the search-string : the first char has to be Upper, the rest lower.\nAll incoming chars are lower\nThat means : < United States > works with United but S ( States ) is converted to Lower.\nYou can solve it with : convert to upper, if the char before is a space.\n\n[img:7vlnsxi0]http://www.pflegeplus.com/pictures/increment.jpg[/img:7vlnsxi0]\n\n[code=fw:7vlnsxi0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCbx <span style=\"color: #0000ff;\">VAR</span> cItem <span style=\"color: #0000ff;\">ITEMS</span> aItems ; <span style=\"color: #B900B9;\">// { \"Testing\", \"this\", \"ComboBox\" } ;</span><br /> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">110</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">(</span> oSayItem:<span style=\"color: #000000;\">cTitle</span> := cItem,; <span style=\"color: #B900B9;\">// We should use also :SetText()</span><br /> oSayAt:<span style=\"color: #000000;\">cTitle</span> := <span style=\"color: #ff0000;\">\":nAt = \"</span> + Str<span style=\"color: #000000;\">(</span> oCbx:<span style=\"color: #000000;\">nAt</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">(</span> MsgBeep<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, .t. <span style=\"color: #000000;\">)</span><br /><br />oCbx:<span style=\"color: #000000;\">bKeyDown</span> = <span style=\"color: #000000;\">{</span> | nKey | Increment<span style=\"color: #000000;\">(</span>oCbx,nKey,cItem,aItems,oSayItem<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">SAY</span> oSayItem <span style=\"color: #0000ff;\">VAR</span> cSAY <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br />---------------------------------------------------------------------------<span style=\"color: #B900B9;\">//</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Increment<span style=\"color: #000000;\">(</span>oCbx,nKey,cItem,aItems,oSayItem<span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">IF</span> nKey = <span style=\"color: #000000;\">32</span> <span style=\"color: #B900B9;\">// SPACE clears display</span><br /> cItem := <span style=\"color: #ff0000;\">\"\"</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #00C800;\">IF</span> nKey = <span style=\"color: #000000;\">110</span> <span style=\"color: #B900B9;\">// Delete last Char ( use from numeric block )</span><br /> cItem := <span style=\"color: #0000ff;\">Substr</span><span style=\"color: #000000;\">(</span>cItem, <span style=\"color: #000000;\">1</span>, LEN<span style=\"color: #000000;\">(</span>cItem<span style=\"color: #000000;\">)</span> - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">ELSE</span><br /> cKey := LOWER<span style=\"color: #000000;\">(</span>chr<span style=\"color: #000000;\">(</span>nKey<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// numeric to CHAR</span><br /> cItem := LTRIM<span style=\"color: #000000;\">(</span> cItem + cKey <span style=\"color: #000000;\">)</span><br /> cItem := <span style=\"color: #0000ff;\">Substr</span><span style=\"color: #000000;\">(</span>Upper<span style=\"color: #000000;\">(</span>cItem<span style=\"color: #000000;\">)</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span> + <span style=\"color: #0000ff;\">Substr</span><span style=\"color: #000000;\">(</span>cItem, <span style=\"color: #000000;\">2</span>, LEN<span style=\"color: #000000;\">(</span>cItem<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">ENDIF</span><br /><span style=\"color: #B900B9;\">// Shows single-char, some space + the search-string</span><br /><span style=\"color: #B900B9;\">// -----------------------------------------------------------</span><br />oCbx:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">VarPut</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\" \"</span> + cItem <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// left space for result</span><br />nNewAt := AScan<span style=\"color: #000000;\">(</span>aItems, cItem <span style=\"color: #000000;\">)</span> <br /><br /><span style=\"color: #B900B9;\">// Replace the SAY with the Result</span><br /><span style=\"color: #B900B9;\">// --------------------------------------</span><br /><span style=\"color: #00C800;\">IF</span> nNewAt > <span style=\"color: #000000;\">0</span><br /> oSayItem:<span style=\"color: #000000;\">VarPut</span><span style=\"color: #000000;\">(</span> aItems<span style=\"color: #000000;\">[</span> nNewAt <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span> <br /><span style=\"color: #00C800;\">ENDIF</span> <br />oCbx:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />oSayItem:<span style=\"color: #000000;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /> </div>[/code:7vlnsxi0]\n\nRegards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "19:46",
"topic": "Combobox dropdown style - search",
"username": "ukoenig"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\n\nTry this:\n\nREDEFINE COMBOBOX oCbx VAR cItem ITEMS aItems ;\n ID 110 OF oDlg\noCbx:lIncSearch:=.t.\n\nlIncSearch is a new var in ver 8.08 and it defaults to .f., so you have to turn it on to get incremental searching.\n\nRegards,\nJames",
"time": "20:02",
"topic": "Combobox dropdown style - search",
"username": "James Bott"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello James\nThank you for your help.\nI tried your suggestion: oCbx:lIncSearch:=.t. \nBut does not turn on the searching.\n\n Uwe, your incremental function has the same problem as my own attempts. The get field is not filled.\n\nBest regards,\nOtto",
"time": "23:35",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Otto\":2oco6c84]Hello Frank,\n\nAs I can’t get working incremental search in combobox I would like to test your solution with xBrowse.\nWould you be so kind to send me following functions:\nMAKE2DIM\nNM_ALFA\nMAKEGETBOX\n\nThanks in advance\nOtto[/quote:2oco6c84]\n\nOk , it was send\n\nFrank",
"time": "13:04",
"topic": "Combobox dropdown style - search",
"username": "demont frank"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Otto,\n\nFirst, 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.\n\nSecond, besides James suggestion to set oCbx:lIncSearch := .T., you have to set this line:\n[code=fw:2pylx44p]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCbx <span style=\"color: #0000ff;\">VAR</span> cItem <span style=\"color: #0000ff;\">ITEMS</span> aItems ;<br /> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">110</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">(</span> oSayItem:<span style=\"color: #000000;\">cTitle</span> := oCbx:<span style=\"color: #000000;\">GetText</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">(</span> MsgBeep<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, .t. <span style=\"color: #000000;\">)</span><br /> <br /> oCbx:<span style=\"color: #000000;\">lIncSearch</span> := .T.<br /> oCbx:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">bKeyChar</span> = <span style=\"color: #000000;\">{</span> | nKey | oCbx:<span style=\"color: #000000;\">KeyChar</span><span style=\"color: #000000;\">(</span> nKey <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #B900B9;\">// this one!</span><br /> </div>[/code:2pylx44p]\nAs you are using a CBS_DROPDOWN (that uses a GET) instead of a CBS_DROPDOWNLIST (that does not uses a GET).\n\nWith these changes, your example is working fine here <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "23:46",
"topic": "Combobox dropdown style - search",
"username": "Antonio Linares"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nI changed the code but it does not work.\nThe changes you suggest make a DROPDOWNLIST behavior out of the DROPDOWN box.\n\nYou can’t insert a new text. \nI need the dropdown behavior this means you can select an item or you can insert a new one.\n\nThanks in advance\nOtto",
"time": "00:20",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\n\nOk, I see what you want. Please make this change in Class TComboBox Method KeyChar:\n[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> <br /> <span style=\"color: #00C800;\">if</span> nNewAt == <span style=\"color: #000000;\">0</span> <br /> nNewAt = AScan<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aItems</span>, <span style=\"color: #000000;\">{</span>|x| Upper<span style=\"color: #000000;\">(</span>x<span style=\"color: #000000;\">)</span> = Upper<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">cSearchKey</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">// if nNewAt > 0 .and. Len( ::aItems ) <= nNewAt </span><br /> <span style=\"color: #B900B9;\">// uItem = ::aItems[ nNewAt ] </span><br /> <span style=\"color: #B900B9;\">// endif </span><br /> uItem = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nNewAt > <span style=\"color: #000000;\">0</span>, ::<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">[</span> nNewAt <span style=\"color: #000000;\">]</span>, ::<span style=\"color: #000000;\">cSearchKey</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span> <br /> uItem = ::<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">Max</span><span style=\"color: #000000;\">(</span> nNewAt, <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">]</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> ::<span style=\"color: #000000;\">Set</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ValType<span style=\"color: #000000;\">(</span> Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bSetGet</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"N\"</span>, AScan<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aItems</span>, uItem <span style=\"color: #000000;\">)</span>, uItem <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /> ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">cSearchKey</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span> <br />...<br /> </div>[/code:2ao2wczf]\nPlease keep this line:\n oCbx:oGet:bKeyChar = { | nKey | oCbx:KeyChar( nKey ) }\nWe may need a new DATA to select this new behavior.\n\nPlease download the EXE from here to test it:\n<!-- m --><a class=\"postlink\" href=\"http://www.mediafire.com/?sharekey=f67bd89f36e84494af924764f9977b1da5f24ef1081738b45621d66e282a0ee8\">http://www.mediafire.com/?sharekey=f67b ... 6e282a0ee8</a><!-- m -->\nType \"antonio\" and see how it behaves. Then delete char by char <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "01:26",
"topic": "Combobox dropdown style - search",
"username": "Antonio Linares"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "> We may need a new DATA to select this new behavior.\n\nWe can avoid it if we check if oCbx:oGet is != nil",
"time": "10:49",
"topic": "Combobox dropdown style - search",
"username": "Antonio Linares"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\n\nThis 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:-) -->\n[code=fw:1jaqwexc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> KeyChar<span style=\"color: #000000;\">(</span> nKey, nFlags <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TComboBox <br /><br /> <span style=\"color: #00C800;\">local</span> nNewAT := <span style=\"color: #000000;\">0</span>, nOldAT := ::<span style=\"color: #000000;\">nAT</span>, uItem <br /><br /> <span style=\"color: #00C800;\">if</span> Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aItems</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #000000;\">0</span> <br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">0</span> <br /> <span style=\"color: #00C800;\">endif</span><br /><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">lIncSearch</span><br /> <span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">case</span> <br /> <span style=\"color: #00C800;\">case</span> nKey = <span style=\"color: #000000;\">32</span> <span style=\"color: #B900B9;\">// VK_DELETE do not work! </span><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oGet</span> == <span style=\"color: #00C800;\">nil</span><br /> ::<span style=\"color: #000000;\">cSearchKey</span> = <span style=\"color: #ff0000;\">\"\"</span> <br /> nNewAt = <span style=\"color: #000000;\">1</span> <br /> uItem = ::<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">[</span> nNewAt <span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">else</span> <br /> ::<span style=\"color: #000000;\">cSearchKey</span> += <span style=\"color: #ff0000;\">\" \"</span><br /> <span style=\"color: #00C800;\">endif</span> <br /> <br /> <span style=\"color: #00C800;\">case</span> nKey = VK_BACK <br /> ::<span style=\"color: #000000;\">cSearchKey</span> = <span style=\"color: #0000ff;\">Left</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">cSearchKey</span>, Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">cSearchKey</span> <span style=\"color: #000000;\">)</span> - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <br /> <br /> <span style=\"color: #00C800;\">case</span> nKey = <span style=\"color: #000000;\">190</span> <br /> nKey = <span style=\"color: #000000;\">0</span> <br /> ::<span style=\"color: #000000;\">cSearchKey</span> += <span style=\"color: #ff0000;\">\".\"</span> <br /> <br /> <span style=\"color: #00C800;\">otherwise</span> <br /> ::<span style=\"color: #000000;\">cSearchKey</span> += Chr<span style=\"color: #000000;\">(</span> nKey <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">endcase</span> <br /> <br /> <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">(</span> uItem <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">if</span> nNewAt == <span style=\"color: #000000;\">0</span> <br /> nNewAt = AScan<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aItems</span>, <span style=\"color: #000000;\">{</span>|x| x = ::<span style=\"color: #000000;\">cSearchKey</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oGet</span> == <span style=\"color: #00C800;\">nil</span><br /> uItem = ::<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">[</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nNewAt > <span style=\"color: #000000;\">0</span>, nNewAt, <span style=\"color: #0000ff;\">Max</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">nAT</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">]</span> <br /> <span style=\"color: #00C800;\">else</span> <br /> uItem = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nNewAt > <span style=\"color: #000000;\">0</span>, ::<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">[</span> nNewAt <span style=\"color: #000000;\">]</span>, ::<span style=\"color: #000000;\">cSearchKey</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">else</span> <br /> uItem = ::<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">Max</span><span style=\"color: #000000;\">(</span> nNewAt, <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">]</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> ::<span style=\"color: #000000;\">Set</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ValType<span style=\"color: #000000;\">(</span> Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bSetGet</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"N\"</span>, AScan<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aItems</span>, uItem <span style=\"color: #000000;\">)</span>, uItem <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oGet</span> != <span style=\"color: #00C800;\">nil</span><br /> ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">cSearchKey</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">bChange</span> != <span style=\"color: #00C800;\">nil</span> <br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oGet</span> != <span style=\"color: #00C800;\">nil</span> .or. <span style=\"color: #000000;\">(</span> nNewAT != nOldAt .and. nNewAt != <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span> <br /> Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bChange</span>, <span style=\"color: #00C800;\">Self</span>, ::<span style=\"color: #000000;\">VarGet</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /><br /> <span style=\"color: #00C800;\">if</span> nKey == VK_RETURN <br /> <span style=\"color: #00C800;\">return</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">GoNextCtrl</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lIncSearch</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:1jaqwexc]\nHere you have the EXE to test it:\n<!-- m --><a class=\"postlink\" href=\"http://www.mediafire.com/?sharekey=414c17b7b136abb70f83d91f6dff7c38c129d7fc2b299575b8eada0a1ae8665a\">http://www.mediafire.com/?sharekey=414c ... 0a1ae8665a</a><!-- m -->",
"time": "11:07",
"topic": "Combobox dropdown style - search",
"username": "Antonio Linares"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "To avoid case sensitive make this change in the proposed Method KeyChar():\n[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 style=\"color: #000000;\">(</span> x <span style=\"color: #000000;\">)</span> = Upper<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">cSearchKey</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <br /> </div>[/code:a8goqyj0]",
"time": "12:14",
"topic": "Combobox dropdown style - search",
"username": "Antonio Linares"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Antonio,\n\nVK_TAB is working now. \nThanks again,\nOtto",
"time": "22:48",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nMay 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.\n\nRegards,\nJames",
"time": "17:21",
"topic": "Combobox dropdown style - search",
"username": "James Bott"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "James,\n\nThats is what we are doing. It only works when lIncSearch is .T. and the style is dropdown.\n\nAccording to Otto tests, we are close to get it fully functional. Still there are some behaviors to solve.",
"time": "18:23",
"topic": "Combobox dropdown style - search",
"username": "Antonio Linares"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-18",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\n\nThis is a modified Method KeyChar() that provides support for VK_TAB. Here it is working fine.\n\nI appreciate your feedback, thanks <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n[code=fw:2tq91uy9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> KeyChar<span style=\"color: #000000;\">(</span> nKey, nFlags <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TComboBox <br /><br /> <span style=\"color: #00C800;\">local</span> nNewAT := <span style=\"color: #000000;\">0</span>, nOldAT := ::<span style=\"color: #000000;\">nAT</span>, uItem <br /><br /> <span style=\"color: #00C800;\">if</span> Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aItems</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #000000;\">0</span> <br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">0</span> <br /> <span style=\"color: #00C800;\">endif</span><br /><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">lIncSearch</span><br /> <span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">case</span> <br /> <span style=\"color: #00C800;\">case</span> nKey = <span style=\"color: #000000;\">32</span> <span style=\"color: #B900B9;\">// VK_DELETE (DO NOT WORK!) </span><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oGet</span> == <span style=\"color: #00C800;\">nil</span><br /> ::<span style=\"color: #000000;\">cSearchKey</span> = <span style=\"color: #ff0000;\">\"\"</span> <br /> nNewAt = <span style=\"color: #000000;\">1</span> <br /> uItem = ::<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">[</span> nNewAt <span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">else</span> <br /> ::<span style=\"color: #000000;\">cSearchKey</span> += <span style=\"color: #ff0000;\">\" \"</span><br /> <span style=\"color: #00C800;\">endif</span> <br /> <br /> <span style=\"color: #00C800;\">case</span> nKey = VK_BACK <br /> ::<span style=\"color: #000000;\">cSearchKey</span> = <span style=\"color: #0000ff;\">Left</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">cSearchKey</span>, Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">cSearchKey</span> <span style=\"color: #000000;\">)</span> - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <br /> <br /> <span style=\"color: #00C800;\">case</span> nKey = <span style=\"color: #000000;\">190</span> <br /> nKey = <span style=\"color: #000000;\">0</span> <br /> ::<span style=\"color: #000000;\">cSearchKey</span> += <span style=\"color: #ff0000;\">\".\"</span> <br /> <br /> <span style=\"color: #00C800;\">case</span> ::<span style=\"color: #000000;\">oGet</span> != <span style=\"color: #00C800;\">nil</span> .and. nKey = VK_TAB<br /> <span style=\"color: #00C800;\">if</span> ! GetKeyState<span style=\"color: #000000;\">(</span> VK_SHIFT <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">GoNextCtrl</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span> <br /> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">GoPrevCtrl</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">0</span> <br /> <br /> <span style=\"color: #00C800;\">otherwise</span> <br /> ::<span style=\"color: #000000;\">cSearchKey</span> += Chr<span style=\"color: #000000;\">(</span> nKey <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">endcase</span> <br /> <br /> <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">(</span> uItem <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">if</span> nNewAt == <span style=\"color: #000000;\">0</span> <br /> nNewAt = AScan<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aItems</span>, <span style=\"color: #000000;\">{</span>|x| x = ::<span style=\"color: #000000;\">cSearchKey</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oGet</span> == <span style=\"color: #00C800;\">nil</span><br /> uItem = ::<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">[</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nNewAt > <span style=\"color: #000000;\">0</span>, nNewAt, <span style=\"color: #0000ff;\">Max</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">nAT</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">]</span> <br /> <span style=\"color: #00C800;\">else</span> <br /> uItem = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nNewAt > <span style=\"color: #000000;\">0</span>, ::<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">[</span> nNewAt <span style=\"color: #000000;\">]</span>, ::<span style=\"color: #000000;\">cSearchKey</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">else</span> <br /> uItem = ::<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">Max</span><span style=\"color: #000000;\">(</span> nNewAt, <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">]</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> ::<span style=\"color: #000000;\">Set</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ValType<span style=\"color: #000000;\">(</span> Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bSetGet</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"N\"</span>, AScan<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">aItems</span>, uItem <span style=\"color: #000000;\">)</span>, uItem <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oGet</span> != <span style=\"color: #00C800;\">nil</span><br /> ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">SetPos</span><span style=\"color: #000000;\">(</span> Len<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">cSearchKey</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">bChange</span> != <span style=\"color: #00C800;\">nil</span> <br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oGet</span> != <span style=\"color: #00C800;\">nil</span> .or. <span style=\"color: #000000;\">(</span> nNewAT != nOldAt .and. nNewAt != <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span> <br /> Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">bChange</span>, <span style=\"color: #00C800;\">Self</span>, ::<span style=\"color: #000000;\">VarGet</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /><br /> <span style=\"color: #00C800;\">if</span> nKey == VK_RETURN <br /> <span style=\"color: #00C800;\">return</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">GoNextCtrl</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">lIncSearch</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:2tq91uy9]",
"time": "20:42",
"topic": "Combobox dropdown style - search",
"username": "Antonio Linares"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Antonio,\n\nin your last change of the method you didn't include the change\n //nNewAt = AScan( ::aItems, {|x| x = ::cSearchKey } ) \n nNewAt = AScan( ::aItems, {|x| Upper( x ) = Upper( ::cSearchKey ) } ) \n\nBest regards,\nOtto",
"time": "17:11",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-02-19",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\n[url:ky9yc2xw]http://www.atzwanger.info/kartei2/kartei2.htm[/url:ky9yc2xw]\n\nPlease help me with this problem. I want to edit the field \"briefanrede\". But the changes go away. \nThanks in advance\nOtto",
"time": "18:58",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-03-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Antonio,\n\nAs a workaround for I changed the KeyChar method in [b:msbzhagt]TGet[/b:msbzhagt].\n\nI inserted a \nreturn Super:KeyChar( nKey, nFlags )\nat the beginning of the method.\n\nNow search in [b:msbzhagt]combobox[/b:msbzhagt] is working.\nI take the original combobox without the suggested changes. The changes I made only in TGet.\n\nAs I don’t be aware what other disadvantages the change has I copied Tget and call from combobox the copy with the changes.\n\nBest regards,\nOtto\n\n\n\nMETHOD KeyChar( nKey, nFlags ) CLASS TGet\n\n local nHi, nLo\n local lAccept\n local bKeyAction := SetKey( nKey )\n local nDefButton\n\nreturn Super:KeyChar( nKey, nFlags )",
"time": "22:11",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-03-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Antonio,\n\nWhy do we need a TGet with CBS_Dropdown? Is this only for the TAB order?\n\nIf I commend out the following lines searching works but the Tab order is false.\n\nRegards,\nOtto\n\n[code=fw:gb677khh]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">if</span> lAnd<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">nStyle</span>, CBS_DROPDOWN <span style=\"color: #000000;\">)</span><br /> #ifdef __XPP__<br /> #undef <span style=\"color: #00C800;\">New</span><br /> #endif<br /> ::<span style=\"color: #000000;\">oGet</span> := TGet<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #0000ff;\">ReDefine</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">nil</span>, ; <span style=\"color: #B900B9;\">// ID not used</span><br /> ::<span style=\"color: #000000;\">bSetGet</span>, ; <span style=\"color: #B900B9;\">// bSETGET(uVar)</span><br /> <span style=\"color: #00C800;\">Self</span>, ; <span style=\"color: #B900B9;\">// oDlg</span><br /> ::<span style=\"color: #000000;\">nHelpID</span>, ; <span style=\"color: #B900B9;\">// Help Context ID</span><br /> cPict, ; <span style=\"color: #B900B9;\">// Picture</span><br /> <span style=\"color: #00C800;\">nil</span>, ; <span style=\"color: #B900B9;\">// Valid is handled by the CBx</span><br /> ::<span style=\"color: #000000;\">nClrText</span>,;<br /> ::<span style=\"color: #000000;\">nClrPane</span>,;<br /> ::<span style=\"color: #000000;\">oFont</span>, ; <span style=\"color: #B900B9;\">// <oFont></span><br /> <span style=\"color: #00C800;\">nil</span>, ; <span style=\"color: #B900B9;\">// <oCursor></span><br /> cMsg, ; <span style=\"color: #B900B9;\">// cMsg</span><br /> <span style=\"color: #00C800;\">nil</span>, ; <span style=\"color: #B900B9;\">// <.update.></span><br /> <span style=\"color: #00C800;\">nil</span>, ; <span style=\"color: #B900B9;\">// <{uWhen}></span><br /> bEChange, ; <span style=\"color: #B900B9;\">// {|nKey,nFlags,Self| <uEChange>}</span><br /> .F. <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// <.readonly.> )</span><br /> ::<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">bKeyChar</span> = <span style=\"color: #000000;\">{</span> | nKey | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span> nKey == VK_TAB .and. ! GetKeyState<span style=\"color: #000000;\">(</span> VK_SHIFT <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> .or. ;<br /> nKey == VK_RETURN,;<br /> <span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">GoNextCtrl</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>,;<br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nKey == VK_TAB .and. GetKeyState<span style=\"color: #000000;\">(</span> VK_SHIFT <span style=\"color: #000000;\">)</span>,;<br /> <span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">GoPrevCtrl</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>,<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">endif</span></div>[/code:gb677khh]",
"time": "01:27",
"topic": "Combobox dropdown style - search",
"username": "Otto"
}
] | Combobox dropdown style - search |
[
{
"date": "2009-03-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Otto,\n\nA combobox with the style CBS_DROPDOWN automatically creates and manages a child TGet (standard Windows behavior). \n\nWhat 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 behavior for its Get.",
"time": "07:57",
"topic": "Combobox dropdown style - search",
"username": "Antonio Linares"
}
] | Combobox dropdown style - search |
[
{
"date": "2010-03-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Is ther a version of dropdown combobox by programming \"from source code\" ?",
"time": "09:25",
"topic": "Combobox dropdown style - search",
"username": "jds"
}
] | Combobox dropdown style - search |
[
{
"date": "2007-05-03",
"forum": "All products support",
"text": "Salve,\nsapere se è possibile riportare in un combobox solo un elemento di un array multidimensionale ?\n\nPer esempio dato un array di 2 dimensioni tipo:\n\naArray:=array(0,2)\naadd(aArray,{01,\"Primo\"})\naadd(aArray,{02,\"Secondo\"})\naadd(aArray,{03,\"Terzo\"})\n\nvorrei creare un combobox che mi riporta solo il secondo elemento dell'array ossia Primo,Secondo e Terzo.\n\nQualche idea a riguardo ?\n\nGrazie \n\nMarco",
"time": "08:08",
"topic": "Combobox e array multimensionali",
"username": "Marco Turco"
}
] | Combobox e array multimensionali |
[
{
"date": "2007-05-03",
"forum": "All products support",
"text": "Non credo si possa. Quello che puoi fare è definire l'array in modo diverso:\n\n[code:3t6whfex]aArray = { { 01, 02, 03 }, { \"Primo\", \"Secondo\", \"Terzo\" } }[/code:3t6whfex]\n\ne poi usare aArray[ 2 ] come lista da visualizzare.\n\nEMG",
"time": "12:47",
"topic": "Combobox e array multimensionali",
"username": "Enrico Maria Giordano"
}
] | Combobox e array multimensionali |
[
{
"date": "2012-11-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Eso, quiero poner un combobox en una buttonbar pero me arroja este error\n\n[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 style=\"color: #000000;\">(</span><span style=\"color: #000000;\">32</span> bits<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">Size</span>: <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">780</span>,<span style=\"color: #000000;\">672</span> bytes<br /> Compiler version: <span style=\"color: #000000;\">Harbour</span> <span style=\"color: #000000;\">3.1</span>.0dev <span style=\"color: #000000;\">(</span>Rev. <span style=\"color: #000000;\">17222</span><span style=\"color: #000000;\">)</span><br /> FiveWin Version: <span style=\"color: #000000;\">FWH</span> <span style=\"color: #000000;\">12.03</span><br /> Windows version: <span style=\"color: #000000;\">5.1</span>, Build <span style=\"color: #000000;\">2600</span> Service Pack <span style=\"color: #000000;\">2</span><br /><br /> Time <span style=\"color: #0000ff;\">from</span> start: <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">0</span> secs <br /> Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">10</span>/<span style=\"color: #000000;\">11</span>/<span style=\"color: #000000;\">2012</span>, <span style=\"color: #000000;\">12</span>:<span style=\"color: #000000;\">04</span>:<span style=\"color: #000000;\">37</span><br /> Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">1004</span> <span style=\"color: #0000ff;\">Message</span> not found: <span style=\"color: #000000;\">TCOMBOBOX</span>:<span style=\"color: #000000;\">LGROUP</span><br /> Args:<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> = O TCOMBOBOX<br /><br />Stack Calls<br />===========<br /> Called <span style=\"color: #0000ff;\">from</span>: => __ERRRT_SBASE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: ../../../tobject.prg => TCOMBOBOX:<span style=\"color: #000000;\">ERROR</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: ../../../tobject.prg => <span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>HBOBJECT<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: ../../../tobject.prg => TCOMBOBOX:<span style=\"color: #000000;\">MSGNOTFOUND</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: ../../../tobject.prg => TCOMBOBOX:<span style=\"color: #000000;\">LGROUP</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\sipep_sql\\bar.prg => TBAR:<span style=\"color: #0000ff;\">PAINT</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">764</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\sipep_sql\\bar.prg => <span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>TBAR<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">49</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\sipep_sql\\bar.prg => TBAR:<span style=\"color: #00C800;\">DISPLAY</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\CONTROL.PRG => TBAR:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1666</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => _FWH<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3153</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: => WINRUN<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TMDIFRAME:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">980</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\sipep_sql\\Sipep.prg => EMPIEZA<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">197</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\sipep_sql\\Sipep.prg => MAIN<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">13</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:3070ho1a]\n\nHay alguna solución para esto ??. Muchas gracias\n\nSaludos",
"time": "16:05",
"topic": "Combobox en Buttonbar",
"username": "horacio"
}
] | Combobox en Buttonbar |
[
{
"date": "2012-11-12",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Añade a la Clase TComboBox esta DATA:\n\nDATA lGroup INIT .F.",
"time": "11:22",
"topic": "Combobox en Buttonbar",
"username": "Antonio Linares"
}
] | Combobox en Buttonbar |
[
{
"date": "2012-11-12",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Antonio. Solucionado !!!\n\nSaludos",
"time": "12:32",
"topic": "Combobox en Buttonbar",
"username": "horacio"
}
] | Combobox en Buttonbar |
[
{
"date": "2011-09-22",
"forum": "FiveWin para Harbour/xHarbour",
"text": "En los samples no encuentro como hacerlo, se puede?\n\nmuchas gracias",
"time": "16:15",
"topic": "Combobox en Ribbon",
"username": "MarioG"
}
] | Combobox en Ribbon |
[
{
"date": "2011-09-22",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Mario,\n\nAqui tienes un ejemplo de como hacerlo:\n\n[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><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oWnd<br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /> <br /> BuildRibbonBar<span style=\"color: #000000;\">(</span> oWnd <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MAXIMIZED</span><br /> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span> <br /><br /><span style=\"color: #00C800;\">function</span> BuildRibbonBar<span style=\"color: #000000;\">(</span> oWnd, _oRBar <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oRBar, oGr1_1, oGr2_1, oCbx, cItem := <span style=\"color: #ff0000;\">\"One\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> RIBBONBAR oRBar <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"One\"</span>, <span style=\"color: #ff0000;\">\"Two\"</span>, <span style=\"color: #ff0000;\">\"Three\"</span> HEIGHT <span style=\"color: #000000;\">134</span> TOPMARGIN <span style=\"color: #000000;\">25</span><br /><br /> ADD GROUP oGr1_1 RIBBON oRBar <span style=\"color: #0000ff;\">TO</span> OPTION <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"new\"</span> WIDTH <span style=\"color: #000000;\">201</span> GRADIANT <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.1</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">218</span>, <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">243</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">218</span>, <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">243</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.9</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">199</span>, <span style=\"color: #000000;\">216</span>, <span style=\"color: #000000;\">237</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">218</span>, <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">243</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br /><br /> ADD GROUP oGr2_1 RIBBON oRBar <span style=\"color: #0000ff;\">TO</span> OPTION <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"new\"</span> WIDTH <span style=\"color: #000000;\">201</span> GRADIANT <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.1</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">218</span>, <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">243</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">218</span>, <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">243</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.9</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">199</span>, <span style=\"color: #000000;\">216</span>, <span style=\"color: #000000;\">237</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">218</span>, <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">243</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br /><br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCbx <span style=\"color: #0000ff;\">VAR</span> cItem <span style=\"color: #0000ff;\">ITEMS</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"One\"</span>, <span style=\"color: #ff0000;\">\"Two\"</span>, <span style=\"color: #ff0000;\">\"Three\"</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #0000ff;\">OF</span> oGr2_1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">100</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />\u001a</div>[/code:24px0tqo]",
"time": "17:45",
"topic": "Combobox en Ribbon",
"username": "Antonio Linares"
}
] | Combobox en Ribbon |
[
{
"date": "2011-09-23",
"forum": "FiveWin para Harbour/xHarbour",
"text": "muchas gracias Antonio\nes lo que necesitaba",
"time": "12:35",
"topic": "Combobox en Ribbon",
"username": "MarioG"
}
] | Combobox en Ribbon |
[
{
"date": "2006-11-26",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola,\n\nGracias 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\" /><!-- s:? --> .\n\n[url=http://img432.imageshack.us/my.php?image=defectoqy8.png:sxd4xkox][img:sxd4xkox]http://img432.imageshack.us/img432/5793/defectoqy8.th.png[/img:sxd4xkox][/url:sxd4xkox]\n\nAlguien ha podido resolver este problema?\n\nSi alguien tiene la solución, pues, soy todo oídos <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: --> .\n\nGracias desde ya",
"time": "20:37",
"topic": "Combobox en WBrowse de Hernán",
"username": "jose_murugosa"
}
] | Combobox en WBrowse de Hernán |
[
{
"date": "2013-09-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Quiero poner un ComboBox en una ButtonBar y me genera el siguiente error\n\n[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 TCOMBOBOX<br /><br />Stack Calls<br />===========<br /> Called <span style=\"color: #0000ff;\">from</span>: => __ERRRT_SBASE<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: ../../../tobject.prg => TCOMBOBOX:<span style=\"color: #000000;\">ERROR</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: ../../../tobject.prg => <span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>HBOBJECT<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: ../../../tobject.prg => TCOMBOBOX:<span style=\"color: #000000;\">MSGNOTFOUND</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: ../../../tobject.prg => TCOMBOBOX:<span style=\"color: #000000;\">LGROUP</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\administrador\\bar.prg => TBAR:<span style=\"color: #0000ff;\">PAINT</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">764</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\administrador\\bar.prg => <span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>TBAR<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">49</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\administrador\\bar.prg => TBAR:<span style=\"color: #00C800;\">DISPLAY</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\CONTROL.PRG => TBAR:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1666</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => _FWH<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3153</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: => UPDATEWINDOW<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TWINDOW:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">964</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">MDICHILD</span>.PRG => TMDICHILD:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">248</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\administrador\\conceptos.prg => TABLACONCEPTOS<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">103</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\administrador\\administrador.prg => <span style=\"color: #000000;\">(</span>b<span style=\"color: #000000;\">)</span>START<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">43</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TMDIFRAME:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">973</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\administrador\\administrador.prg => START<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">43</span> <span style=\"color: #000000;\">)</span><br /> Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\administrador\\administrador.prg => MAIN<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">27</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:22si1jyi]\nSin embargo en la clase rpreview está implementado con el zoom. Alguien tiene idea de porqué este error ? Muchísimas Gracias.",
"time": "15:40",
"topic": "Combobox en buttonbar",
"username": "horacio"
}
] | Combobox en buttonbar |
[
{
"date": "2013-09-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "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.\n\nSaludos",
"time": "22:55",
"topic": "Combobox en buttonbar",
"username": "horacio"
}
] | Combobox en buttonbar |
[
{
"date": "2013-09-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[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;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oIco, oBar, oBmp, oCombo, cSituation<br /> <span style=\"color: #00C800;\">LOCAL</span> cSituacao := <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"COMBOBOX1\"</span>, <span style=\"color: #ff0000;\">\"COMBOBOX2\"</span> <span style=\"color: #000000;\">}</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">ICON</span> oIco FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\i</span>cons<span style=\"color: #000000;\">\\f</span>ax.ico\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">22</span>, <span style=\"color: #000000;\">75</span> ;<br /> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"FiveWin sample\"</span> ;<br /> <span style=\"color: #0000ff;\">MENU</span> BuildMenu<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #ff0000;\">\"B/W\"</span> ;<br /> <span style=\"color: #0000ff;\">ICON</span> oIco<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBar _3D <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">26</span>, <span style=\"color: #000000;\">27</span> <span style=\"color: #0000ff;\">OF</span> oWnd<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\n</span>ew.bmp\"</span> FLAT ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"New\"</span> <span style=\"color: #000000;\">)</span> ;<br /> TOOLTIP <span style=\"color: #ff0000;\">\"Creates a new document\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\o</span>pen.bmp\"</span> FLAT ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> cGetFile<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"*.*\"</span>, <span style=\"color: #ff0000;\">\"Select a document to open\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> TOOLTIP <span style=\"color: #ff0000;\">\"Opens a document\"</span> <span style=\"color: #0000ff;\">WHEN</span> .f.<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\f</span>loppy.bmp\"</span> FLAT ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> Time<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> TOOLTIP <span style=\"color: #ff0000;\">\"Saves this document\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\p</span>rinter.bmp\"</span> FLAT ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Prints this document\"</span> <span style=\"color: #000000;\">)</span> TOOLTIP <span style=\"color: #ff0000;\">\"Print this document\"</span> GROUP<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\p</span>rop.bmp\"</span> FLAT ;<br /> <span style=\"color: #0000ff;\">ACTION</span> PrinterSetup<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> TOOLTIP <span style=\"color: #ff0000;\">\"Setup the printer\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\H</span>elpInd.bmp\"</span> FLAT ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> Version<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> TOOLTIP <span style=\"color: #ff0000;\">\"A multiple lines\"</span> + ;<br /> Chr<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">13</span> <span style=\"color: #000000;\">)</span> + Chr<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"tooltip!\"</span> GROUP<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\H</span>elp.bmp\"</span> FLAT ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"fivewin power!\"</span> <span style=\"color: #000000;\">)</span> TOOLTIP <span style=\"color: #ff0000;\">\"fivewin power!\"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #0000ff;\">OF</span> oBar FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\E</span>xit.bmp\"</span> FLAT ;<br /> <span style=\"color: #0000ff;\">ACTION</span> oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> TOOLTIP <span style=\"color: #ff0000;\">\"Exit this app\"</span> GROUP<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #0000ff;\">OF</span> oWnd ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> FWVERSION + <span style=\"color: #ff0000;\">\" \"</span> + FWCOPYRIGHT ;<br /> NOINSET <span style=\"color: #0000ff;\">CENTERED</span> KEYBOARD DATE CLOCK<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> BITMAP oBmp FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\f</span>iveback.bmp\"</span><br /><br /> oWnd:<span style=\"color: #000000;\">bPainted</span> = <span style=\"color: #000000;\">{</span> | hDC | BmpTiled<span style=\"color: #000000;\">(</span> hDC, oWnd, oBmp <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /> <span style=\"color: #B900B9;\">// COMBOBOX EN BUTTONBAR EN FIVEWIN 13.06</span><br /> @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">300</span> <span style=\"color: #0000ff;\">COMBOBOX</span> oCombo <span style=\"color: #0000ff;\">VAR</span> cSituation <span style=\"color: #0000ff;\">ITEMS</span> cSituacao <span style=\"color: #0000ff;\">OF</span> oBar ;<br /> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">UPDATE</span> <span style=\"color: #0000ff;\">STYLE</span> CBS_DROPDOWNLIST<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd ;<br /> <span style=\"color: #0000ff;\">VALID</span> MsgYesNo<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Do you want to quit ?\"</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> BuildMenu<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oMenu<br /><br /> <span style=\"color: #0000ff;\">MENU</span> oMenu<br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Information\"</span><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&About...\"</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> FWDESCRIPTION <span style=\"color: #000000;\">)</span> ;<br /> FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\i</span>nfo.bmp\"</span><br /> <span style=\"color: #0000ff;\">SEPARATOR</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&End...\"</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\e</span>xit.bmp\"</span><br /><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Clients\"</span><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&New...\"</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> MsgStop<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"New Clients\"</span> <span style=\"color: #000000;\">)</span>,;<br /> oWnd:<span style=\"color: #0000ff;\">Say</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #ff0000;\">\"New Clients...\"</span>, <span style=\"color: #ff0000;\">\"GR+/G\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\f</span>aces.bmp\"</span><br /><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Modify...\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Modif. Clients\"</span> <span style=\"color: #000000;\">)</span> ;<br /> FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\e</span>dit.bmp\"</span><br /><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Delete...\"</span> <span style=\"color: #0000ff;\">ACTION</span> MsgAlert<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Del Clients\"</span> <span style=\"color: #000000;\">)</span> ;<br /> FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\d</span>elete.bmp\"</span><br /><br /> <span style=\"color: #0000ff;\">SEPARATOR</span><br /><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Browse...\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Browse Clients\"</span> <span style=\"color: #000000;\">)</span> ;<br /> FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\b</span>rowse.bmp\"</span><br /><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Utilities\"</span><br /> <span style=\"color: #0000ff;\">MENU</span><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Calculator...\"</span> <span style=\"color: #0000ff;\">ACTION</span> WinExec<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Calc\"</span> <span style=\"color: #000000;\">)</span> ;<br /> FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\c</span>alc.bmp\"</span><br /><br /> <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"&Internet...\"</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> WinExec<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"start iexplore <!-- w --><a class=\"postlink\" href=\"http://www.fivetech.com\">www.fivetech.com</a><!-- w -->\"</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span> ;<br /> FILENAME <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\1</span>6x16<span style=\"color: #000000;\">\\e</span>xplorer.bmp\"</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /> <span style=\"color: #0000ff;\">ENDMENU</span><br /><br /><span style=\"color: #00C800;\">return</span> oMenu<br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> BmpTiled<span style=\"color: #000000;\">(</span> hDC, oWnd, oBmp <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> nWidth := oWnd:<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, nHeight := oWnd:<span style=\"color: #000000;\">nHeight</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> nRow := <span style=\"color: #000000;\">0</span>, nCol := <span style=\"color: #000000;\">0</span>, n<br /> <span style=\"color: #00C800;\">local</span> nBmpWidth := oBmp:<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, nBmpHeight := oBmp:<span style=\"color: #000000;\">nHeight</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">if</span> oBmp:<span style=\"color: #000000;\">hBitmap</span> == <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> <span style=\"color: #00C800;\">while</span> nRow < nHeight<br /> nCol = <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">while</span> nCol < nWidth<br /> PalBmpDraw<span style=\"color: #000000;\">(</span> hDC, nRow, nCol, oBmp:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">)</span><br /> nCol += nBmpWidth<br /> end<br /> nRow += nBmpHeight<br /> end<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /> </div>[/code:3itis0az]\n\u001a",
"time": "19:16",
"topic": "Combobox en buttonbar",
"username": "karinha"
}
] | Combobox en buttonbar |
[
{
"date": "2013-09-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "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 clase TxBrowse, si incorporaba los fuentes a mi proyecto me daba error en algunas operaciones, esto no pasa si uso las librerias originales. Mi entorno de trabajo para este proyecto es FWH 12.04, Harbour 3.1.0 y BCC 5.82. Trabajando con xHarbour ninguno de los errores descriptos sucede. ¿ que puede estar ocurriendo ? Muchas gracias.\n\nSaludos",
"time": "20:38",
"topic": "Combobox en buttonbar",
"username": "horacio"
}
] | Combobox en buttonbar |
[
{
"date": "2013-09-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Mis desculpas Horácio, no uso HARBOUR. Solo XHARBOUR.\n\nCreo que el Maestro Antonio puede aydarte.\n\nSalu2.",
"time": "21:20",
"topic": "Combobox en buttonbar",
"username": "karinha"
}
] | Combobox en buttonbar |
[
{
"date": "2013-09-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Horacio\nYo uso\n[quote:gvmueqs8]\n FWH 12.03 + Harbour \nHarbour 3.2.0dev (Rev. 17516)\nCopyright (c) 1999-2012, <!-- m --><a class=\"postlink\" href=\"http://harbour-project.org/\">http://harbour-project.org/</a><!-- m -->\n[/quote:gvmueqs8]\n y no he tenido nunca problemas con clases heredadas (ni con las versiones anteriores).\nPuedes probar la clase que uso yo para que el BAR no tenga borde, simplemente añadiéndolo como un .PRG mas a tu proyecto, es lo que yo hago para no modificar las clases originales.\nY aprovecho para hacer una pequeña reflexión:\nTodas las clases que contienen Define's en su código, que no son DATAs, y que están en el propio .Prg de la clase son más complicadas de crear \"clases heredadas\" si no copias también dichos defines en tu nuevo código. Porque no puedes modificar esos valores, ni siquiera en tu clase propia, ya que seguirían habiendo métodos en la clase original con esos mismos defines pero con otros valores y eso podría provocar un erróneo funcionamiento de la clase.\nSuelen ser para controlar determinados aspectos sobre todo de tipo estético o de dimensiones del control.\nQuizás habría que contemplar crear esos defines en ficheros .ch o convertirlos en DATAs, inicializadas a los valores que actualmente tienen los defines, dependiendo de su importancia ( [b:gvmueqs8]mi humilde opinión[/b:gvmueqs8] ).\nLo mismo pasa con la clase XBrowse\n\n[code=fw:gvmueqs8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">//</span><br /><span style=\"color: #B900B9;\">// Programa: TBarC.Prg</span><br /><span style=\"color: #B900B9;\">//</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> BAR_HEIGHT <span style=\"color: #000000;\">28</span><br /><span style=\"color: #00D7D7;\">#define</span> GRAY_BRUSH <span style=\"color: #000000;\">2</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> BAR_TOP <span style=\"color: #000000;\">1</span><br /><span style=\"color: #00D7D7;\">#define</span> BAR_LEFT <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00D7D7;\">#define</span> BAR_RIGHT <span style=\"color: #000000;\">3</span><br /><span style=\"color: #00D7D7;\">#define</span> BAR_DOWN <span style=\"color: #000000;\">4</span><br /><span style=\"color: #00D7D7;\">#define</span> BAR_FLOAT <span style=\"color: #000000;\">5</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> SM_CYBORDER <span style=\"color: #000000;\">6</span><br /><span style=\"color: #00D7D7;\">#define</span> SM_CYCAPTION <span style=\"color: #000000;\">4</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> COLOR_BTNFACE <span style=\"color: #000000;\">15</span><br /><span style=\"color: #00D7D7;\">#define</span> COLOR_BTNSHADOW <span style=\"color: #000000;\">16</span><br /><span style=\"color: #00D7D7;\">#define</span> COLOR_BTNHIGHLIGHT <span style=\"color: #000000;\">20</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> GROUP_SEP <span style=\"color: #000000;\">8</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">CLASS</span> TBarC <span style=\"color: #0000ff;\">FROM</span> TBar<br /><br />CLASSDATA lRegistered AS LOGICAL<br /><span style=\"color: #00C800;\">DATA</span> lBorder<br /><br /><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> oWnd, nBtnWidth, nBtnHeight, l3D, cMode, oCursor, l2007, l2010,;<br /> lBorder, oBrush, aGrad <span style=\"color: #000000;\">)</span> CONSTRUCTOR<br /><br /><span style=\"color: #00C800;\">METHOD</span> NewAt<span style=\"color: #000000;\">(</span> nRow, nCol, nWidth, nHeight, nBtnWidth, nBtnHeight, oWnd, l3D,;<br /> cMode, oCursor, lBorder, oBrush, aGrad <span style=\"color: #000000;\">)</span> CONSTRUCTOR<br /><br /><span style=\"color: #00C800;\">ENDCLASS</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> oWnd, nBtnWidth, nBtnHeight, l3D, cMode, oCursor, l2007, l2010,;<br /> lBorder, oBrush, aGrad <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TBarC<br /><br /> <span style=\"color: #00C800;\">local</span> oRect<br /><br /> <span style=\"color: #00C800;\">DEFAULT</span> oWnd := GetWndDefault<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, nBtnWidth := BAR_HEIGHT,;<br /> nBtnHeight := BAR_HEIGHT, l3D := .f., cMode := <span style=\"color: #ff0000;\">\"TOP\"</span>, l2007 := .F.,;<br /> l2010 := .F., lBorder := .F.<br /><br /> oRect = oWnd:<span style=\"color: #000000;\">GetCliRect</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> ::<span style=\"color: #000000;\">nStyle</span> = <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> lBorder, nOR<span style=\"color: #000000;\">(</span> WS_BORDER, WS_CHILD, WS_VISIBLE, WS_CLIPCHILDREN <span style=\"color: #000000;\">)</span>,;<br /> nOR<span style=\"color: #000000;\">(</span> WS_CHILD, WS_VISIBLE, WS_CLIPCHILDREN <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> ::<span style=\"color: #000000;\">lBorder</span> = lBorder<br /> ::<span style=\"color: #000000;\">aControls</span> = <span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span><br /> ::<span style=\"color: #000000;\">nGroups</span> = <span style=\"color: #000000;\">0</span><br /> ::<span style=\"color: #000000;\">oWnd</span> = oWnd<br /> ::<span style=\"color: #000000;\">nTop</span> = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> cMode == <span style=\"color: #ff0000;\">\"BOTTOM\"</span>, oRect:<span style=\"color: #000000;\">nBottom</span> - nBtnHeight, <span style=\"color: #000000;\">-1</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">nLeft</span> = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> cMode == <span style=\"color: #ff0000;\">\"RIGHT\"</span>, oRect:<span style=\"color: #000000;\">nRight</span> - nBtnWidth - ;<br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> l3D, <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">-1</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">nBottom</span> = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> cMode == <span style=\"color: #ff0000;\">\"TOP\"</span>, nBtnHeight, oRect:<span style=\"color: #000000;\">nBottom</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">nRight</span> = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> cMode == <span style=\"color: #ff0000;\">\"TOP\"</span> .or. cMode == <span style=\"color: #ff0000;\">\"BOTTOM\"</span>,;<br /> oRect:<span style=\"color: #000000;\">nRight</span>,;<br /> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> cMode == <span style=\"color: #ff0000;\">\"LEFT\"</span>, nBtnWidth + <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> l3D, <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>, oRect:<span style=\"color: #000000;\">nRight</span> + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">nBtnWidth</span> = nBtnWidth<br /> ::<span style=\"color: #000000;\">nBtnHeight</span> = nBtnHeight<br /> ::<span style=\"color: #000000;\">nId</span> = ::<span style=\"color: #000000;\">GetNewId</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">lDrag</span> = .f.<br /> ::<span style=\"color: #000000;\">lCaptured</span> = .f.<br /> ::<span style=\"color: #000000;\">nClrPane</span> = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> l3D, GetSysColor<span style=\"color: #000000;\">(</span> COLOR_BTNFACE <span style=\"color: #000000;\">)</span>, CLR_GRAY <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">lVisible</span> = .t.<br /> ::<span style=\"color: #000000;\">l3D</span> = l3D<br /> ::<span style=\"color: #000000;\">nMode</span> = AScan<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"TOP\"</span>, <span style=\"color: #ff0000;\">\"LEFT\"</span>, <span style=\"color: #ff0000;\">\"RIGHT\"</span>, <span style=\"color: #ff0000;\">\"BOTTOM\"</span>, <span style=\"color: #ff0000;\">\"FLOAT\"</span> <span style=\"color: #000000;\">}</span>, cMode <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">oCursor</span> = oCursor<br /> ::<span style=\"color: #000000;\">lValidating</span> = .f.<br /> ::<span style=\"color: #000000;\">l2007</span> = l2007<br /> ::<span style=\"color: #000000;\">l2010</span> = l2010<br /><br /> ::<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ValType<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">nClrText</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"B\"</span>, Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">nClrText</span>, .F. <span style=\"color: #000000;\">)</span>, ::<span style=\"color: #000000;\">nClrText</span> <span style=\"color: #000000;\">)</span>, ::<span style=\"color: #000000;\">nClrPane</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">case</span><br /> <span style=\"color: #00C800;\">case</span> l2007<br /> ::<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.25</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">219</span>, <span style=\"color: #000000;\">230</span>, <span style=\"color: #000000;\">244</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">207</span>, <span style=\"color: #000000;\">221</span>, <span style=\"color: #000000;\">239</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.75</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">201</span>, <span style=\"color: #000000;\">217</span>, <span style=\"color: #000000;\">237</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">231</span>, <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.25</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">253</span>, <span style=\"color: #000000;\">222</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">231</span>, <span style=\"color: #000000;\">151</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.75</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">215</span>, <span style=\"color: #000000;\">84</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">162</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">case</span> l2010<br /> ::<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">238</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">2</span>/<span style=\"color: #000000;\">5</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">253</span>, <span style=\"color: #000000;\">222</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">231</span>, <span style=\"color: #000000;\">147</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">3</span>/<span style=\"color: #000000;\">5</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">215</span>, <span style=\"color: #000000;\">86</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">231</span>, <span style=\"color: #000000;\">153</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">otherwise</span><br /> <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">(</span> aGrad <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.25</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">219</span>, <span style=\"color: #000000;\">230</span>, <span style=\"color: #000000;\">244</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">207</span>, <span style=\"color: #000000;\">221</span>, <span style=\"color: #000000;\">239</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.75</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">201</span>, <span style=\"color: #000000;\">217</span>, <span style=\"color: #000000;\">237</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">231</span>, <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.25</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">253</span>, <span style=\"color: #000000;\">222</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">231</span>, <span style=\"color: #000000;\">151</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.75</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">215</span>, <span style=\"color: #000000;\">84</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">162</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span><br /> <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">(</span> oBrush <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert,;<br /> <span style=\"color: #000000;\">{</span> aGrad<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>, aGrad<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span> ,;<br /> <span style=\"color: #000000;\">{</span> aGrad<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span>, aGrad<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span><br /> ::<span style=\"color: #000000;\">SetBrush</span><span style=\"color: #000000;\">(</span> oBrush <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">endcase</span><br /><br /> ::<span style=\"color: #000000;\">Register</span><span style=\"color: #000000;\">(</span> nOR<span style=\"color: #000000;\">(</span> CS_VREDRAW, CS_HREDRAW <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">Create</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">case</span><br /> <span style=\"color: #00C800;\">case</span> ::<span style=\"color: #000000;\">nMode</span> == BAR_TOP<br /> oWnd:<span style=\"color: #000000;\">oBar</span> = <span style=\"color: #00C800;\">Self</span><br /> oWnd:<span style=\"color: #000000;\">oTop</span> = <span style=\"color: #00C800;\">Self</span><br /><br /> <span style=\"color: #00C800;\">case</span> ::<span style=\"color: #000000;\">nMode</span> == BAR_LEFT<br /> oWnd:<span style=\"color: #000000;\">oLeft</span> = <span style=\"color: #00C800;\">Self</span><br /><br /> <span style=\"color: #00C800;\">case</span> ::<span style=\"color: #000000;\">nMode</span> == BAR_RIGHT<br /> oWnd:<span style=\"color: #000000;\">oRight</span> = <span style=\"color: #00C800;\">Self</span><br /><br /> <span style=\"color: #00C800;\">case</span> ::<span style=\"color: #000000;\">nMode</span> == BAR_DOWN<br /> oWnd:<span style=\"color: #000000;\">oBottom</span> = <span style=\"color: #00C800;\">Self</span><br /> <span style=\"color: #00C800;\">endcase</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">Self</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">METHOD</span> NewAt<span style=\"color: #000000;\">(</span> nRow, nCol, nWidth, nHeight, nBtnWidth, nBtnHeight, oWnd, l3D,;<br /> cMode, oCursor, lBorder, oBrush, aGrad <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TBarC<br /> <span style=\"color: #00C800;\">local</span> oRect<br /><br /> <span style=\"color: #00C800;\">DEFAULT</span> oWnd := GetWndDefault<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, nBtnWidth := BAR_HEIGHT,;<br /> nBtnHeight := BAR_HEIGHT, nHeight := BAR_HEIGHT,;<br /> l3D := .f., cMode := <span style=\"color: #ff0000;\">\"TOP\"</span>, lBorder := .f. <span style=\"color: #B900B9;\">//FranciscoA May, 31/2013</span><br /><br /> oRect = oWnd:<span style=\"color: #000000;\">GetCliRect</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> ::<span style=\"color: #000000;\">nStyle</span> = <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> lBorder, nOR<span style=\"color: #000000;\">(</span> WS_BORDER, WS_CHILD, WS_VISIBLE, WS_CLIPCHILDREN <span style=\"color: #000000;\">)</span>,;<br /> nOR<span style=\"color: #000000;\">(</span> WS_CHILD, WS_VISIBLE, WS_CLIPCHILDREN <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> ::<span style=\"color: #000000;\">lBorder</span> = lBorder<br /> ::<span style=\"color: #000000;\">aControls</span> = <span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span><br /> ::<span style=\"color: #000000;\">nGroups</span> = <span style=\"color: #000000;\">0</span><br /> ::<span style=\"color: #000000;\">oWnd</span> = oWnd<br /> ::<span style=\"color: #000000;\">nTop</span> = nRow<br /> ::<span style=\"color: #000000;\">nLeft</span> = nCol<br /> ::<span style=\"color: #000000;\">nBottom</span> = nRow + nHeight - <span style=\"color: #000000;\">1</span><br /> ::<span style=\"color: #000000;\">nRight</span> = nCol + nWidth - <span style=\"color: #000000;\">1</span><br /> ::<span style=\"color: #000000;\">nBtnWidth</span> = nBtnWidth<br /> ::<span style=\"color: #000000;\">nBtnHeight</span> = nBtnHeight<br /> ::<span style=\"color: #000000;\">nId</span> = ::<span style=\"color: #000000;\">GetNewId</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">lDrag</span> = .f.<br /> ::<span style=\"color: #000000;\">lCaptured</span> = .f.<br /> ::<span style=\"color: #000000;\">nClrPane</span> = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> l3D, GetSysColor<span style=\"color: #000000;\">(</span> COLOR_BTNFACE <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">240</span>,<span style=\"color: #000000;\">240</span>,<span style=\"color: #000000;\">240</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">//CLR_GRAY )</span><br /> ::<span style=\"color: #000000;\">lVisible</span> = .t.<br /> ::<span style=\"color: #000000;\">l3D</span> = l3D<br /> ::<span style=\"color: #000000;\">nMode</span> = AScan<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"TOP\"</span>, <span style=\"color: #ff0000;\">\"LEFT\"</span>, <span style=\"color: #ff0000;\">\"RIGHT\"</span>, <span style=\"color: #ff0000;\">\"BOTTOM\"</span>, <span style=\"color: #ff0000;\">\"FLOAT\"</span> <span style=\"color: #000000;\">}</span>, cMode <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">oCursor</span> = oCursor<br /> ::<span style=\"color: #000000;\">lValidating</span> = .f.<br /> ::<span style=\"color: #000000;\">l2007</span> = .F.<br /> ::<span style=\"color: #000000;\">l2010</span> = .F.<br /><br /> ::<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ValType<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">nClrText</span> <span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"B\"</span>, Eval<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">nClrText</span>, .F. <span style=\"color: #000000;\">)</span>, ::<span style=\"color: #000000;\">nClrText</span> <span style=\"color: #000000;\">)</span>, ::<span style=\"color: #000000;\">nClrPane</span> <span style=\"color: #000000;\">)</span><br /><br /> ::<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.25</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">219</span>, <span style=\"color: #000000;\">230</span>, <span style=\"color: #000000;\">244</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">207</span>, <span style=\"color: #000000;\">221</span>, <span style=\"color: #000000;\">239</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.75</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">201</span>, <span style=\"color: #000000;\">217</span>, <span style=\"color: #000000;\">237</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">231</span>, <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.25</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">253</span>, <span style=\"color: #000000;\">222</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">231</span>, <span style=\"color: #000000;\">151</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.75</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">215</span>, <span style=\"color: #000000;\">84</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">162</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /> ::<span style=\"color: #000000;\">Register</span><span style=\"color: #000000;\">(</span> nOR<span style=\"color: #000000;\">(</span> CS_VREDRAW, CS_HREDRAW <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">Create</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">Self</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /> </div>[/code:gvmueqs8]",
"time": "21:24",
"topic": "Combobox en buttonbar",
"username": "cnavarro"
}
] | Combobox en buttonbar |
[
{
"date": "2013-09-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Horacio,\n\nAñade esta líneas a tu programa:\n\n#include \"FiveWin.ch\"\n#include \"xhbcls.ch\"\n\n...\n\nEXTEND CLASS TComboBox WITH DATA lGroup INIT .F.\n\n\nCristobal,\n\nTotalmente 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:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "22:13",
"topic": "Combobox en buttonbar",
"username": "Antonio Linares"
}
] | Combobox en buttonbar |
[
{
"date": "2013-09-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Antonio\n[quote:30plxuew]\ncon el uso de las variables static en clases. Es algo que iremos modificando para que se pueda heredar sin ninguna limitación\n[/quote:30plxuew]\n\nNo 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\n\nSaludos",
"time": "23:34",
"topic": "Combobox en buttonbar",
"username": "cnavarro"
}
] | Combobox en buttonbar |
[
{
"date": "2013-09-25",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Crsitobal,\n\nMuy cierto, no habia caido en eso... gracias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "00:52",
"topic": "Combobox en buttonbar",
"username": "Antonio Linares"
}
] | Combobox en buttonbar |
[
{
"date": "2012-05-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "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",
"time": "12:16",
"topic": "Combobox en ribbon",
"username": "horacio"
}
] | Combobox en ribbon |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.