... control. I have no doubt I'll figure this out tomorrow. Maybe Rao will have some ideas on a method in the control that can push this to happen. oCbx:update() and oCbx:refresh() don't do it. Meanwhile dinner is on the way. Tonight it's Chinese. Yesterday it was Mexican. Maybe tomorrow will be ...
REDEFINE COMBOBOX oCbx VAR cSource ITEMS arrTranspose( aSrc )[2] ; ON CHANGE ( cSource := aSrc[oCbx][1], oCbx:update() ) ID 2504 OF oDlg UPDATE The combobox displays the 2nd element of the array as desired, but it also returns that ...
... "Amarillo" } Local aColores:= { "bmp_1", "bmp_2" } //los colores estan en recurso REDEFINE COMBOBOX oCbx VAR oColor ; ITEMS aItems ; BITMAPS aColores ; ID 1003 ; OF oDlg ; UPDATE lo tengo asi y no me resulta saludos
Hi All, I noticed that TComboBox:nAt is not updated when GetKeyChar() hit a match ... It would be handy though ... So when user press char in oCbx:oGet and hit a match, we can retrieve other info relative to oCbx:nAt from another array... Like 'name' in oCbx:aItem to var1 and aAddr[ oCbx:nAt ...
... is not working anymore. Thanks in advance Otto #INCLUDE "FIVEWIN.CH" REQUEST DBFCDX function Main() local cItem, aItems := {} local oCbx local cCbx := "" local oCbx2 local cItem2 := "" local oDlg local oFont //----------------------------------------------------------------------------// ...
... (or) DROPWIDTH <nWidth> Sets width of drop down list box. - These settings can also be changed/reset at runtime using the SETGET datas: oCbx:nItemHeight := <nNewVal> // NIL resets to default oCbx:nSelectionHeight := <nNewVal> // NIL resets oCbx:nDropWidth := <nNewVal> ...
... Necesitas la versión más reciente de FiveWeb: https://bitbucket.org/fivetech/fiveweb Aqui genera bien el código: <select id="oCbx"> <option value="one">one</option> <option value="two" selected >two</option> <option value="three">three</option> ...