Search found 17 matches: preedit

Return to advanced search

Re: Listbox en un xbrowse

... es el array que tengo cargado. El tema esta en que el postedit, me sirve una vez editada la primera condicion, pero mi pregunta es ¿ hay un "preedit"?. Tambien existe la opcion de cargar un array para cada linea de la pantalla, pero no se como traspasarla al array de la linea en cuestion, ...
by sajarm
Fri Dec 11, 2015 10:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Listbox en un xbrowse
Replies: 19
Views: 4643

XBROWSE QUESTIONS ?

Hi all Xbrowse is going to be great class but coomplex too Why not add in xbrowse.ch ON PREEDIT (ON POSTEDIT ... ON EDIT) exist (WHEN ) exist (VALID) exist ON KEYDOWN ON KEYCHAR What is the order while evaluating ? bOnPreEdit, bOnPostEdit, bWhen, bValid, bKEyDown, bKeyChar ...
by avista
Fri Sep 05, 2014 9:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE QUESTIONS ?
Replies: 3
Views: 1104

XBROWSE bOnPreEdit

Hi,
I have a sample question

In xbrowse.ch
bOnPostEdit is included
[ ON EDIT <bOnPostEdit> ] ;

Why is not included bOnPreEdit ?
[ ON PREEDIT <bOnPretEdit> ] ;

Will it be efective if i add it in xbrowse.ch ?

Best Regards,
by avista
Sat Aug 30, 2014 12:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE bOnPreEdit
Replies: 2
Views: 509

Re: TSBrowse TXBrowse ?

... (introduced very recently) and bOnPostEdit which is existing since the first release of XBrowse. But better not to confuse them with the preedit and postedit as in Mr. Avista's example. The purpose of these codeblocks in xbrowse are basically different. bOnPostEdit: This data has been ...
by nageswaragunupudi
Tue Jan 25, 2011 6:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBrowse TXBrowse ?
Replies: 8
Views: 3074

Re: TSBrowse TXBrowse ?

... be not in a good taste to compare FWH's classes with non-FWH libraries. I confine my discusssions to FWH's own browses. Purpose of these two lines PREEDIT { | uVar| nTotal : = nToatl - uVar } ; // Before editingPOSTEDIT {| uVar | nTotal : = nToatl + uVar } // After editing  ...
by nageswaragunupudi
Mon Jan 24, 2011 7:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBrowse TXBrowse ?
Replies: 8
Views: 3074

Re: TSBrowse TXBrowse ?

Avista,

There is a oCol:bPostEdit but I don't see a b:OnPreEdit codeblock. However, as per your example, I think xbrowse can handle column totals by just using the TOTAL clause.

ADD COLUMN oCol TO oBrw ... TOTAL

Perhaps Rao can answer the preEdit question.

Regards,
James
by James Bott
Sun Jan 23, 2011 7:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBrowse TXBrowse ?
Replies: 8
Views: 3074

Re: TSBrowse TXBrowse ?

Hi, Thanks for reply I need most of all option PREEDIT action to be evaluated just bevore editing field. For example somthing like this ADD TO oBrw DATA FIELDWBLOCK( "PRICE", SELECT() ) ; HEADER "Price" SIZE 80 PICTURE "99999.99" ...
by avista
Sun Jan 23, 2011 6:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBrowse TXBrowse ?
Replies: 8
Views: 3074

TSBrowse TXBrowse ?

... but it is not part of FWH. Alternative is to continye to use TSBrowse or is possible to convert in TXBrowse. TXBrowse dont support SUPERHEADERs, PREEDIT ... ???? Possible to use code something like this ? ADD TO oBrw DATA FIELDWBLOCK( "DDOK", SELECT() ) ; HEADER "Od datum" ...
by avista
Fri Jan 21, 2011 1:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBrowse TXBrowse ?
Replies: 8
Views: 3074

Re: TSBROWSE - testar tecla pressionada antes da edição? (OK)

Hola Ubiratan: Resolvido assim: preedit {|| if(obrw:nlastkey()=13,(obrw:goright(),.f.),.t.)} Disculpa que no haya atendido tu consulta (no la había visto), tu solución me parece muy buena, también podrías usar la siguiente: oBrw:bUserKeys ...
by mmercado
Thu Apr 08, 2010 1:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TSBROWSE - testar tecla pressionada antes da edição? (OK)
Replies: 3
Views: 666

