Search found 166 matches: ocbx

Return to advanced search

Re: Ejemplo xBrowse-MySql?

... ( oCatalogo:locate( "Codicont", substr(cVar,1,len(NIV1)),, ),oCatalogo:Refresh(), oLbx:Refresh() ) Así queda ahora REDEFINE ComboBox oCbx VAR cVar ID 109 OF oDlg ITEMS cItems ; ON CHANGE ( oCatalogo:=oServer:Query("SELECT * FROM catalogo WHERE codicont LIKE '"+substr(cVar,1,len(NIV1))+"%' ...
by FranciscoA
Mon Apr 02, 2012 6:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo xBrowse-MySql?
Replies: 7
Views: 2019

Character Search within ComboBox

... nKey, aGet[5] ) } //----------------------------------------------------------------------------// function ComboSearchItem( nKey, oCbx ) local nAt if Len( AllTrim( oCbx:oGet:GetText() ) ) == 1 if ( nAt := AScan( oCbx:aItems, { | c | Left( c, 1 ) == AllTrim( oCbx:oGet:GetText() ...
by cdmmaui
Thu Mar 08, 2012 4:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Character Search within ComboBox
Replies: 4
Views: 1087

No funciona codigo entre Clase y Funcion (2 PRG diferentes)

... oDlg, oFont, oFld, oGet[30] LOCAL cTitle, cAlias, oFecha LOCAL aStatus := { "ACTIVO", "INACTIVO", "SUSPENDIDO" }, oCbx, cStatus := "" LOCAL lGrabar := .F. DEFAULT lNuevo := .F. IF !lNuevo IF oClientes:oDbf:EOF() MsgStop ( "Error, tabla vacia" ...
by Compuin
Thu Dec 08, 2011 6:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No funciona codigo entre Clase y Funcion (2 PRG diferentes)
Replies: 0
Views: 472

Re: Combobox para llemar DBf

local aMeses := {"Enero", "Febrero", "Marzo", ...}, oCbx, cMes := ""

REDEFINE COMBOBOX oCbx VAR cMes ITEMS aMeses ID ID_MES OF oDlg
...

if lSave
ARCHIVO->CAMPO := cMes
by fernandomoralesdr
Tue Dec 06, 2011 10:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Combobox para llenar DBf
Replies: 7
Views: 1464

Altura de un ComboBox

... el bitmap de la fecha hacia abajo, el alto que me da por default es de 22, y lo deseo a 18 pixeles, como podre hacer esto? Tengo @ 10,10 COMBOBOX oCbx VAR cVar ITEMS aEdos SIZE 84,60 PIXEL OF oDlg
by noe aburto
Wed Nov 23, 2011 7:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Altura de un ComboBox
Replies: 0
Views: 289

Re: font on disabled combo

Enrico look at second combo, looks like a bold font. Thanks in advance. #include "FiveWin.ch" function Main() local oDlg, oCbx,oCbx1 local cText := " " local cText1 := "TWO" DEFINE DIALOG oDlg FROM 10, 10 TO 20, 50 ; TITLE "DropDown ComboBox Test" ...
by Wanderson
Sun Nov 20, 2011 7:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: font on disabled combo
Replies: 9
Views: 1808

Re: autocomplete in get

>Thank you. I added oCbx:lIncSearch := .t. to testcmb2.prg and does not work.

I forgot to mention that the data does need to be sorted.

>Anyway, I need a Get because the value typed on it may not be in the Array.

Then it seems that the Autoget class would be a better solution.

James
by James Bott
Tue Jun 21, 2011 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: autocomplete in get
Replies: 15
Views: 9332

Re: autocomplete in get

Thank you. I added oCbx:lIncSearch := .t. to testcmb2.prg and does not work.

Anyway, I need a Get because the value typed on it may not be in the Array.

See working example at http://jqueryui.com/demos/autocomplete/#default
by ukservice
Tue Jun 21, 2011 6:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: autocomplete in get
Replies: 15
Views: 9332

Re: 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
by Francisco Horta
Wed Jun 15, 2011 10:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMBOBOX y ESC
Replies: 1
Views: 308

Re: Problem with combo

Now I insert this

nMode =1 --> new record
nMode=2 --> modify

IF nMode==1
oCbx:Select( 1 ) ok
elseif nMode==2
nPos := AAT( aItems, cloc )
oCbx:Select( nPos ) ok
ENDIF

it run ok but when I click on combo i see all cities
by Silvio
Wed Apr 27, 2011 7:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with combo
Replies: 11
Views: 2363

Re: Problem with combo

Silvio

the sample you sent me work fine....

only added 1 line

oCbx:Select( 1 )

download sample: http://www.sitasoft.net/fivewin/samples/form.zip
by Daniel Garcia-Gil
Sun Apr 24, 2011 4:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with combo
Replies: 11
Views: 2363

Re: Problem with combo

I explain you if I insert oCbx:select(1) I can see the first element of cities of province "TE" right Now you try to save it you have saved first combo "TE" second combo "TERAMO" when you re- run the test ...
by Silvio
Sun Apr 24, 2011 3:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with combo
Replies: 11
Views: 2363

Foro, Buen dia, Refrescar un dbCombo...

... algunas cosas que mas abajo muesto, alguien tiene una idea... uso FWH 10.7... agradezo de antemano su apreciable ayuda. ReDefine ComboBox oCbx var cSt Items {"RECIBO","AMONESTACION","SIN EFECTO","OTRO..."} id 105 of oDlg ... oDbJuez:Activate() ReDefine ...
by tosko
Fri Apr 08, 2011 8:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Foro, Buen dia, Refrescar un dbCombo...
Replies: 3
Views: 769

Re: Coloring a line Solved. Now coloring an individual cell

...   //16          ,oBtn2:move(arect[3] -aRect[1]- 119,481 ,,,.t.);  //4002          ,oBtn13:move(arect[3] -aRect[1]-145,422 ,,,.t.);  //20          ,oCbx:move(arect[3]  -aRect[1]- 89,575 ,,,.t.);   //18 Transfer data          ,oCbx1:move(arect[3] -aRect[1]- 119,575 ,,,.t.);  //          ,oCbx2:move(arect[3] ...
by hag
Fri Jan 14, 2011 3:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Coloring a line Solved. Now coloring an individual cell
Replies: 15
Views: 4456

Combobox on Folder (Gradient-background) ?

... using Function Gradientbrush ( needed for Gradient-painting on Folders ). Normal Brush and Image works. To define a Background-color, I tested : oCbx:nClrText := 0 // Black oCbx:nClrPane := 16777215 // White Background and oCbx:SetColor( 0, 16777215 ) but does not work ( the Combobox is painted ...
by ukoenig
Sun Oct 24, 2010 9:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Combobox on Folder (Gradient-background) ?
Replies: 0
Views: 291
PreviousNext

Return to advanced search