topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
COMBOBOX CBS_SIMPLE | Saludos nuevamente amigos del foro:
Estoy tratando con un combobox Simple, con una arreglo en memoria, cuando selecciono un elemento de la lista no tengo problema, la variable, y el Combo:VarGet(), me proporcionan el dato, para yo guardarlo en una tabla, para posterior uso.
El problema lo tengo al agregar uno nuevo al... |
COMBOBOX CBS_SIMPLE | Hello, friends of the forum.
I need a thread with this;
I am having a problem with a combobox from resources in the RC is defined as follows:
[code=fw:3hm8ym01]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">COMBOBOX</span> <span style="color: #000000;">800</span>, <span style="... |
COMBOBOX CBS_SIMPLE | Oscar,
Could you please test FWH\samples\combos.prg and combos.rc and check if you get the same problem ? thanks |
COMBOBOX CBS_SIMPLE | Antonio I appreciate your time.
I reviewed the example that follows, and the valid only works when you ENTER me with a new element, and with the tab key or the mouse on the combobox valid is ignored (Combo Simple).
Any suggestions are welcomed.
Greetings from Honduras <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gi... |
COMBOBOX CBS_SIMPLE | Oscar,
Those combos contain a GET control object, so you can also use their VALIDs, i.e.:
oCbx1:oGet:bValid := { || MsgBeep(), .T. }
Please check if that helps you, thanks |
COMBOBOX CBS_SIMPLE | Antonio,
try this:
[code=fw:15482ipj]<div class="fw" id="{CB}" style="font-family: monospace;"> oCbx1:<span style="color: #000000;">oGet</span>:<span style="color: #000000;">bValid</span> := <span style="color: #000000;">{</span> || <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(... |
COMBOBOX CBS_SIMPLE | Okay, I'll have to use a combobox DROPDOWNLIST, and with new elements add a button, not pretty, but good.
Esperaro that in the not too distant future this is fixed, who knows maybe it will contribute.
Thanks for the help <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -... |
COMBOBOX Con error en Centrino DUo con HP HOME SP2 | Resulta que en esa maquina (Toshiba) el combobox (ya sea por codigo o por recursos) me inserta 2 elementos al inicio con basura.
Tambien me pasa en una VAIO XP-PROF SP2
En todas las demas maquinas no.
a alguien le ha ocurrido eso? |
COMBOBOX Con error en Centrino DUo con HP HOME SP2 | I have the same problem. Check out this image [img:rp1i158c]http://www.psmps.com/images/Image2.gif[/img:rp1i158c]. Notice the three garbage elements at the top of the list. The first item im my array is "All Tables". |
COMBOBOX Con error en Centrino DUo con HP HOME SP2 | Exactamente ese es el error, curiosamente si desactivo el lector de Huella Digital ya no se genera!!!!
¿Sera un caso para la araña? |
COMBOBOX HEIGHTGET is not working? *Solved* | I use REDEFINE COMBOBOX from resource but HEIGHTGET is not working, nothing change.
Thanks in advance, |
COMBOBOX HEIGHTGET is not working? *Solved* | Please try increasing height in the rc file. |
COMBOBOX HEIGHTGET is not working? *Solved* | Dear Master,
I got it. Thank you.[quote="nageswaragunupudi":1xxscld7]Please try increasing height in the rc file.[/quote:1xxscld7] |
COMBOBOX HEIGHTGET is not working? *Solved* | How to change HEIGHTGET in RC file?
[code=fw:2rks3jse]<div class="fw" id="{CB}" style="font-family: monospace;"> CONTROL <span style="color: #ff0000;">""</span>, <span style="color: #000000;">102</span>, <span style="color: #ff0000;">"ComboBox"</span>, WS_BORDER|CBS_DROPDOWNLIST|WS_TABSTOP, <span style="color: #00000... |
COMBOBOX HEIGHTGET is not working? *Solved* | not work
[code=fw:1expybe1]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> nEstado ;<br /> <span style="color: #0000ff;">ID</span> <span style="color: #000000;">109</span> <span style="color: #0000ff;">OF... |
COMBOBOX HEIGHTGET is not working? *Solved* | Dear Carlos,
Thank you for your reply and I try as your suggestion as below but it doesn't change anything.
[code=fw:1g54pxoz]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> oGet<span style="color: #000000;">[... |
COMBOBOX HEIGHTGET is not working? *Solved* | [quote:jc1mcrvs]I use REDEFINE COMBOBOX from resource but HEIGHTGET is not working, nothing change.[/quote:jc1mcrvs]
Do not use HEIGHTGET
Use
[code=fw:jc1mcrvs]<div class="fw" id="{CB}" style="font-family: monospace;">........<br />SELHEIGHT <span style="color: #000000;">50</span> ;<br />.........</div>[/code:jc1mcr... |
COMBOBOX HEIGHTGET is not working? *Solved* | Dear Mst Rao,
[u:3g9uu81l]SELHEITHGT is not working.[/u:3g9uu81l]
[quote="nageswaragunupudi":3g9uu81l]
Do not use HEIGHTGET
Use
[code=fw:3g9uu81l]<div class="fw" id="{CB}" style="font-family: monospace;">........<br />SELHEIGHT <span style="color: #000000;">50</span> ;<br />.........</div>[/code:3g9uu81l]
Alternativ... |
COMBOBOX HEIGHTGET is not working? *Solved* | [b:3lx67wcm]NOT RUN OK ON RESOURCES[/b:3lx67wcm]
On my order I have
@ 2,5 COMBOBOX aGet[1] VAR nIcoElemento Items aElementiItems ;
BITMAPS aBmpCombo SIZE 50,90 PIXEL of oFolder:aDialogs[1];
ON CHANGE ( ncella:="", aGet[2]:refresh()) [b:3lx67wcm]HEIGHTGET 66[/b:3lx67wcm]
and run ok
[img:3... |
COMBOBOX HEIGHTGET is not working? *Solved* | On resource, try
ACTIVATE DIALOG oDlg ON INIT oCbx:nSelectionHeight := <nNewHeight> |
COMBOBOX HEIGHTGET is not working? *Solved* | I did some tests with fwh\samples\combosb.prg using \fwh\samples\combosb.rc.
I found that both HEIGHTGET and SELHEIGHT are working with resources.
Please build and run \fwh\samples\combosb.prg without any changes.
This is what you see.
[url=https://imageshack.com/i/poBUsvVDp:3svfufd8][img:3svfufd8]https:/... |
COMBOBOX HEIGHTGET is not working? *Solved* | Dear Master Rao,
I found the problem of HEIGHTGET that does not work. It is RESIZE16 clause effect. It will be work, if no RESIZE16.
Thank you so much.
Dutch |
COMBOBOX ON BUTTONBAR | Friends,
any sample of a combobox with bitmaps on button bar ? |
COMBOBOX ON BUTTONBAR | Silvio,
Conseguiste insertar un combobox en un buttonbar? |
COMBOBOX ON BUTTONBAR | simply yes, with bitmaps no... Now i use another class |
COMBOBOX ON BUTTONBAR | Silvio,
with the new Vtitle-Class, You can create Your own individual Buttonbar, because
Button-Action for Bitmaps is supported now.
Just a test with Combobox and Button-Action :
[img:2u25wwyg]http://www.pflegeplus.com/pictures/vtitle33.jpg[/img:2u25wwyg]
Combobox added to samples\[color=#FF0000:2u25... |
COMBOBOX ON BUTTONBAR | Sorry Uwe,
Vtitle class of Antonio linares can be a good class but i use my vtitle class (the name is paint title) with it i can make button on it and i can insert also animated bitmaps buttons allready from two year ago.
And... I not think you can crete combobox with BIG bitmaps on it |
COMBOBOX SIMPLE FWH1407 | Estimados Amigo
Acabo de migrar de la versión FWH1108 a la versión FWH1407 y al revisar mis diálogos con combo simple siempre lo editaba y presionando la tecla enter pasaba al siguiente campo, ahora no se puede hacer esto viéndome obligado a usar la tecla Tab o con el mouse para pasar de un campo a otro, debido a la ra... |
COMBOBOX STYLE | Nages sad me I can insert [b:1yh69ogj]STYLE CBS_DROPDOWN[/b:1yh69ogj] on COMBOBOX when the value is numeric
[b:1yh69ogj]nNaturaIva:[/b:1yh69ogj]= ASCAN(aNatura, { | a | alltrim(a[ 1 ]) == alltrim("N1") } )
@ 140, 120 COMBOBOX aGet[4] VAR [b:1yh69ogj]nNaturaIva[/b:1yh69ogj] ITEMS aItems SIZE 450,24 PIXEL OF oDl... |
COMBOBOX STYLE CBS_DROPDOWN - a little bug? | Hi Antonio.
I download lastest version of FWPPC.
COMBOBOX is work now.
I try use STYLE CBS_DROPDOWN, and some character from previous Combo value is appended to end of current value ,if COMBOBOX lost focus (click to next get box for example).
Length of previous value must be more than length of current value.
I... |
COMBOBOX STYLE CBS_DROPDOWN - a little bug? | Andrej,
Could you please provide a small PRG to test it ? thanks |
COMBOBOX STYLE CBS_DROPDOWN - a little bug? | Andrej,
Thanks for your example.
Yes, there is a bug there to locate and fix. We are working on it. |
COMBOBOX STYLE CBS_DROPDOWN - a little bug? | Well.
Coming soon.<!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
//
#include "fwce.ch"
#include "dll.ch"
#define MB_ICONINFORMATION 0x40
static aBTypes:= {'Repce','Akác','Hárs','Gesztenye','Napraforgó','Selyemkóró','Facélia','Vegyes virág','Mézharmat','Egyéb'}
... |
COMBOBOX STYLE CBS_DROPDOWN - a little bug? | Alguna solucion para viejas versiones?
gracias. |
COMBOBOX STYLE CBS_DROPDOWN - a little bug? | Gustavo,
Dime por favor que mide el fichero source\classes\combobox.prg de FWPPC |
COMBOBOX STYLE CBS_DROPDOWN - a little bug? | non o, perdon yo no tengo pocket pc. ya resolvi era por fwh. |
COMBOBOX WITH Sort | Hi ,
I had the same problem and solved it by adding blank after items in the array .
I found that all items of the array should have the same lenght .
Strange !!
Philippe |
COMBOBOX WITH Sort | Hello
I have a COMBOBOX ( in a RC file with Sort = Yes )
aTipi := {'Paolo', 'Gianni','Andrea' 'Cesare' }
I set cTipo_Cli = 'Gianni'
REDEFINE COMBOBOX oCom Var cTipo_Cli ITEMS aTipi ID 4009 OF oDlg
but when I open the dialog on the combobox I have 'Cesare' and not 'Gianni'
Thanks |
COMBOBOX WITH Sort | Perhaps, if you are using pellesC, you need to "remove" the SORT variable in the combobox as NO.
Maybe:
ON Change := cTipo_Cli[ oCbx:nAt ]
Regards, saludos. |
COMBOBOX WITH BITMAPS | I made
local aItems := { 'COMPUTER','PORTATILE','STAMPANTE','MONITOR', 'TASTIERA', 'SWITCH', ;
'MOUSE', 'POCKET','SCANNER','PROIETTORE' ,'VIDEOCAMERA' , 'FILMCAMERA' , 'FOTOCAMERA' }
...
@ 0.8, 14 say "&Tipo Hardware :" OF oDlg
@ 0.8, 16 COMBOBOX aGet[2] VAR cType ITEMS aItems OF... |
COMBOBOX WITH BITMAPS | What is the size of the BITMAPS used ? Is it 16 x 16 ?
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=20831">viewtopic.php?f=3&t=20831</a><!-- l -->
Regards
Anser |
COMBOBOX WITH BITMAPS | Anserkk,
yes they are 16x16 simply bitmaps no alpha
only it give me this error
[b:cne1ht8s]Error description: Error BASE/1132 Error de rango: acceso al array[/b:cne1ht8s]
[code=fw:cne1ht8s]<div class="fw" id="{CB}" style="font-family: monospace;">pplication<br />===========<br /> Path and <span st... |
COMBOBOX WITH BITMAPS | NOT RUN ALSO WITH
@ 0.8, 16 COMBOBOX aGet[2] VAR cType ITEMS aItems OF oDlg;
BITMAPS {".\bitmaps\SM_HARD.bmp" ,;
".\bitmaps\SM_LAP.bmp" ,;
".\bitmaps\SM_PRT.bmp" ,;
".\bitmaps\SM_MON.bmp" ,;
".\bitmaps\SM_KEY.bmp" ,;
... |
COMBOBOX WITH BITMAPS | Hello Silvio,
because of Path-defines, sometimes I got Problems to find BMP's
I don't use .\ or ..\ anymore.
Instead I use :
[color=#FF0000:xzuifno3]c_path [/color:xzuifno3]:= CURDRIVE() + ":\" + GETCURDIR()
and the BMP-call with
[color=#FF0000:xzuifno3]c_Path [/color:xzuifno3]+ "\bitmaps\" + cBmp1
or
[color=#FF... |
COMBOBOX WITH BITMAPS | I had a similar problem. My bitmaps are referenced in the .rc file so included in the .exe.
I found it was necessary to use 16x16 bit alpha bitmaps, and it works perfectly. In this case, I wanted color swatches, so I have bitmaps with solid colors. Using any other size, or type ( ie. 8 bit, etc ) did not work but t... |
COMBOBOX WITH BITMAPS | Hello Tim,
16x16 is OK, to use for Comboboxes.
It is also possible, to display bigger sizes, but there is a Row-size-problem :
Row-height / width is not adjusted like in xBrowse.
[img:29tiqt91]http://www.pflegeplus.com/pictures/combo7.jpg[/img:29tiqt91]
Best regards
Uwe <!-- s:lol: --><img src="{SMIL... |
COMBOBOX WITH BITMAPS | perhaps I found the error ....
I use vtaskbar of paco and link to my application his lib ( c5new)
when I erase this lib from my application I see combobox with bitmaps !!!!!!!!!!!!!!!!!!!!!!!
But this is very strange ....because I used that lib always .... |
COMBOBOX Y CHECKBOX | Hola Amigos.. como se podria hacer esto:
[url=https://postimg.cc/Fd6G1PNt:2mveaiuk][img:2mveaiuk]https://i.postimg.cc/Fd6G1PNt/comboboxcheck.png[/img:2mveaiuk][/url:2mveaiuk]
con xbrowse se podria... pero otra forma
saludos |
COMBOBOX Y CHECKBOX | Interesante...
Me sumo a la inquietud +1 |
COMBOBOX Y CHECKBOX | Esta es una posible forma, aunque sin usar un combobox:
[img:3jzf9pxn]https://github.com/FiveTechSoft/screenshots/blob/master/panelcheckbox.jpg?raw=true[/img:3jzf9pxn]
Vamos a ir mejorándolo <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
[code=fw:3jzf9pxn]<d... |
COMBOBOX Y CHECKBOX | [quote="Antonio Linares":3nbnb3wt]Esta es una posible forma, aunque sin usar un combobox:
[img:3nbnb3wt]https://github.com/FiveTechSoft/screenshots/blob/master/panelcheckbox.jpg?raw=true[/img:3nbnb3wt]
Vamos a ir mejorándolo <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><... |
COMBOBOX Y CHECKBOX | Dear Richard,
standard Windows resources (RC files) don't allow to define childs of childs (grandchilds <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
so you can only place a TScrollPanel on the resource and from the ON INIT of the dialog, place the checkboxes on the panel... |
COMBOBOX Y CHECKBOX | [quote="Antonio Linares":22j569fk]Dear Richard,
standard Windows resources (RC files) don't allow to define childs of childs (grandchilds <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
so you can only place a TScrollPanel on the resource and from the ON INIT of the dialog,... |
COMBOBOX alineado a la derecha | ¿Hay alguna manera de alinear un COMBOBOX a la derecha?. A diferencia de GET, no veo la claúsula ALIGN. Lo he intentado con PICTURE, pero no lo consigo.
¿Alguna idea?
Feliz año nuevo a todos. |
COMBOBOX alineado a la derecha | Hola,
revisa setWindowLong, en el manual de FW y en San Google, yo intento cambiar la alineacion de un GET en tiempo de ejecucion y no lo he logrado
saludos
Marcelo |
COMBOBOX alineado a la derecha | Manuel,
Como te indica Marcelo, prueba con:
SetWindowLong( oComboBox:oGet:hWnd, GWL_STYLE, nOr( GetWindowLong( oComboBox:oGet:hWnd, GWL_STYLE ), ES_RIGHT ) )
Debes hacerlo una vez el combobox tenga un hWnd válido (en caso de usar un diálogo, desde la claúsula ON INIT):
ACTIVATE DIALOG oDlg ON INIT ... |
COMBOBOX alineado a la derecha | Muchas gracias Marcelo y Antonio. Lo probaré. |
COMBOBOX cambia posicion | Hola amigos nuevamente yo con problemas con combobox, les cuento, en workshop o pellec creo un combobox y luego lo llamo con mi programa.
REDEFINE COMBOBOX aGets[14] VAR oPatente ITEMS aBus ID 104 OF oDlg WHEN lValue1 UPDATE
le doy doy en largo que me muestre la informacion pero cuando la informacion ... |
COMBOBOX cambia posicion | Por favor copia aqui las líneas en donde defines el combobox en tu fichero RC |
COMBOBOX cambia posicion | ACA ESTA :
RENDICION_ADM DIALOG 78, -23, 597, 353
STYLE DS_MODALFRAME | 0x4L | WS_POPUP | WS_VISIBLE | WS_SYSMENU
FONT 7, "MS Sans Serif"
LANGUAGE LANG_SPANISH, SUBLANG_SPANISH_MEXICAN
{
EDITTEXT 101, 116, 80, 41, 16, ES_MULTILINE | ES_UPPERCASE | WS_BORDER | WS_TABSTOP
CONTROL "", 102, "SysDateTimePick32", 0 | WS_CH... |
COMBOBOX cambia posicion | Prueba a disminuir el valor 145. Por ejemplo usa 100
COMBOBOX 104, 130, 155, 77, 100, CBS_DROPDOWNLIST | WS_TABSTOP |
COMBOBOX cambia posicion | no funciona poniendo 100, aque se debe ese problema
ademas antonio este problema le pasa a todos los COMBOBOX (TODOS)
saludps |
COMBOBOX cambia posicion | Puedes probar el ejemplo samples\combos.prg:
buildh.bat combos
y comprobar si en ese ejemplo también funciona mal ? |
COMBOBOX cambia posicion | quedo perfecto ahora, saque la idea de ahi . muy amable por tu tiempo
saludos |
COMBOBOX dont work with array of dates ? | Hi,
I get hsis error
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 10/30/2014, 09:52:24
Error description: Error BASE/2022 Argument error: ALLTRIM
Args:
[ 1] = D 01/01/2014
Stack Calls
===========
Called from: => ALLTRIM( 0 )
Called from: .\source\classes\COMBOBOX.PRG => (b)TCO... |
COMBOBOX dont work with array of dates ? | Hello,
use a list of string for display the dates in combobox, when choose one of then, change CTOD(<choose date>) the selected date
regards
Marcelo |
COMBOBOX dont work with array of dates ? | Hi, try it this way:
local oDlg, cCombo := DtoC(ctod("01/03/2014"))
local aItems := { DtoC(ctod("01/01/2014")), DtoC(ctod("01/03/2014")), DtoC(ctod("01/05/2014")) }
Regards. |
COMBOBOX dont work with array of dates ? | If I remember correctly, comboboxes only work with strings, |
COMBOBOX en BUTTONBAR? | Hola Amigos:
Es posible poner un COMBOBOX en una BUTTONBAR?, algún ejemplo?
Saludos |
COMBOBOX en BUTTONBAR? | algo viejito pero funcional
[code=fw:d4my95v2]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"Arial Narrow"</span> <span style="colo... |
COMBOBOX en BUTTONBAR? | Tocayo:
Muchas gracias, le voy a usar.
Saludos |
COMBOBOX en file de xBrowse | Hola amigos:
Como puedo implementar un COMBOBOX en una celda en cada file de xBrowse ?
Gracias |
COMBOBOX en file de xBrowse | oCol:nEditType := EDIT_LISTBOX
oCol:aEditListTxt = { "One", "Two", "Three" } |
COMBOBOX en file de xBrowse | Buenas noches, gracias por contestar, y cono hago para asignar el valor del combobox seleccionado a la variable del BROWSE. trabajo con arreglos.
GRacias |
COMBOBOX en file de xBrowse | The selected variable is automatically assigned by the xbrowse. |
COMBOBOX en file de xBrowse | Thanks!,
How do I get the selected combobox value to show it?
regards. |
COMBOBOX issue | Create a GET COMBOBOX using a .dbf VAR, with a field size of 10
For the dropdown, create a list of items of various lengths.
Select, or type in, a long item that nearly fills the field: ie. HAPPYDAYS
Save the value
Now select a shorter value from the list, ie. SHORT
Save the selection.
The field does not erase the... |
COMBOBOX issue | Tim,
ok, we are reviewing it
many thanks for your feedback |
COMBOBOX metro | Hello Antonio,
I have problems with comboMetro.
Although I have no blank field inside the array which I display in a comboMetro the combobox shows blank rows.
Please see the attached screenshot.
Please can you help me.
Thanks In advance,
Otto
[img:135mm2va]http://www.atzwanger-software.com/fw/combo8.jp... |
COMBOBOX metro | Otto,
Please post the source code for that combobox in your app, thanks |
COMBOBOX metro | Hello Antonio,
I use comboMetro of FWH.
I noticed that comboMetro is working correctly if the upper and lower border are inside the parent window.
If not there are on the side which is opposite to the side which is outside the parent window blank lines.
Best regards,
Otto
[code=fw:h5v82nar]<div class="fw" id="{CB}" ... |
COMBOBOX metro | The interface is designed so that always the highlighted item is displayed exactly in the same position as the original control. When the topmost item ( "01" ) is highlighted, this item is shown at the same position of the control and blank space is shown above this item. Same way when the last item is shown the space ... |
COMBOBOX metro | Dear Mr. Rao,
Thank you for you answer.
I looked into WINDOWS 8 Setup and made some tests with comboboxes. There are no blank lines shown.
I think we should change this.
Best regards,
Otto |
COMBOBOX metro | Is someone working with this class and can confirm this behavior?
Best regards,
Otto |
COMBOBOX odd behavior on themed app | Hello!
redefine combobox items doesn't show if .rc commented this line:
[code=fw:okyusxhs]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #B900B9;">//1 24 "WindowsXP.Manifest"</span><br /> </div>[/code:okyusxhs]
with:
[code=fw:okyusxhs]<div class="fw" id="{CB}" style="font-fami... |
COMBOBOX refresh | How can I Refresh() Combobox with function Inv_Nasta2()
Tnx, Darjo
[code:37oearjs]#include "FWCE.ch"
FUNCTION Main()
PRIVATE ocbNah
arrNahaja:={'1a','1b','1c'}
STORE 1 TO cIzbPe,cIzbNah
DEFINE WINDOW owInv
@ 93,0 SAY 'Main:' PIXEL
@ 108,0 COMBOBOX cIzbPe ITEMS {... |
COMBOBOX refresh | Darjo,
********************************
FUNCTION Inv_Nasta2()
********************************
arrNahaja:=array(0)
arrNahaja:={'2a','2b'}
ocb:SetItems( arrNahaja )
ocbNah:Refresh()
RETURN (.t.) |
COMBOBOX with 2 element array | I thought this was addressed earlier with a simple solution. I can write code to "make it happen" but if it is already addressed with FWH, I would like to use it:
Field 1 is a title
Field 2 is a description.
Both are in a database
I want to read them into a 2 element array.
Then, using a combobox ( or listbox ), I wa... |
COMBOBOX with 2 element array | Dear Tim,
Here you have what we recently did:
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=252389&sid=daf03f16b17c5b26d15d18e6316a6c28#p252389">viewtopic.php?p=252389&sid=daf03f16b17c5b26d15d18e6316a6c28#p252389</a><!-- l --> |
COMBOBOX with 2 element array | Mr. Tim
That is what DBCOMBO is supposed to do
Please look for samples of DBCOMBO |
COMBOBOX with 2 element array | I looked at the other posts, and also studied dbcombo. Those were really more complex then I need.
[code=fw:3fx5ma7z]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> oCbxA1 <span style="color: #0000ff;">... |
COMBOBOX with oDBF | I want to store '[b:1cg4mu1k]L[/b:1cg4mu1k]', '[b:1cg4mu1k]A[/b:1cg4mu1k]' or '[b:1cg4mu1k]O[/b:1cg4mu1k]' in a (1 character) database field called MAIL_CAT (Mail category = [b:1cg4mu1k]L[/b:1cg4mu1k]ocal, [b:1cg4mu1k]A[/b:1cg4mu1k]frican, [b:1cg4mu1k]O[/b:1cg4mu1k]verseas)
But I want to use a Combobox so the user can... |
COMBOBOX with oDBF | Use a DBCombo. See \samples\testdbc1.prg for an example. |
COMBOBOX with oDBF | Thanks.
I have this code:
REDEFINE DBCOMBO oDBF:MAIL_CAT ID 4012 ;
items {"L","A","O"} ;
list {"Local","African","Overseas"} ;
of oFld:aDialogs[ 1 ] UPDATE
But the compiler gives a "parse error at 'DBCOMBO' what am I doing wrong? |
COMBOBOX with oDBF | #include "dbcombo.ch" |
COMBOBOX with oDBF | That did it. EXCELLENT !!! Thanks. |
COMBOBOX y ESC | Hola a todos,
¿Cómo puedo gestionar que cuando un COMBOBOX tiene el foco, si pulso la tecla ESC haga 'algo'?
Ya lo pregunté hace días pero no tuve éxito, a ver si ahora....
Gracias |
COMBOBOX y ESC | Fivewidi,
prueba asi:
oCbx:bKeydown := {|nKey| if(nKey==27, msginfo("presiono Esc"),)}
ó asi:
oCbx:bKeydown := {|| if(GETKEYSTATE(VK_ESC),"msginfo("presiono Esc"),)}
espero te ayude
saludos
paco |
COMBOBOX y VK_ESCAPE | Hola a todos,
Estoy intentando que cuando un COMBOBOX de una MDICHILD tenga el foco pueda cerrar la ventana pulsando la tecla VK_ESCAPE, y no lo consigo.
Estoy probando haciendo esto:
oTitulari:bKeyDown := {| nKey , nflags | If( nKey = VK_ESCAPE, oDomici10:End(), Nil ) }
y esto otro:
oTitulari:bKeyChar := {| n... |
COMBOBOX y VK_ESCAPE | Nadie sabe cómo hacerlo?
Bueno encenderé unas velas...
Gracias. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.