Search found 22 matches: bpostedit

Return to advanced search

Re: Editar celdas en xbrowse

Code: Select all  Expand view
WITH OBJECT oLbx:Costo
:nEditType := EDIT_GET
END
 


Please remove bPostEdit
Xbrowse internally prepares a better bPostEdit codeblock by default.
by nageswaragunupudi
Thu Aug 31, 2023 4:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Editar celdas en xbrowse
Replies: 7
Views: 561

Re: xbrowse listbox

... in xbrowse with items leading a,b,c,... Now i will press z.B. c,... , the cursor turns to the third item and the i will automatically evaluate the bPostedit and leave the listbox to next cell! the solution You are looking for :?: You can move to the next column or next row ( the sample moves to ...
by ukoenig
Mon Apr 22, 2019 3:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse listbox
Replies: 5
Views: 749

xbrowse listbox

I have a Listbox in xbrowse with items leading a,b,c,...
Now i will press z.B. c,... , the cursor turns to the third item and then i will automatically evaluate the bPostedit and leave the listbox to next cell!
Have anyone a solution for this?
by byte-one
Mon Apr 22, 2019 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse listbox
Replies: 5
Views: 749

Re: Xbrowse - EDIT_LISTBOX

Ok Mr.Rao , dejare de usar el :bPostedit y :bOnchange Cuando uso su ejemplo funciona perfectamente, pero al EDIT_LISTBOX yo le paso un array que tiene 3 elementos en cada subarray y no logro hacerlo funcionar. En la columna del browse no ...
by rterraz
Tue Feb 14, 2017 3:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Xbrowse - EDIT_LISTBOX
Replies: 4
Views: 1812

Re: xBrowse - No entiendo el error (Mr. Rao)

... field? In that case, :SetCheck( { "bmp_ok", "" }, .T. )  is all that is required. Try to avoid using bPostEdit block. 3) Is ::oDbPermi a Tdatabase object? If so, "      :bGotFocus:= {|| ::oDBPermi:SetFocus() }" is nor correct. After you reply ...
by nageswaragunupudi
Sun Jun 07, 2015 11:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse - No entiendo el error (Mr. Rao)
Replies: 21
Views: 4388

Re: Problem with ADO and xBrowse

... bOnPostEdit directly in the application program. XBrowse automatically creates this codeblock. This is reliable and works without errors. Use of bPostEdit is deprecated years back. (Many years back using this codeblock was necessary). You wanted that once a column is edited, another field is ...
by nageswaragunupudi
Thu Oct 09, 2014 3:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with ADO and xBrowse
Replies: 6
Views: 1192

Re: Programa.Exe dejo de funcionar

... ventanas/dialogos no le da tiempo a que concluya las tareas (guardar la informacion, cerrar los archivos, etc. que incluyo en el valid y/o en el :bPostEdit) pero no se como impedir que cierre la siguiente ventana antes de concluir con la anterior. Inclui el SYSREFRESH() tanto al inicio del valid ...
by RodolfoRBG
Tue May 14, 2013 4:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Programa.Exe dejo de funcionar
Replies: 4
Views: 856

Antonio: Some Little Bugs

... 1: In Combobox with style CBS_DROPDOWN (with Get) the font becomes big if the combobox are setting to "disabled". 2: On gets with oGet:bPostedit := {|,cBuffer| } the cBuffer becomes NIL if the len of the get-variable is reached and another key is pressed. 3: In Combobox method ::set() ...
by byte-one
Mon Nov 05, 2012 2:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Some Little Bugs
Replies: 8
Views: 1676

Re: TSBrowse TXBrowse ?

... command or lAutoCols / aCols are specified in SetRDD() like methods. If we create columns with oBrw:AddCol() method, we need to provide our own bPostEdit block. The default codeblocks created by XBrowse are well tested and appropriate for the datasource. Using xbrowse's inbuilt facility makes ...
by nageswaragunupudi
Tue Jan 25, 2011 6:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBrowse TXBrowse ?
Replies: 8
Views: 3076

Re: TSBrowse TXBrowse ?

Rao,

Thanks for that very detailed description of xBrowse.

I do have a question. It seems that bOnChange is evaluated post editing just like bPostEdit, correct? And so there is no way to do a pre-edit?

Regards,
James
by James Bott
Mon Jan 24, 2011 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSBrowse TXBrowse ?
Replies: 8
Views: 3076

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: 3076

Re: TXBrowse -> Se ejecuta 2 veces ::bEditValid ?

... del Get, el valid hace su trabajo no dejando salir de edicion hasta que se cumpla la condicion, cuando sale de la edicion ahora se ejecuta el bPostEdit que este a su vez manipula el objeto GET que tiene contenido el valid, por eso se ejecuta 2 veces, en GET y en el PostEdit Sugerencia... No ...
by Daniel Garcia-Gil
Wed Jun 24, 2009 10:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TXBrowse -> Se ejecuta 2 veces ::bEditValid ?
Replies: 3
Views: 1300

Re: setLastkey(0) ?

... worth the effort. I have never found the need for the use of lastkey() except with the GET and even that is not needed now since we now have oGet:bPostEdit which does contain that lastkey typed. From your description of the behavior you want, it sounds like you just need to use the backspace key. ...
by James Bott
Tue Jan 13, 2009 2:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: setLastkey(0) ? ( Solved! )
Replies: 17
Views: 2263

xBrowse SetCheck,Bitmap Column and bEditValue

... key once again for the bitmap to change. Is there any way to avoid this cursor from appearing in the screen. I think the trick is somewhere with bPostEdit or bEditValue, but I could not find out as I am not an expert in xBrowse Here is the code which I have used. @ 0,100 XBROWSE oBrwMenu ; COLUMNS ...
by anserkk
Tue Dec 16, 2008 12:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse SetCheck,Bitmap Column and bEditValue
Replies: 13
Views: 2717

Edit fields in TxBrowse

I am using a 3-column TxBrowse and I'd like to edit the three fields of a register, one after the other. For that, I am using three bPostEdit, one for each column: bPostEdit1 := {|o,v,n| iif( n != VK_ESCAPE, ::SaveField(1,v),)} bPostEdit2 := {|o,v,n| ...
by Rafael Clemente
Wed Jul 02, 2008 8:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Edit fields in TxBrowse
Replies: 2
Views: 562
Next

Return to advanced search