Re: TSBROWSE - testar tecla pressionada antes da edição? (OK)

Sr. Manuel,

Resolvido assim:

preedit {|| if(obrw:nlastkey()=13,(obrw:goright(),.f.),.t.)}


Muito obrigado
by MGA
Wed Apr 07, 2010 5:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TSBROWSE - testar tecla pressionada antes da edição? (OK)
Replies: 3
Views: 666

Para MMercado TSBrowse

... ALIAS "CASHFLOW" CELLED ADD COLUMN TO oBrw3 DATA FieldWBlock('FECHA',SELECT('CASHFLOW')) HEADER 'FECHA' SIZE 65 ALIGN 1,1,1 EDIT; PREEDIT dOldFec:=CASHFLOW->FECHA; POST EDIT (CALCULARSALDO(2),oBrw3:REFRESH()) ADD COLUMN TO oBrw3 DATA FieldWBlock('INGRESOS',SELECT('CASHFLOW')) ...
by JoseGS
Sun Oct 25, 2009 3:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Para MMercado TSBrowse
Replies: 0
Views: 304

... uValor3, "@!" ) } ADD COLUMN TO BROWSE obrw2 DATA ARRAY ELEMENT 2 ; SIZE 400 EDITABLE; 3DLOOK TRUE,TRUE,TRUE; ALIGN DT_LEFT MOVE DT_MOVE_NEXT ; Preedit {|uVar| fwhisproperts(obrw2,@uVar,aCidades,aTipos)}; Postedit {|| fwhtestpostedit(obrw2)} ; valid {|uVar| fwhvalcampos(uVar,obrw2,obrw3)}; when ...
by Daniel Garcia-Gil
Sat Nov 01, 2008 4:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TSBROWSE - Tipos de pictures diferente para a mesma coluna!?
Replies: 2
Views: 743

TSBROWSE - Tipos de pictures diferente para a mesma coluna!?

... dependendo da linha. ADD COLUMN TO BROWSE obrw2 DATA ARRAY ELEMENT 2 ; SIZE 400 EDITABLE; 3DLOOK TRUE,TRUE,TRUE; ALIGN DT_LEFT MOVE DT_MOVE_NEXT ; Preedit {|uVar| fwhisproperts(obrw2,@uVar,aCidades,aTipos)}; Postedit {|| obRW2:aColumns[2]:cPicture:="@!",fwhtestpostedit(obrw2)} ; valid {|uVar| fwhvalcampos(uVar,obrw2,obrw3)}; ...
by MGA
Sat Nov 01, 2008 1:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TSBROWSE - Tipos de pictures diferente para a mesma coluna!?
Replies: 2
Views: 743

TSBROWSE - COMBOBOX (resolvido) !

... ALIGN DT_RIGHT PICTURE "@!" ADD COLUMN TO BROWSE obRW2 DATA ARRAY ELEMENT 2 ; SIZE 360 EDITABLE; 3DLOOK TRUE; ALIGN DT_LEFT MOVE DT_MOVE_NEXT; Preedit {|uVar| fwhiscombobox(lnewcart,obrw2,@uVar) }; Postedit {|| obRW2:refresh(.t.) } ***************************************************** static ...
by MGA
Mon Oct 13, 2008 11:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TSBROWSE - COMBOBOX (resolvido) !
Replies: 1
Views: 750

TSBrowse Ver 8.0 - Edit:Show()

... TO oBrw2 ARRAY ELEMENT 5 ; HEADER "Method" ; COLOR CLR_BLACK,CLR_WHITE ; 3DLOOK FALSE ; ALIGN DT_CENTER, DT_CENTER ; PICTURE "!" ; SIZE 46 ; PREEDIT {|uVal| uVal := SADDOCS->s48_mthd} ; POSTEDIT {|uVal| if(uVal != nil, CheckBox47(oBrw2,uVal,5),) } ; EDITABLE MOVE DT_MOVE_NEXT // Activate ...
by David Williams
Sun Oct 05, 2008 10:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBrowse Ver 8.0 - Edit:Show()
Replies: 4
Views: 1140
Next

Return to advanced search