topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
combobox | Note that the SIZE clause is for the size of the dropdown not the GET-like portion of the combobox. Try setting the height using: oItems:nHeight = ...
Regards,
James |
combobox | I made also oItems:nheight:=200 NOT RUN |
combobox | Falconi,
aBitmaps in your example code is not an array of bitmaps, it is an array of strings. You need to load aBitmaps with bitmaps.
Regards,
James |
combobox | James ,
What you sad ?
[img:37r4vma8]http://www.vdswin.it/comboerr.jpg[/img:37r4vma8] |
combobox | Hi Silvio:
I've been testing with your problem. It seems to be a FWH bug because same combobox code is shown diferent in a Window and in a Dialog.
[url=http://img301.imageshack.us/my.php?image=silvio.jpg:qp3ktf4m][img:qp3ktf4m]http://img301.imageshack.us/img301/3408/silvio.jpg[/im... |
combobox | [quote="Silvio":12nlfogv]I must insert a combo on buttonbar with bitmaps
When I insert it the combo is too small and I cannot see the images
any idea ?
[/quote:12nlfogv]
the real problem of silvio is...
he want the combobox OVER BUTTONBAR no over dialog or over window |
combobox | right !
i need a combo on buttonbar |
combobox | Manuel seems to have found a key to the problem. And, Daniel, note that the buttonbar class is a subclass of TControl, which is a subclass of TWindow. This seems to be why what Manuel has shown is still the problem--windows and dialogs use different "units" of dimensions.
Dialog units are about twice as large as Windo... |
combobox | [quote="James Bott":358rdopl]After looking at the combobox source, I don't see a nRowHeight var, but I did find this:
[code=fw:358rdopl]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> FillMeasure<span style="color: #000000;">(</span> nPInfo <span style="color: ... |
combobox | I found something:
If I change the New() method of class TComboBox in these lines:[code=fw:3ducxoqc]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">(</span> oWnd:<span style="color: #000000;">hWnd</span> <span style="color: #... |
combobox | Manuel ,
Now I see the bitmaps good but I cannot select any element
when I open the test it open the scroll of elements I select one element and then the control is blocked
there is also an error |
combobox | Hi Silvio,
don't forget the Bitmap for the towels the German use to reserve their places at the beach. <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->
[img:1yazt0uj]http://www.d-hoefner.de/files/towel.jpg[/img:1yazt0uj]
Sorry, i couldn't resist.
R... |
combobox | Any solution ? |
combobox | como uitilizar uma Tabela .dbf na classe combobox, e alterar em tempo de execução para outra tabela
Obrigado.. |
combobox | <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=4&t=7282&start=0">viewtopic.php?f=4&t=7282&start=0</a><!-- l --> |
combobox | Can someone show me a small example program that makes it possible to search in a combobox an element (f.e. a name) by typing the first characters of that element (f.e. a name)?
Thank You
Kind Regards |
combobox | It's the default behavior of a dropdownlist-style combobox.
EMG |
combobox | Sorry, I am not a professional programmer. Wat is a dropdowlist style combobox. Can you give me an example from source code.
Many thanks and kind regards
jds |
combobox | [code=fw:1j5jdzap]<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;">)</sp... |
combobox | The problem is that by typing "pap" the combobox is showing only the first record that matches the "p" in that case "pippo"...?? |
combobox | This should be a working sample but it doesn't work and I don't know why, sorry:
[code=fw:1vlk5xr1]<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> MAI... |
combobox | Effectively, I tried already before the "LIncSearch=.T." function(?) but I did not work.
Is there somewhere a description of the LIncSearch function?
kind regards and I wish you a good WE
jds |
combobox | Antonio,
Do you have any idea how to use lIncSearch:=.T.
kind regards
José (jds) |
combobox | The items in the list have to be in alpha order.
James |
combobox | of course but even that does not help to get an incremental search on a listbox (alfa handmade or by alfa array) |
combobox | I confirm that the incremental search is broken in ver 10.2.
James |
combobox | Guys, Antonio,
What FWH version is supporting incremental searching in a listbox??
Kind regards and a good WE
José |
combobox | Can I repeat my question : how to get an incremental search in a listbox/combobox ?
Best regards
José |
combobox | Hello
Otto was saying somewhere in may 2010 that incremental search was working in combobox
Please can anyone tell me what is the function to do work it ?
Kind regards
José |
combobox | Jose,
It is working, BUT, it is case sensitive (and it should not be).
I will see if I can fix it.
Regards,
James |
combobox | Ok, here is a fix. There are just two lines that need to be changed.
James
[code=fw:2m7sdoqs]<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="col... |
combobox | Here is my test code.
James
[code=fw:1cwmc1sj]<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 sty... |
combobox | Enrico's example works fine if Caps is pressed for the first typed char.
James enhacement avoids the use of Caps.
Unless I am missing something |
combobox | Antonio,
Yes, I finally found that it was case sensitive. Enrico's sample is not is sorted order either so that is also a problem.
As we have found, even us programmers didn't think to try case sensitive input. So, I doubt that the users will. This is why I think it should be case insensitive.
James |
combobox | James,
Yes, you are right. In order to avoid potential users errors lets implement your fixes, thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Edited: Already implemented for next FWH build |
combobox | Hi,
the logic (cas sensitive/insensitive) should be adjustable by the developer or user, because sometimes - especially in the german language - there can be importend differences in the orthography regarding lower and upper cases <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-... |
combobox | Frank's suggestion could be useful. I suggest defaulting the class to NOT be case sensitive so it doesn't break existing code.
Below is the modified code to make case sensitive optional.
James
[code=fw:3d4u1zxm]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00C800;">DATA</span... |
combobox | James,
Implemented for next FWH build <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
combobox | I love FWH <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
combobox | Thank you James if you can find a solution
kind regards
José |
combobox | Jose,
[quote:t3uxy3ht]Thank you James if you can find a solution[/quote:t3uxy3ht]
I am not sure what you meant by that. I did find a solution.
Is the combobox now working for you or not? If not, what version of FWH are you using? Did you make the changes to TCombobox that I posted? Are you using the sample test code... |
combobox | James,
Thank you for your test code of Sun Jul 04, 2010 8:40 pm
I compiled it with my FWH 9.11 that I buyed some 6 months ago
The compiling gives no problems but the incremental search still do not work
Do I need a more recent version of FWH and so Yes, can I download it for free with my 9.11 licence?
Kind regards
Jos... |
combobox | James,
If it is a bug in his version, then there is no problem to provide him the fixed combobox <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
thanks, |
combobox | Jose,
If you will email me a copy of your COMBOBOX.PRG, I will test it here.
jbott at compuserve dot com
If I find that version doesn't work, you will need to upgrade to a new version of FWH. You can not get this for free.
Regards,
James |
combobox | James,
I simply compiled your test code
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL oCbx, cVar := ""
LOCAL aArray:= { "", "Alpha", "Pippo", "Pluto", "Paperino","Pblano" }
asort(aArray)
DEFINE DIALOG oDlg
@ 1, 1 COMBOBOX oCbx VAR cVar;
ITEMS aArray
oCbx:lIncSear... |
combobox | Jose,
I meant that I need a copy of your version of FWH's source code for the combobox. You will find this at FWH\source\classes\combobox.prg. Please send this to me, then I can test your version of FWH to see if it works with incremental searching.
James |
combobox | James
OK, I send it to jbott at compuserve dot com
kind regards
José |
combobox | José message edited.
EMG |
combobox | Jose,
The reason I spelled out my email address like this:
jbott at compuserve dot com
Is so the robots can't recognize it as an email address and harvest it and start spamming me.
James |
combobox | Dear all,
It is apparently not that easy to become an incremental searching in comboboxes?? Or not?
Kind regards
José |
combobox | Jose,
It is very easy if your version of FW supports it.
I never got your combobox.prg, did you send it?
James |
combobox | Hello James,
which version supports incremental search?
Is there a sample to test incremental search.
Best regards,
Otto |
combobox | Otto,
Incremental searching was broken in some of the older versions--I don't know which ones.
In the later versions it is case sensitive. In the next release case sensitive will be optional as incremental searching is now.
There is sample code to test incremental searching on page 2 of this thread. Also posted ther... |
combobox | Hello James,
thank you.
But I am looking for DropDown Style not DropDownList.
Best regards,
Otto |
combobox | James,
I send you already my combobox.prg version earlier but i will do it within a few minutes again to
jbott at compuserve dot com.
kind regards
José |
combobox | Dear James,
I made a new buildh.bat following your instructions (and I called it jbott.bat). The non case sensitive combobox incremental search is working perfectly now in my programs with the space bar key to begin each new search.
I thank you very much for this private support.
Perhaps you can explain on this forum h... |
combobox - bitmaps | To all,
I have problems to show bitmaps in a redefind combobox.
I tried like this:
I changed the [i:3l1wzj58]testcomb.prg[/i:3l1wzj58] from the Fivewin samples.
[code=fw:3l1wzj58]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;"... |
combobox - bitmaps | Otto,
Have you used the CBS_OWNERDRAWFIXED style in the RC file ?
Please review FWH\samples\ownerdra.prg and ownerdra.rc |
combobox - bitmaps | Antonio, thank you.
Best regards,
Otto |
combobox QUESTION- solved | [quote="elvira":2l18rfgi]Hello,
In a Combobox, how can I detect if the user clicks on the [u:2l18rfgi]same[/u:2l18rfgi] item indicated in VAR clause?.
So as something as NO CHANGE clause (opposite as ON CHANGE ...)
Thank you!!.[/quote:2l18rfgi]
You can compare the new value with the old one. There is no NO CHANGE e... |
combobox QUESTION- solved | Enrico,
Thank you but It does not work for me.
It is a question of focus. To detect when the user clicks on the combobox to the same ítem, so to show a message or change the focus to the next control. |
combobox QUESTION- solved | [quote="elvira":29djyd8a]Enrico,
Thank you but It does not work for me.
It is a question of focus. To detect when the user clicks on the combobox to the same ítem, so to show a message or change the focus to the next control.[/quote:29djyd8a]
How about use the ON CHANGE event and compare new and old values?
EMG |
combobox QUESTION- solved | Enrico,
The ON CHANGE method isn´t fired as the user did not change the ítem on the combo.
That´s the problem I find. |
combobox QUESTION- solved | [quote="elvira":1a4epgtd]Enrico,
The ON CHANGE method isn´t fired as the user did not change the ítem on the combo.
That´s the problem I find.[/quote:1a4epgtd]
Uh, it is clear now, sorry. <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( -->
EMG |
combobox QUESTION- solved | One more try: can you check bCloseUp codeblock?
EMG |
combobox QUESTION- solved | Hello,
In a Combobox, how can I detect if the user clicks on the [u:uhgdyag5]same[/u:uhgdyag5] item indicated in VAR clause?.
So as something as NO CHANGE clause (opposite as ON CHANGE ...)
Thank you!!. |
combobox QUESTION- solved | From looking at the code for TCombo it looks like bSetGet will work. See the Change() method.
James |
combobox QUESTION- solved | Hello
The bcloseup works !!. Thank You |
combobox and items numeric | can use Items numeric and numeric var in Combobox
@145, 10 DBCOMBO oNPOD VAR nNPOD;
items nTAB;
size 35,300 pixel;
list nTAB;
of oDlg update ;
WHEN lAPPEND
where
nNPOD - numeric
nTAB - {1,2,3,4,5}
best regerds
kajot |
combobox and items numeric | You cannot use numeric values in DBCombo. This is because some of the methods assume that a numeric value is a location. To change this would break existing code.
James |
combobox color | Silvio,
I couldn't find anything to fill the CELL of a combobox with a defined color.
Why not using a xBrowse, because the cell can have any size and it looks much better.
Have a look at the RGB-tool using a xBrowse as a colorpicker.
[img:2dzc4v3x]http://www.pflegeplus.com/IMAGES/Colorpick1.jpg[/img:2... |
combobox color | It possibile to make a combobox with colors?
sample to select a list of color ( the strings are formated with background color )
as this
[img:2n8rqaft]http://www.codeproject.com/KB/WPF/wpfcolorpickercombo/colorcombo_preview.jpg[/img:2n8rqaft]
it is possible in fwh ? |
combobox color | Uwe,
I made some modifies and I add others
[img:z93p6rqm]http://www.eoeo.it/wp-content/uploads/2014/10/pickcolor.jpg[/img:z93p6rqm]
it can used as a Pick color!!
I insert mine Color set and Metro colors but we can insert other colors set !!
This is the source code ( no resources)
[code=fw:z9... |
combobox color | other changes
[img:18jnxuiw]http://www.eoeo.it/wp-content/uploads/2014/10/pickcolor2.jpg[/img:18jnxuiw]
we can use it on a get action bitmap
sample :
@ 26, 186 GET aGet[3] VAR cminecolor OF oDlg SIZE 52, 12 PIXEL FONT oFont ;
BITMAP "SH_colors" [b:18jnxuiw]ACTION PickColor(... |
combobox con busqueda incremental no me funciona | Tengo fhw 15.09
No consigo que me haga una búsqueda incremental en este combobox, solo se posiciona en el cliente que pulso la tecla, no hace busqueda incremental y el cliente se ha empeñado que sea incremental en el combobox.
¿Alguna sugerencia?
[code=fw:3fhs8v42]<div class="fw" id="{CB}" style="font-family: monosp... |
combobox con busqueda incremental no me funciona | This code works for me ..
from .rc
[code=fw:rm2g3p2y]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">COMBOBOX</span> <span style="color: #000000;">149</span>, <span style="color: #000000;">55</span>, <span style="color: #000000;">53</span>, <spa... |
combobox con busqueda incremental no me funciona | [url:8u87zlru]http://fivetechsupport.com/forums/viewtopic.php?f=6&t=29340&start=15[/url:8u87zlru]
[url:8u87zlru]http://www.fivetechsupport.com/forums/viewtopic.php?f=6&t=22782[/url:8u87zlru]
[url:8u87zlru]http://fivetechsupport.com/forums/viewtopic.php?f=6&t=22346&start=0[/url:... |
combobox con busqueda incremental no me funciona | it works fine and it is very easy.
thank you, very much. |
combobox con checkbox es posible? | eso mismo.
Quiero que al desplegar un combobox los items tengan un checkbox.
gracias. |
combobox con checkbox es posible? | Pensaste en PopupBrowse
Saludos |
combobox con checkbox es posible? | No che. porque quiero que se despliegue un combobox con los checkbox para lo que necesito es mejor.
gracias. |
combobox con imagenes? | SALUDOS, se puede hacer un combobox con imagenes
osea en vez de:
@ 5, 360 COMBOBOX OBOX VAR xTC4 ITEMS {"01","02"}
algo como:
@ 5, 360 COMBOBOX OBOX VAR xTC4 ITEMS {resource1,resource2}
gracias |
combobox con imagenes? | Hola,
un ejemplo
[code=fw:2uoyvbcu]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> nGrpFtBox <span style="color: #0000ff;">ID</span> <span style="color: #000000;">114</span> <span style="col... |
combobox display | Hello
I have a problem with combobox displays (not due to recent versions).
I explain : I use tables where there is a description and an id , the table is added like this
AADD(MESVARS():TABVAR[12],ORI->LIBELLE + " " + STR(ORI->NUMERO,6) )
where there is a title and an id that i can retreive ,
i want the combobox ... |
combobox display | Is your table DBF or SQL? If it´s SQL you could try padr( ORI->LIBELLE, N ). |
combobox display | André
It is dbf
i need to know why it is not displayed "like it is" (fixed length)
Richard |
combobox display | Hello Richard
You can use Font "Courier" or "Courier New" for your Dialog "STATDLG" instead of "Tahoma"
Another solution could be, create this dialog with code and use font "courier" only for this combobox. |
combobox display | Richard,
Have you tried to replace spaces with Chr( 9 ) (tabs) ? |
combobox display | Another approach might be the way I do in my systems:
[code=fw:2k13rlya]<div class="fw" id="{CB}" style="font-family: monospace;">AADD<span style="color: #000000;">(</span>MESVARS<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #000000;">TABVAR</span><span st... |
combobox display | Thank you all for your replies
Antonio with Chr( 9 ) same i had tried it also with alt+255 (invisible character) but same result no change
Anton the font does not make a change neither , courrier , courrier new or even system no change for the whole dialog or the combobox (it an be assigned with ocombo:setfont(....)
... |
combobox display | Richard,
[quote:24c50a3l]Maybe the only solution is to have a "clone" table holding id's one will display titles the other one id's , i wanted to avoid this (do not want to change many programs).[/quote:24c50a3l]
Does the user actually need to see the IDs? It sounds like you just need them for linking. If so, you can... |
combobox en titulo de xbrowse? | hola a todos,
pues eso... hay alguna forma de hacerlo ?
Gracias
Saludos |
combobox for mod harbour | Hello,
Does someone know how to make a combined input and select field.
Best regards
Otto
[url:38nzlymh]https://winhotel.space/mm/test.prg[/url:38nzlymh]
[img:38nzlymh]https://mybergland.com/fwforum/mm.gif[/img:38nzlymh] |
combobox for mod harbour | Hello,
I found a solution.
Please test Titel-field.
<!-- m --><a class="postlink" href="https://winhotel.space/mm/test.prg">https://winhotel.space/mm/test.prg</a><!-- m -->
<!-- m --><a class="postlink" href="https://stackoverflow.com/questions/14614702/html-combo-box-with-option-to-type-an-entry/20127724">https://... |
combobox for mod harbour | Dear Otto,
You are a mod_harbour Master already <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
combobox for mod harbour | Dear Antonio,
I think more of a copy & paste man. But you gave us a power tool with mod harbor.
Please send me my Fivewin subscription bill for this new year.
Best regards
Otto |
combobox for mod harbour | Otto,
I just tested it and it's working with Edge, but not with Google Chrome <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> |
combobox for mod harbour | Dear Otto,
Many thanks for your continuous support to us along the years <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
A big hug |
combobox for mod harbour | Mark,
thank you for helping me.
What exactly is not working.
ARROW:
Do you think we need the arrow.
Isn't it an overload.
---------------------------------------------------------
Now - thanks to Andreu, I can assign a value to the combobox and save. Please test.
<!-- m --><a class="postlink" href="https://winhote... |
combobox for mod harbour | Otto,
If I click on the Titel-inputfield, I see an X, pressing that X, I get the combobox
[img:1lin0uq7]http://www.vms.be/downloads/KnipselEdge1.JPG[/img:1lin0uq7]
With chrome I don't see anything, but when I click on the right end of the imputfield (where the X is in Edge), I get the combobox.
[img:1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.